From: Alexander von Gluck Date: 2010-01-27T05:26:02+09:00 Subject: [ruby-core:27858] [Bug #2641] Seg fault running miniruby during ruby build on Haiku Issue #2641 has been updated by Alexander von Gluck. a quick note.. still not sure if it is a Haiku or Ruby issue. Here is a gdb backtrace of the seg fault... GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-pc-haiku"... [tcsetpgrp failed in terminal_inferior: Invalid Argument] Thread 8823 caused an exception: Segment violation Reading symbols from /boot/system/runtime_loader...done. Loaded symbols for /boot/system/runtime_loader Reading symbols from /boot/system/lib/gcc4/libroot.so...done. Loaded symbols for /boot/system/lib/gcc4/libroot.so [tcsetpgrp failed in terminal_inferior: Invalid Argument] [Switching to team ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./too (8822) thread pthread func (8823)] 0x002471ee in report_bug (file=0xffffffff
, line=-1, fmt=0x365d05 "%s: %s (%s)", args=0x70004f38 "S\2068") at error.c:216 216 { (gdb) bt #0 0x002471ee in report_bug ( file=0xffffffff
, line=-1, fmt=0x365d05 "%s: %s (%s)", args=0x70004f38 "S\2068") at error.c:216 #1 0x00247392 in rb_bug (fmt=0x365d05 "%s: %s (%s)") at error.c:245 #2 0x0024797b in rb_bug_errno (mesg=0x388653 "thread_timer/timedwait", errno_arg=3704403) at error.c:259 #3 0x0035ed6f in thread_timer (dummy=0x0) at thread_pthread.c:769 #4 0x004020fb in pthread_thread_entry () from /boot/system/lib/gcc4/libroot.so #5 0x70004fec in ?? () ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2641 ---------------------------------------- http://redmine.ruby-lang.org