[#3419] Valgrind analysis of [BUG] unknown node type 0 — Andrew Walrond <andrew@...>

Hello list,

19 messages 2004/09/17
[#3422] Re: Valgrind analysis of [BUG] unknown node type 0 — ts <decoux@...> 2004/09/17

>>>>> "A" == Andrew Walrond <andrew@walrond.org> writes:

[#3423] Re: Valgrind analysis of [BUG] unknown node type 0 — Andrew Walrond <andrew@...> 2004/09/17

On Friday 17 Sep 2004 12:01, ts wrote:

[#3424] Re: Valgrind analysis of [BUG] unknown node type 0 — ts <decoux@...> 2004/09/17

>>>>> "A" == Andrew Walrond <andrew@walrond.org> writes:

[#3425] Re: Valgrind analysis of [BUG] unknown node type 0 — Andrew Walrond <andrew@...> 2004/09/17

On Friday 17 Sep 2004 12:37, ts wrote:

[#3426] Re: Valgrind analysis of [BUG] unknown node type 0 — ts <decoux@...> 2004/09/17

>>>>> "A" == Andrew Walrond <andrew@walrond.org> writes:

[#3428] Re: Valgrind analysis of [BUG] unknown node type 0 — Andrew Walrond <andrew@...> 2004/09/17

On Friday 17 Sep 2004 13:05, ts wrote:

[#3429] Re: Valgrind analysis of [BUG] unknown node type 0 — ts <decoux@...> 2004/09/17

>>>>> "A" == Andrew Walrond <andrew@walrond.org> writes:

Threads, serial ports and Linux don't mix

From: Brian Candler <B.Candler@...>
Date: 2004-09-09 13:17:35 UTC
List: ruby-core #3366
I raised an issue on ruby-talk which relates to the core engine, but nobody
commented on it there:

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/111331
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/111330

In summary: trying to write data to a serial port hangs if you do it within
a 'Thread.new' block, but works otherwise. It happens under Linux (RH9.0,
kernel 2.4.20-8), but not FreeBSD 5.2.1-RELEASE. There is sample code to
reproduce the problem at the above links.

This applies to both Ruby-1.8.1 and Ruby-1.8.2-preview2. Does anyone have an
explanation of the problem, and/or whether a workaround is possible?

Thanks,

Brian Candler.

In This Thread

Prev Next