[#1579] arity bug? — "Christoph" <chr_news@...>
Hi,
5 messages
2003/10/05
[#1588] FreeBSD problem with processes — Laurent Sansonetti <pinux@...>
Hi all,
1 message
2003/10/07
[#1591] Re: Yielding to a block from a proc? — george.marrows@...
> > Is this right? Is this pathological? Is it a bug? Is there
6 messages
2003/10/08
[#1596] PATCH: Revive NextStep, OpenStep, Rhapsody ports — Eric Sunshine <sunshine@...>
Hello,
7 messages
2003/10/09
[#1597] Re: PATCH: Revive NextStep, OpenStep, Rhapsody ports
— matz@... (Yukihiro Matsumoto)
2003/10/09
Hi,
[#1600] CVS access — Sean Russell <ser@...>
Hiya,
8 messages
2003/10/09
[#1611] set_trace_func/Array#fetch error — "Nathaniel Talbott" <nathaniel@...>
I've reduced the error I reported in ruby-talk:84013 to the following code:
17 messages
2003/10/11
[#1612] Re: set_trace_func/Array#fetch error
— ts <decoux@...>
2003/10/11
>>>>> "N" == Nathaniel Talbott <nathaniel@talbott.ws> writes:
[#1616] Re: set_trace_func/Array#fetch error
— "Nathaniel Talbott" <nathaniel@...>
2003/10/11
ts [mailto:decoux@moulon.inra.fr] wrote:
[#1617] Re: set_trace_func/Array#fetch error
— ts <decoux@...>
2003/10/11
>>>>> "N" == Nathaniel Talbott <nathaniel@talbott.ws> writes:
[#1618] Re: set_trace_func/Array#fetch error
— "Nathaniel Talbott" <nathaniel@...>
2003/10/11
ts [mailto:decoux@moulon.inra.fr] wrote:
[#1634] stringy range bug — "Christoph" <chr_news@...>
Hi,
6 messages
2003/10/15
[#1640] SystemStackError in embedding — Sentinel <sentinel27@...>
Hi, I am just now trying to embed ruby into my apprication
8 messages
2003/10/18
FreeBSD problem with processes
From:
Laurent Sansonetti <pinux@...>
Date:
2003-10-07 14:05:36 UTC
List:
ruby-core #1588
Hi all,
I noticed a weird problem when starting processes after loading both
Ruby/GTK2 and PTY extensions:
$ cat crash.rb
require 'gtk2'
require 'pty'
`test`
$ ruby crash.rb
Fatal error 'Unable to read from thread kernel pipe' at line 1100 in
file /usr/src/lib/libc_r/uthread/uthread_kern.c (errno = 0)
Abort trap (core dumped)
It does not crash if I comment any 'require' line.
$ uname -a
FreeBSD natalie 5.1-RELEASE FreeBSD 5.1-RELEASE #1: Sat Sep 6 13:12:23
GMT 2003 root@natalie:/usr/src/sys/i386/compile/NATALIE i386
$ ruby -v
ruby 1.8.0 (2003-08-04) [i386-freebsd5]
Here is GDB's bt:
(gdb) bt
#0 0x281ac3e3 in kill () from /usr/lib/libc.so.5
#1 0x282171ec in abort () from /usr/lib/libc.so.5
#2 0x284b7145 in _thread_exit () from /usr/lib/libc_r.so.5
#3 0x284b4f55 in _thread_kern_sig_undefer () from /usr/lib/libc_r.so.5
#4 0x284b4694 in _thread_kern_sched_state_unlock () from
/usr/lib/libc_r.so.5
#5 0x284b4050 in _thread_kern_scheduler () from /usr/lib/libc_r.so.5
--
I'm really confused about this problem. I know it's related to
FreeBSD's libc_r library, but I don't know how to investigate further.
Any advice on how to debug and fix this?
Thanks in advance,
--
{ "Laurent" => "http://lrz.samika.net" }