Issue #3804 has been updated by Shota Fukumori.

Status changed from Open to Feedback

could you paste log by CrashReporter on OSX(Darwin)?

It's located in ~/Library/Logs/CrashReporter/ruby-*.log

See Also: http://redmine.ruby-lang.org/projects/ruby/wiki/HowToReport
----------------------------------------
Bug #3804: ruby crashed while running spork
http://redmine.ruby-lang.org/issues/3804

Author: Mathieu Arnold
Status: Feedback
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]


=begin
 /Users/mat/.rvm/gems/ruby-1.9.2-p0@dns/gems/spork-0.8.4/lib/spork/forker.rb:50: [BUG] pthread_mutex_lock: Invalid argument (EINVAL)
 ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]
 
 -- control frame ----------
 c:0012 p:---- s:0045 b:0045 l:000044 d:000044 CFUNC  :raise
 c:0011 p:0083 s:0041 b:0041 l:0021b0 d:0021b0 METHOD /Users/mat/.rvm/gems/ruby-1.9.2-p0@dns/gems/spork-0.8.4/lib/spork/forker.rb:50
 c:0010 p:0055 s:0037 b:0037 l:001ee0 d:001ee0 METHOD /Users/mat/.rvm/gems/ruby-1.9.2-p0@dns/gems/spork-0.8.4/lib/spork/run_strategy/forking.rb:17
 c:0009 p:0023 s:0031 b:0031 l:000030 d:000030 METHOD /Users/mat/.rvm/gems/ruby-1.9.2-p0@dns/gems/spork-0.8.4/lib/spork/server.rb:47
 c:0008 p:0098 s:0025 b:0025 l:000024 d:000024 METHOD /Users/mat/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/drb/drb.rb:1558
 c:0007 p:0146 s:0021 b:0021 l:000020 d:000020 METHOD /Users/mat/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/drb/drb.rb:1518
 c:0006 p:0042 s:0017 b:0017 l:0010e8 d:000016 BLOCK  /Users/mat/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/drb/drb.rb:1592
 c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH
 c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC  :loop
 c:0003 p:0068 s:0007 b:0007 l:0010e8 d:000006 BLOCK  /Users/mat/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/drb/drb.rb:1588
 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
 c:0001 p:---- s:0002 b:0002 l:000001 d:000001 TOP   
 ---------------------------
 -- Ruby level backtrace information ----------------------------------------
 /Users/mat/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/drb/drb.rb:1588:in `block in main_loop'
 /Users/mat/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/drb/drb.rb:1588:in `loop'
 /Users/mat/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/drb/drb.rb:1592:in `block (2 levels) in main_loop'
 /Users/mat/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/drb/drb.rb:1518:in `perform'
 /Users/mat/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/drb/drb.rb:1558:in `perform_without_block'
 /Users/mat/.rvm/gems/ruby-1.9.2-p0@dns/gems/spork-0.8.4/lib/spork/server.rb:47:in `run'
 /Users/mat/.rvm/gems/ruby-1.9.2-p0@dns/gems/spork-0.8.4/lib/spork/run_strategy/forking.rb:17:in `run'
 /Users/mat/.rvm/gems/ruby-1.9.2-p0@dns/gems/spork-0.8.4/lib/spork/forker.rb:50:in `result'
 /Users/mat/.rvm/gems/ruby-1.9.2-p0@dns/gems/spork-0.8.4/lib/spork/forker.rb:50:in `raise'
 
 -- C level backtrace information -------------------------------------------
 0   libruby.1.9.1.dylib                 0x000000010017f9f2 rb_vm_bugreport + 210
 1   libruby.1.9.1.dylib                 0x0000000100039d24 report_bug + 372
 2   libruby.1.9.1.dylib                 0x0000000100039ee8 rb_bug + 200
 3   libruby.1.9.1.dylib                 0x000000010003a50e rb_bug_errno + 1566
 4   libruby.1.9.1.dylib                 0x000000010018551a thread_raise_m + 186
 5   libruby.1.9.1.dylib                 0x00000001001654a7 vm_call_method + 983
 6   libruby.1.9.1.dylib                 0x0000000100168235 vm_exec_core + 8293
 7   libruby.1.9.1.dylib                 0x000000010016fe73 vm_exec + 1507
 8   libruby.1.9.1.dylib                 0x000000010017cee1 loop_i + 545
 9   libruby.1.9.1.dylib                 0x000000010003ee87 rb_rescue2 + 519
 10  libruby.1.9.1.dylib                 0x0000000100161c66 rb_f_loop + 54
 11  libruby.1.9.1.dylib                 0x00000001001654a7 vm_call_method + 983
 12  libruby.1.9.1.dylib                 0x0000000100168235 vm_exec_core + 8293
 13  libruby.1.9.1.dylib                 0x000000010016fe73 vm_exec + 1507
 14  libruby.1.9.1.dylib                 0x00000001001711aa rb_vm_invoke_proc + 842
 15  libruby.1.9.1.dylib                 0x00000001001874b5 thread_start_func_2 + 1669
 16  libruby.1.9.1.dylib                 0x000000010018764d thread_start_func_1 + 29
 17  libSystem.B.dylib                   0x00007fff85945456 _pthread_start + 331
 18  libSystem.B.dylib                   0x00007fff85945309 thread_start + 13
 
 [NOTE]
 You may have encountered a bug in the Ruby interpreter or extension libraries.
 Bug reports are welcome.
 For details: http://www.ruby-lang.org/bugreport.html
 
 Abort trap
=end



-- 
http://redmine.ruby-lang.org