From: "James M. Lawrence" Date: 2009-02-16T05:05:46+09:00 Subject: [ruby-core:22158] [Bug #657] Thread.new { fork } Issue #657 has been updated by James M. Lawrence. % ./ruby -e 'Thread.new { fork }' % killall ruby [BUG] pthread_mutex_lock: 22 ruby 1.9.2dev (2009-02-16 trunk 22334) [i386-darwin9.6.0] -- control frame ---------- --------------------------- -- C level backtrace information ------------------------------------------- 0x133e2a 0 ruby 0x00133e2a rb_vm_bugreport + 138 0x2b41e 1 ruby 0x0002b41e rb_warning + 479 0x2b482 2 ruby 0x0002b482 rb_bug + 54 0x133f46 3 ruby 0x00133f46 rb_vm_bugreport + 422 0x134dc6 4 ruby 0x00134dc6 ruby_stack_overflowed_p + 416 0x137c3a 5 ruby 0x00137c3a rb_gc_save_machine_context + 177 0x134abf 6 ruby 0x00134abf ruby_init_stack + 2259 0x960c3095 7 libSystem.B.dylib 0x960c3095 _pthread_start + 321 0x960c2f52 8 libSystem.B.dylib 0x960c2f52 thread_start + 34 [NOTE] You may encounter a bug of Ruby interpreter. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html % atos -o ./ruby -f hex rb_vm_bugreport (in ruby) report_bug (in ruby) rb_bug (in ruby) native_mutex_lock (in ruby) rb_thread_interrupt (in ruby) timer_thread_function (in ruby) thread_timer (in ruby) 0x960c3095 0x960c2f52 Same error and trace for branches/ruby_1_9_1. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/657 ---------------------------------------- http://redmine.ruby-lang.org