<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/kildclient/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/kildclient/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/kildclient/bugs/</id><updated>2022-06-18T12:01:41.869000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>#26 segfault when create thread in plugin(perl)</title><link href="https://sourceforge.net/p/kildclient/bugs/26/?limit=25#26ee" rel="alternate"/><published>2022-06-18T12:01:41.869000Z</published><updated>2022-06-18T12:01:41.869000Z</updated><author><name>Eduardo M Kalinowski</name><uri>https://sourceforge.net/u/ekalin/</uri></author><id>https://sourceforge.net97bad12c852cab559bef24010ac5352641aadf88</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-fixed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; v1.0 (example)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#26 segfault when create thread in plugin(perl)</title><link href="https://sourceforge.net/p/kildclient/bugs/26/?limit=25#e214" rel="alternate"/><published>2022-06-18T12:01:25.659000Z</published><updated>2022-06-18T12:01:25.659000Z</updated><author><name>Eduardo M Kalinowski</name><uri>https://sourceforge.net/u/ekalin/</uri></author><id>https://sourceforge.netfbdf6e2c7bb85a43cb2524c9f7a4f27920ca2112</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Even though I didn't do anything specific to treat this bug, your code now works, and I was able to confirm it is running in the background. Maybe changes in libperl or the fact that now KC itself is multi-threaded.&lt;/p&gt;
&lt;p&gt;That said, starting threads in Perl is something that has not been test, and there might be unexpected effects, including crashes. So I'd call it an unsupported feature.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#32 Broken $::world-&gt;trigger() calls (part 2)</title><link href="https://sourceforge.net/p/kildclient/bugs/32/?limit=25#34e0" rel="alternate"/><published>2022-06-18T11:53:26.440000Z</published><updated>2022-06-18T11:53:26.440000Z</updated><author><name>Eduardo M Kalinowski</name><uri>https://sourceforge.net/u/ekalin/</uri></author><id>https://sourceforge.neta3d7caacd61651418db3df709993d60536657368</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open-accepted --&amp;gt; closed-fixed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; v1.0 (example)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#32 Broken $::world-&gt;trigger() calls (part 2)</title><link href="https://sourceforge.net/p/kildclient/bugs/32/?limit=25#5d25" rel="alternate"/><published>2022-06-18T11:53:13.093000Z</published><updated>2022-06-18T11:53:13.093000Z</updated><author><name>Eduardo M Kalinowski</name><uri>https://sourceforge.net/u/ekalin/</uri></author><id>https://sourceforge.net8cf949ca690f1b09f97785812844123a5775d823</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Since the encoding pragma does not exist anymore, the code in ex6.pl now works as expected.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#34 Crahes and patches</title><link href="https://sourceforge.net/p/kildclient/bugs/34/?limit=25#35cf" rel="alternate"/><published>2022-06-18T11:45:44.014000Z</published><updated>2022-06-18T11:45:44.014000Z</updated><author><name>Eduardo M Kalinowski</name><uri>https://sourceforge.net/u/ekalin/</uri></author><id>https://sourceforge.netc035b96292dd789204f926639c3cdd2aa1817a23</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-fixed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; v1.0 (example)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#40 Segmentation fault on $::world-&gt;alias call</title><link href="https://sourceforge.net/p/kildclient/bugs/40/?limit=25#0c8e" rel="alternate"/><published>2022-06-18T11:42:56.200000Z</published><updated>2022-06-18T11:42:56.200000Z</updated><author><name>Eduardo M Kalinowski</name><uri>https://sourceforge.net/u/ekalin/</uri></author><id>https://sourceforge.netfaa274a28269a624528ed8c8bd54bc05a951df6e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-works-for-me&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; v1.0 (example)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#43 Trigger causes text to display out of order</title><link href="https://sourceforge.net/p/kildclient/bugs/43/?limit=25#8fbd" rel="alternate"/><published>2022-06-18T11:40:28.573000Z</published><updated>2022-06-18T11:40:28.573000Z</updated><author><name>Eduardo M Kalinowski</name><uri>https://sourceforge.net/u/ekalin/</uri></author><id>https://sourceforge.net795014896c0dbccac19091eca3f702a02eefb365</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; wont-fix&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#43 Trigger causes text to display out of order</title><link href="https://sourceforge.net/p/kildclient/bugs/43/?limit=25#2154" rel="alternate"/><published>2022-06-18T11:40:13.549000Z</published><updated>2022-06-18T11:40:13.549000Z</updated><author><name>Eduardo M Kalinowski</name><uri>https://sourceforge.net/u/ekalin/</uri></author><id>https://sourceforge.netf44e3c1d332623c05ae79a4f78c43de97065dc9e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I've looked again at this issue and, as mentioned before, the problem is that channels adds a trigger that captures every line, suppresses normal processing, and feeds it to a Perl function (that in most cases prints the line). Your trigger is run before the channels trigger, and it only changes the styling of the line, which is printed using the regular line-processing code (that is, receive the line and print it.)&lt;/p&gt;
&lt;p&gt;(The fact that it's a highlight is not important - the same problem can be seen with a trigger that sends something back to the server, or even a trigger that uses Perl, as long as it's not a gag trigger.)&lt;/p&gt;
&lt;p&gt;Some years ago some big changes were made to make KildClient more responsive by using multiple threads. This unfortunately can add some concurrency problems such as this one. Not having to use Perl as a trigger action means that the line matched by your trigger finishes processing earlier and is printed out of order.&lt;/p&gt;
&lt;p&gt;Unfortunately changing that would require some very extensive and complicated changes, so I'm marking this as won't fix. But there is a workaround, even if you need the channels plugin or a similar functionality : if you use Perl in your trigger, it'll use the same processing pathway as the other lines, and everything will be in proper order again.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#45 SB TERMTYPE answer followed by NUL byte</title><link href="https://sourceforge.net/p/kildclient/bugs/45/?limit=25#4e35" rel="alternate"/><published>2022-06-10T17:29:21.890000Z</published><updated>2022-06-10T17:29:21.890000Z</updated><author><name>Eduardo M Kalinowski</name><uri>https://sourceforge.net/u/ekalin/</uri></author><id>https://sourceforge.netea04843d7a4739b883a5d7c9cd6cc5c0fab87750</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-fixed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Eduardo M Kalinowski&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#45 SB TERMTYPE answer followed by NUL byte</title><link href="https://sourceforge.net/p/kildclient/bugs/45/?limit=25#f4c3" rel="alternate"/><published>2022-06-10T17:28:59.523000Z</published><updated>2022-06-10T17:28:59.523000Z</updated><author><name>Eduardo M Kalinowski</name><uri>https://sourceforge.net/u/ekalin/</uri></author><id>https://sourceforge.netab61a1c916ccbbcdf4b41192a5e7751a60d2880b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Fixed in b8978e0&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>