From: "Berger, Daniel" Date: 2003-12-10T06:29:25+09:00 Subject: Re: Segfault in 1.8.1p3 > -----Original Message----- > From: Nathaniel Talbott [mailto:nathaniel@talbott.ws] > Sent: Tuesday, December 09, 2003 2:07 PM > To: ruby-talk ML > Subject: Re: Segfault in 1.8.1p3 > > > On Dec 9, 2003, at 08:24, Nathaniel Talbott wrote: > > > Unfortunately, I don't have much information at this point, > but here's > > what I do have: > > > > [2003-12-08 12:55:39] INFO WEBrick::HTTPServer#start: pid=22231 > > port=2222 > > /usr/lib/ruby/1.8/timeout.rb:47: [BUG] Segmentation fault > > ruby 1.8.1 (2003-12-05) [i386-linux] > > > > timeout.rb line 47 seems innocuous enough; it simply kills > the timeout > > thread if it is still running. Any ideas? > > > > If I discover anything else, I'll let you know (although, of course, > > it only happens under load :-/ ). > > The segfault occurs at inconsistent times (sometimes almost > twice in a > row, sometimes it'll go hours), and in inconsistent places > (I've had it > segfault in timeout.rb and in various WEBrick files). > > I've managed to coax a backtrace out of it: > > (gdb) bt > #0 0x409db64c in ?? () > #1 0x400e81e1 in siglongjmp () from /lib/libc.so.6 > #2 0x400e814c in siglongjmp () from /lib/libc.so.6 > #3 0x40022426 in longjmp () from /lib/libpthread.so.0 What options did you build Ruby with? Dan