Issue #4927 has been updated by Motohiro KOSAKI.

Status changed from Open to Assigned
Assignee set to Yusuke Endoh

> Could you try this patch?
 
I have no luck. crashed again.

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x00007fff885225d6 __kill + 10
1   libSystem.B.dylib             	0x00007fff885c2cde abort + 83
2   libruby.1.9.1.dylib           	0x000000010003e27d 0x100003000 + 242301
3   libruby.1.9.1.dylib           	0x0000000100106ac4 0x100003000 + 1063620
4   libSystem.B.dylib             	0x00007fff8853466a _sigtramp + 26
5   libruby.1.9.1.dylib           	0x000000010010f4cb st_foreach + 27 (st.c:741)
6   coverage.bundle               	0x00000001003d1c63 rb_coverage_result + 67 (coverage.c:64)
7   libruby.1.9.1.dylib           	0x00000001001839d3 vm_call_method + 931 (vm_insnhelper.c:404)
8   libruby.1.9.1.dylib           	0x0000000100172f5e vm_exec_core + 20270 (insns.def:1012)
9   libruby.1.9.1.dylib           	0x00000001001782f3 vm_exec + 1459 (vm.c:1180)
10  libruby.1.9.1.dylib           	0x0000000100179d4a vm_call0 + 1290 (vm_eval.c:66)
11  libruby.1.9.1.dylib           	0x00000001000486a9 rb_method_call + 361 (proc.c:1426)
12  libruby.1.9.1.dylib           	0x00000001001839d3 vm_call_method + 931 (vm_insnhelper.c:404)
13  libruby.1.9.1.dylib           	0x0000000100172f5e vm_exec_core + 20270 (insns.def:1012)
14  libruby.1.9.1.dylib           	0x00000001001782f3 vm_exec + 1459 (vm.c:1180)
15  libruby.1.9.1.dylib           	0x000000010017965d rb_vm_invoke_proc + 877 (vm.c:591)
16  libruby.1.9.1.dylib           	0x0000000100183ddf vm_call_method + 1967 (vm_insnhelper.c:428)
17  libruby.1.9.1.dylib           	0x000000010017367e vm_exec_core + 22094 (insns.def:1048)
18  libruby.1.9.1.dylib           	0x00000001001782f3 vm_exec + 1459 (vm.c:1180)
19  libruby.1.9.1.dylib           	0x0000000100186610 rb_yield + 640 (vm.c:591)
20  libruby.1.9.1.dylib           	0x0000000100012191 rb_ary_collect + 113 (array.c:2220)
21  libruby.1.9.1.dylib           	0x00000001001839d3 vm_call_method + 931 (vm_insnhelper.c:404)
22  libruby.1.9.1.dylib           	0x0000000100172f5e vm_exec_core + 20270 (insns.def:1012)
23  libruby.1.9.1.dylib           	0x00000001001782f3 vm_exec + 1459 (vm.c:1180)
24  libruby.1.9.1.dylib           	0x0000000100186610 rb_yield + 640 (vm.c:591)
25  libruby.1.9.1.dylib           	0x0000000100012191 rb_ary_collect + 113 (array.c:2220)
26  libruby.1.9.1.dylib           	0x00000001001839d3 vm_call_method + 931 (vm_insnhelper.c:404)
27  libruby.1.9.1.dylib           	0x0000000100172f5e vm_exec_core + 20270 (insns.def:1012)
28  libruby.1.9.1.dylib           	0x00000001001782f3 vm_exec + 1459 (vm.c:1180)
29  libruby.1.9.1.dylib           	0x00000001001785eb rb_iseq_eval_main + 507 (vm.c:1422)
30  libruby.1.9.1.dylib           	0x00000001000430a2 ruby_exec_internal + 178 (eval.c:201)
31  libruby.1.9.1.dylib           	0x0000000100045dcc ruby_run_node + 60 (eval.c:248)
32  ruby-trunk                    	0x0000000100000ecf main + 79 (main.c:40)
33  ruby-trunk                    	0x0000000100000e74 start + 52

Thread 1:
0   libSystem.B.dylib             	0x00007fff8850ef8a __semwait_signal + 10
1   libSystem.B.dylib             	0x00007fff88512da1 _pthread_cond_wait + 1286
2   libruby.1.9.1.dylib           	0x0000000100190236 thread_timer + 198 (thread_pthread.c:295)
3   libSystem.B.dylib             	0x00007fff8850d4f6 _pthread_start + 331
4   libSystem.B.dylib             	0x00007fff8850d3a9 thread_start + 13

Thread 2:
0   libSystem.B.dylib             	0x00007fff884de986 read + 10
1   libruby.1.9.1.dylib           	0x00000001001917b9 rb_thread_io_blocking_region + 185 (thread.c:1138)
2   libruby.1.9.1.dylib           	0x0000000100066644 io_fillbuf + 116 (io.c:1227)
3   libruby.1.9.1.dylib           	0x00000001000747ad rb_io_getline_1 + 3341 (io.c:2410)
4   libruby.1.9.1.dylib           	0x0000000100074edc rb_io_gets_m + 44 (io.c:2591)
5   libruby.1.9.1.dylib           	0x00000001001839d3 vm_call_method + 931 (vm_insnhelper.c:404)
6   libruby.1.9.1.dylib           	0x0000000100172f5e vm_exec_core + 20270 (insns.def:1012)
7   libruby.1.9.1.dylib           	0x00000001001782f3 vm_exec + 1459 (vm.c:1180)
8   libruby.1.9.1.dylib           	0x000000010017965d rb_vm_invoke_proc + 877 (vm.c:591)
9   libruby.1.9.1.dylib           	0x0000000100192dec thread_start_func_2 + 1708 (thread.c:447)
10  libruby.1.9.1.dylib           	0x0000000100193018 thread_start_func_1 + 104 (thread_pthread.c:621)
11  libSystem.B.dylib             	0x00007fff8850d4f6 _pthread_start + 331
12  libSystem.B.dylib             	0x00007fff8850d3a9 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x000000000000000b  rcx: 0x0000000100344968  rdx: 0x0000000000000000
  rdi: 0x0000000000011d75  rsi: 0x0000000000000006  rbp: 0x0000000100344980  rsp: 0x0000000100344968
   r8: 0x00007fff70f2da40   r9: 0x0000000000000000  r10: 0x00007fff8851e616  r11: 0xffffff80002e4730
  r12: 0x0000000100344990  r13: 0x00000001001a59ef  r14: 0x0000000000000000  r15: 0x000000010083dfc8
  rip: 0x00007fff885225d6  rfl: 0x0000000000000202  cr2: 0x00007fff70f25120


----------------------------------------
Bug #4927: crash on test/coverage/test_coverage.rb
http://redmine.ruby-lang.org/issues/4927

Author: Motohiro KOSAKI
Status: Assigned
Priority: Normal
Assignee: Yusuke Endoh
Category: core
Target version: 1.9.3
ruby -v: -


test-all w/ --gc-stress got crash on may mac os x.

% time make test-all TESTS="-v -q -j8 --gc-stress"


/Users/kosaki/ruby/test/coverage/test_coverage.rb:11: [BUG] Segmentation fault
ruby 1.9.3dev (2011-06-26 trunk 32229) [x86_64-darwin10.7.4]

-- Control frame information -----------------------------------------------
c:0021 p:---- s:0090 b:0090 l:000089 d:000089 CFUNC  :result
c:0020 p:0033 s:0087 b:0087 l:000086 d:000086 METHOD /Users/kosaki/ruby/test/coverage/test_coverage.rb:11
c:0019 p:0063 s:0083 b:0083 l:000060 d:000060 METHOD /Users/kosaki/ruby/lib/minitest/unit.rb:948
c:0018 p:---- s:0077 b:0077 l:000076 d:000076 FINISH
c:0017 p:---- s:0075 b:0075 l:000074 d:000074 CFUNC  :call
c:0016 p:0065 s:0071 b:0071 l:000638 d:000070 LAMBDA /Users/kosaki/ruby/lib/test/unit.rb:198
c:0015 p:---- s:0067 b:0067 l:000066 d:000066 FINISH
c:0014 p:0025 s:0065 b:0065 l:000064 d:000064 METHOD /Users/kosaki/ruby/lib/test/unit/testcase.rb:17
c:0013 p:0090 s:0061 b:0061 l:000049 d:000060 BLOCK  /Users/kosaki/ruby/lib/minitest/unit.rb:787
c:0012 p:---- s:0055 b:0055 l:000054 d:000054 FINISH
c:0011 p:---- s:0053 b:0053 l:000052 d:000052 CFUNC  :map
c:0010 p:0124 s:0050 b:0050 l:000049 d:000049 METHOD /Users/kosaki/ruby/lib/minitest/unit.rb:780
c:0009 p:0139 s:0042 b:0042 l:001f80 d:001f80 METHOD /Users/kosaki/ruby/lib/test/unit/parallel.rb:48
c:0008 p:0015 s:0026 b:0026 l:000017 d:000025 BLOCK  /Users/kosaki/ruby/lib/test/unit/parallel.rb:23
c:0007 p:---- s:0023 b:0023 l:000022 d:000022 FINISH
c:0006 p:---- s:0021 b:0021 l:000020 d:000020 CFUNC  :map
c:0005 p:0012 s:0018 b:0018 l:000017 d:000017 METHOD /Users/kosaki/ruby/lib/test/unit/parallel.rb:22
c:0004 p:0353 s:0013 b:0013 l:000012 d:000012 METHOD /Users/kosaki/ruby/lib/test/unit/parallel.rb:113
c:0003 p:0074 s:0006 b:0006 l:0021d8 d:000598 EVAL   /Users/kosaki/ruby/lib/test/unit/parallel.rb:156
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0021d8 d:0021d8 TOP   

-- Ruby level backtrace information ----------------------------------------
/Users/kosaki/ruby/lib/test/unit/parallel.rb:156:in `<main>'
/Users/kosaki/ruby/lib/test/unit/parallel.rb:113:in `run'
/Users/kosaki/ruby/lib/test/unit/parallel.rb:22:in `_run_suites'
/Users/kosaki/ruby/lib/test/unit/parallel.rb:22:in `map'
/Users/kosaki/ruby/lib/test/unit/parallel.rb:23:in `block in _run_suites'
/Users/kosaki/ruby/lib/test/unit/parallel.rb:48:in `_run_suite'
/Users/kosaki/ruby/lib/minitest/unit.rb:780:in `_run_suite'
/Users/kosaki/ruby/lib/minitest/unit.rb:780:in `map'
/Users/kosaki/ruby/lib/minitest/unit.rb:787:in `block in _run_suite'
/Users/kosaki/ruby/lib/test/unit/testcase.rb:17:in `run'
/Users/kosaki/ruby/lib/test/unit.rb:198:in `block (2 levels) in non_options'
/Users/kosaki/ruby/lib/test/unit.rb:198:in `call'
/Users/kosaki/ruby/lib/minitest/unit.rb:948:in `run'
/Users/kosaki/ruby/test/coverage/test_coverage.rb:11:in `test_result_with_nothing'
/Users/kosaki/ruby/test/coverage/test_coverage.rb:11:in `result'

-- See Crash Report log file under ~/Library/Logs/CrashReporter or ---------
-- /Library/Logs/CrashReporter, for the more detail of ---------------------
-- C level backtrace information -------------------------------------------

-- Other runtime information -----------------------------------------------

* Loaded script: /Users/kosaki/ruby/lib/test/unit/parallel.rb

* Loaded features:

    0 enumerator.so
    1 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/encdb.bundle
    2 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/transdb.bundle
    3 /Users/kosaki/ruby/lib/rubygems/defaults.rb
    4 /Users/kosaki/ruby/lib/tsort.rb
    5 /Users/kosaki/ruby/lib/rubygems/deprecate.rb
    6 /Users/kosaki/ruby/lib/rubygems/dependency_list.rb
    7 /Users/kosaki/ruby/lib/rubygems/path_support.rb
    8 /Users/kosaki/ruby/build/rbconfig.rb
    9 /Users/kosaki/ruby/lib/rubygems/exceptions.rb
   10 /Users/kosaki/ruby/lib/rubygems/custom_require.rb
   11 /Users/kosaki/ruby/lib/rubygems/version.rb
   12 /Users/kosaki/ruby/lib/rubygems/requirement.rb
   13 /Users/kosaki/ruby/lib/rubygems/platform.rb
   14 /Users/kosaki/ruby/lib/rubygems/specification.rb
   15 /Users/kosaki/ruby/lib/rubygems.rb
   16 /Users/kosaki/ruby/lib/optparse.rb
   17 /Users/kosaki/ruby/lib/minitest/unit.rb
   18 /Users/kosaki/ruby/lib/prettyprint.rb
   19 /Users/kosaki/ruby/lib/pp.rb
   20 /Users/kosaki/ruby/lib/test/unit/assertions.rb
   21 /Users/kosaki/ruby/lib/test/unit/testcase.rb
   22 /Users/kosaki/ruby/lib/test/unit.rb
   23 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/-test-/string/string.bundle
   24 /Users/kosaki/ruby/test/-ext-/string/test_ellipsize.rb
   25 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/single_byte.bundle
   26 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/big5.bundle
   27 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/big5.bundle
   28 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/cp949.bundle
   29 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/korean.bundle
   30 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/emacs_mule.bundle
   31 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/euc_jp.bundle
   32 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/japanese_euc.bundle
   33 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/euc_kr.bundle
   34 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/euc_tw.bundle
   35 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/gb18030.bundle
   36 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/gb18030.bundle
   37 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/gbk.bundle
   38 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/gbk.bundle
   39 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_1.bundle
   40 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_2.bundle
   41 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_3.bundle
   42 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_4.bundle
   43 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_5.bundle
   44 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_6.bundle
   45 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_7.bundle
   46 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_8.bundle
   47 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_9.bundle
   48 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_10.bundle
   49 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_11.bundle
   50 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_13.bundle
   51 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_14.bundle
   52 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_15.bundle
   53 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_16.bundle
   54 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/koi8_r.bundle
   55 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/koi8_u.bundle
   56 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/shift_jis.bundle
   57 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/japanese_sjis.bundle
   58 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/utf_16be.bundle
   59 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/utf_16_32.bundle
   60 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/utf_16le.bundle
   61 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/utf_32be.bundle
   62 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/utf_32le.bundle
   63 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/windows_1251.bundle
   64 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/iso2022.bundle
   65 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/gb2312.bundle
   66 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/chinese.bundle
   67 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/utf8_mac.bundle
   68 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/emoji.bundle
   69 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/emoji_sjis_docomo.bundle
   70 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/emoji_sjis_kddi.bundle
   71 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/emoji_iso2022_kddi.bundle
   72 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/emoji_sjis_softbank.bundle
   73 /Users/kosaki/ruby/lib/cgi/core.rb
   74 /Users/kosaki/ruby/lib/cgi/cookie.rb
   75 /Users/kosaki/ruby/lib/cgi/util.rb
   76 /Users/kosaki/ruby/lib/cgi.rb
   77 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/stringio.bundle
   78 /Users/kosaki/ruby/test/cgi/test_cgi_util.rb
   79 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/coverage.bundle
   80 /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/etc.bundle
   81 /Users/kosaki/ruby/lib/fileutils.rb
   82 /Users/kosaki/ruby/lib/tmpdir.rb
   83 /Users/kosaki/ruby/test/coverage/test_coverage.rb

[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


Some worker was crashed. It seems ruby interpreter's bug
or, a bug of test/unit/parallel.rb. try again without -j
option.

/Users/kosaki/ruby/lib/test/unit.rb:255:in `write': closed stream (IOError)
	from /Users/kosaki/ruby/lib/test/unit.rb:255:in `puts'
	from /Users/kosaki/ruby/lib/test/unit.rb:255:in `puts'
	from /Users/kosaki/ruby/lib/test/unit.rb:503:in `block (2 levels) in _run_parallel'
	from /Users/kosaki/ruby/lib/timeout.rb:68:in `timeout'
	from /Users/kosaki/ruby/lib/timeout.rb:99:in `timeout'
	from /Users/kosaki/ruby/lib/test/unit.rb:502:in `block in _run_parallel'
	from /Users/kosaki/ruby/lib/test/unit.rb:500:in `each'
	from /Users/kosaki/ruby/lib/test/unit.rb:500:in `ensure in _run_parallel'
	from /Users/kosaki/ruby/lib/test/unit.rb:557:in `_run_parallel'
	from /Users/kosaki/ruby/lib/test/unit.rb:566:in `_run_suites'
	from /Users/kosaki/ruby/lib/minitest/unit.rb:746:in `_run_anything'
	from /Users/kosaki/ruby/lib/minitest/unit.rb:909:in `run_tests'
	from /Users/kosaki/ruby/lib/minitest/unit.rb:896:in `block in _run'
	from /Users/kosaki/ruby/lib/minitest/unit.rb:895:in `each'
	from /Users/kosaki/ruby/lib/minitest/unit.rb:895:in `_run'
	from /Users/kosaki/ruby/lib/minitest/unit.rb:884:in `run'
	from /Users/kosaki/ruby/lib/test/unit.rb:21:in `run'
	from /Users/kosaki/ruby/lib/test/unit.rb:635:in `run'
	from /Users/kosaki/ruby/lib/test/unit.rb:639:in `run'
	from ../test/runner.rb:13:in `<main>'


Process:         ruby-trunk [72096]
Path:            /Users/kosaki/ruby/build/ruby-trunk
Identifier:      ruby-trunk
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  ruby-trunk [72091]

Date/Time:       2011-06-26 02:58:06.179 +0900
OS Version:      Mac OS X 10.6.7 (10J4138)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000002e3e
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
abort() called

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x00007fff885225d6 __kill + 10
1   libSystem.B.dylib             	0x00007fff885c2cde abort + 83
2   libruby.1.9.1.dylib           	0x000000010003e27d 0x100003000 + 242301
3   libruby.1.9.1.dylib           	0x0000000100106ac4 0x100003000 + 1063620
4   libSystem.B.dylib             	0x00007fff8853466a _sigtramp + 26
5   libruby.1.9.1.dylib           	0x000000010010f4cb st_foreach + 27 (st.c:741)
6   coverage.bundle               	0x00000001003d1c83 rb_coverage_result + 67 (coverage.c:64)
7   libruby.1.9.1.dylib           	0x00000001001839d3 vm_call_method + 931 (vm_insnhelper.c:404)
8   libruby.1.9.1.dylib           	0x0000000100172f5e vm_exec_core + 20270 (insns.def:1012)
9   libruby.1.9.1.dylib           	0x00000001001782f3 vm_exec + 1459 (vm.c:1180)
10  libruby.1.9.1.dylib           	0x0000000100179d4a vm_call0 + 1290 (vm_eval.c:66)
11  libruby.1.9.1.dylib           	0x00000001000486a9 rb_method_call + 361 (proc.c:1426)
12  libruby.1.9.1.dylib           	0x00000001001839d3 vm_call_method + 931 (vm_insnhelper.c:404)
13  libruby.1.9.1.dylib           	0x0000000100172f5e vm_exec_core + 20270 (insns.def:1012)
14  libruby.1.9.1.dylib           	0x00000001001782f3 vm_exec + 1459 (vm.c:1180)
15  libruby.1.9.1.dylib           	0x000000010017965d rb_vm_invoke_proc + 877 (vm.c:591)
16  libruby.1.9.1.dylib           	0x0000000100183ddf vm_call_method + 1967 (vm_insnhelper.c:428)
17  libruby.1.9.1.dylib           	0x000000010017367e vm_exec_core + 22094 (insns.def:1048)
18  libruby.1.9.1.dylib           	0x00000001001782f3 vm_exec + 1459 (vm.c:1180)
19  libruby.1.9.1.dylib           	0x0000000100186610 rb_yield + 640 (vm.c:591)
20  libruby.1.9.1.dylib           	0x0000000100012191 rb_ary_collect + 113 (array.c:2220)
21  libruby.1.9.1.dylib           	0x00000001001839d3 vm_call_method + 931 (vm_insnhelper.c:404)
22  libruby.1.9.1.dylib           	0x0000000100172f5e vm_exec_core + 20270 (insns.def:1012)
23  libruby.1.9.1.dylib           	0x00000001001782f3 vm_exec + 1459 (vm.c:1180)
24  libruby.1.9.1.dylib           	0x0000000100186610 rb_yield + 640 (vm.c:591)
25  libruby.1.9.1.dylib           	0x0000000100012191 rb_ary_collect + 113 (array.c:2220)
26  libruby.1.9.1.dylib           	0x00000001001839d3 vm_call_method + 931 (vm_insnhelper.c:404)
27  libruby.1.9.1.dylib           	0x0000000100172f5e vm_exec_core + 20270 (insns.def:1012)
28  libruby.1.9.1.dylib           	0x00000001001782f3 vm_exec + 1459 (vm.c:1180)
29  libruby.1.9.1.dylib           	0x00000001001785eb rb_iseq_eval_main + 507 (vm.c:1422)
30  libruby.1.9.1.dylib           	0x00000001000430a2 ruby_exec_internal + 178 (eval.c:201)
31  libruby.1.9.1.dylib           	0x0000000100045dcc ruby_run_node + 60 (eval.c:248)
32  ruby-trunk                    	0x0000000100000ecf main + 79 (main.c:40)
33  ruby-trunk                    	0x0000000100000e74 start + 52

Thread 1:
0   libSystem.B.dylib             	0x00007fff8850ef8a __semwait_signal + 10
1   libSystem.B.dylib             	0x00007fff88512da1 _pthread_cond_wait + 1286
2   libruby.1.9.1.dylib           	0x0000000100190236 thread_timer + 198 (thread_pthread.c:295)
3   libSystem.B.dylib             	0x00007fff8850d4f6 _pthread_start + 331
4   libSystem.B.dylib             	0x00007fff8850d3a9 thread_start + 13

Thread 2:
0   libSystem.B.dylib             	0x00007fff884de986 read + 10
1   libruby.1.9.1.dylib           	0x00000001001917b9 rb_thread_io_blocking_region + 185 (thread.c:1138)
2   libruby.1.9.1.dylib           	0x0000000100066644 io_fillbuf + 116 (io.c:1227)
3   libruby.1.9.1.dylib           	0x00000001000747ad rb_io_getline_1 + 3341 (io.c:2410)
4   libruby.1.9.1.dylib           	0x0000000100074edc rb_io_gets_m + 44 (io.c:2591)
5   libruby.1.9.1.dylib           	0x00000001001839d3 vm_call_method + 931 (vm_insnhelper.c:404)
6   libruby.1.9.1.dylib           	0x0000000100172f5e vm_exec_core + 20270 (insns.def:1012)
7   libruby.1.9.1.dylib           	0x00000001001782f3 vm_exec + 1459 (vm.c:1180)
8   libruby.1.9.1.dylib           	0x000000010017965d rb_vm_invoke_proc + 877 (vm.c:591)
9   libruby.1.9.1.dylib           	0x0000000100192dec thread_start_func_2 + 1708 (thread.c:447)
10  libruby.1.9.1.dylib           	0x0000000100193018 thread_start_func_1 + 104 (thread_pthread.c:621)
11  libSystem.B.dylib             	0x00007fff8850d4f6 _pthread_start + 331
12  libSystem.B.dylib             	0x00007fff8850d3a9 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x000000000000000b  rcx: 0x0000000100344968  rdx: 0x0000000000000000
  rdi: 0x00000000000119a0  rsi: 0x0000000000000006  rbp: 0x0000000100344980  rsp: 0x0000000100344968
   r8: 0x00007fff70f2da40   r9: 0x0000000000000000  r10: 0x00007fff8851e616  r11: 0xffffff80002e4730
  r12: 0x0000000100344990  r13: 0x00000001001a59ef  r14: 0x0000000000000000  r15: 0x000000010083e040
  rip: 0x00007fff885225d6  rfl: 0x0000000000000202  cr2: 0x000000000375f000

Binary Images:
       0x100000000 -        0x100000fff +ruby-trunk ??? (???) <0D6E7AA4-5622-9639-9103-3AE61993723E> /Users/kosaki/ruby/build/ruby-trunk
       0x100003000 -        0x100226ff7 +libruby.1.9.1.dylib 1.9.1 (compatibility 1.9.1) <BDBD0976-89A9-5FBD-8DBE-FA6925435611> /Users/kosaki/ruby/build/libruby.1.9.1.dylib
       0x10034a000 -        0x10034bfff +encdb.bundle ??? (???) <20B11224-DCCC-023F-2C23-A2DE835EC95A> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/encdb.bundle
       0x10034e000 -        0x10034ffff +transdb.bundle ??? (???) <F45553E5-F9DA-E93D-3C05-C1CE74DBFAC1> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/transdb.bundle
       0x100353000 -        0x100353ff7 +string.bundle ??? (???) <11AB8DAC-EC7C-A498-8C42-B55C3EA0A0A6> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/-test-/string/string.bundle
       0x100356000 -        0x10035bfff +stringio.bundle ??? (???) <09873F54-53AB-EC2D-59FB-1C15B476C908> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/stringio.bundle
       0x1003d1000 -        0x1003d1ff7 +coverage.bundle ??? (???) <167D97AC-CADC-E36C-45A5-587FB75999B7> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/coverage.bundle
       0x1003d4000 -        0x1003d5ff7 +etc.bundle ??? (???) <40385312-A516-C5FA-3980-5CA82DF31095> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/etc.bundle
       0x1003d9000 -        0x1003ecfff +single_byte.bundle ??? (???) <536CA66D-27F1-69A9-A4A8-B8766B7F0789> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/single_byte.bundle
       0x1003f5000 -        0x1003f6fef +big5.bundle ??? (???) <DC1C3F45-1D10-CE25-2257-03D418866D82> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/big5.bundle
       0x1003f9000 -        0x1003fafef +cp949.bundle ??? (???) <6A0075E0-AC3C-69F4-5648-54C287FA95A7> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/cp949.bundle
       0x1003fd000 -        0x1003fdfef +euc_kr.bundle ??? (???) <810BD342-B442-FD5D-D1DE-685EACDD3FB5> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/euc_kr.bundle
       0x102440000 -        0x1024cbfef +big5.bundle ??? (???) <5FB90F7D-6D2A-99D4-8ADB-D29FE6E666C9> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/big5.bundle
       0x1024ce000 -        0x1024cffff +emacs_mule.bundle ??? (???) <4C2EDCD5-929D-E3E4-9600-5EF645E065AB> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/emacs_mule.bundle
       0x1024d2000 -        0x1024d3fe7 +euc_jp.bundle ??? (???) <BC64B57A-714A-CAAC-53D7-259F83719EC2> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/euc_jp.bundle
       0x1024d6000 -        0x1024d7fef +euc_tw.bundle ??? (???) <0CDCEC62-411D-11B8-CA10-3D413D39CF5E> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/euc_tw.bundle
       0x1024da000 -        0x1024dbfef +gb18030.bundle ??? (???) <F92FD610-A2B1-04AC-AD5A-8161EDD19FAE> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/gb18030.bundle
       0x1024de000 -        0x1024dffef +gbk.bundle ??? (???) <E629F212-A57B-4AF5-9EAF-6820DD0C7AEF> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/gbk.bundle
       0x1024e2000 -        0x1024e2fff +iso_8859_1.bundle ??? (???) <4F2B38F3-7E89-B240-2622-4768F66CDCBA> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_1.bundle
       0x1024e5000 -        0x1024e5fef +iso_8859_2.bundle ??? (???) <7CA1EC18-C797-16B5-0512-3815D42FE9BD> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_2.bundle
       0x1024e8000 -        0x1024e8fef +iso_8859_3.bundle ??? (???) <938B53B4-2842-6EDF-AB69-7F786FC88AA2> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_3.bundle
       0x1024eb000 -        0x1024ebfef +iso_8859_4.bundle ??? (???) <D6376C1E-96AA-903A-7FBF-909F21C7C388> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_4.bundle
       0x1024ee000 -        0x1024eefef +iso_8859_5.bundle ??? (???) <2F38B1E8-0BC1-1890-F6EA-6AAF6A1B42F0> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_5.bundle
       0x1024f1000 -        0x1024f1fef +iso_8859_6.bundle ??? (???) <F875F135-2D29-DFA6-7DBD-1574F2E754B4> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_6.bundle
       0x1024f4000 -        0x1024f4fef +iso_8859_7.bundle ??? (???) <AA3CBB3A-3F5D-8CE9-DAD1-BF8FC131569F> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_7.bundle
       0x1024f7000 -        0x1024f7fef +iso_8859_8.bundle ??? (???) <F3B57430-643E-0D04-35BA-CA1B8427926D> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_8.bundle
       0x1024fa000 -        0x1024fafef +iso_8859_9.bundle ??? (???) <7404ACD2-FF2B-BF9E-78DC-E22C577EC885> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_9.bundle
       0x1024fd000 -        0x1024fdfef +iso_8859_10.bundle ??? (???) <61B3C797-0D23-D3D1-6418-DCE579880431> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_10.bundle
       0x102700000 -        0x10273afff +korean.bundle ??? (???) <61ABD9DC-E4AC-9E24-7BB7-45F7D99E66CD> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/korean.bundle
       0x10273d000 -        0x102776fff +japanese_euc.bundle ??? (???) <C0629FFE-07FE-95B6-431B-2B7DDD2E0763> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/japanese_euc.bundle
       0x102779000 -        0x1027a3fff +gb18030.bundle ??? (???) <17844162-7BA1-7BE8-5DD9-440A7AA64BD0> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/gb18030.bundle
       0x1027a6000 -        0x1027d4fef +gbk.bundle ??? (???) <D7937303-43A6-71CA-E63A-71169486D382> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/gbk.bundle
       0x1027d7000 -        0x1027d7fef +iso_8859_11.bundle ??? (???) <8F36A97F-970B-A1E0-C7EF-5051C5C6B44D> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_11.bundle
       0x1027da000 -        0x1027dafef +iso_8859_13.bundle ??? (???) <BA8C7528-F288-52B0-A01E-12E5E84AE756> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_13.bundle
       0x1027dd000 -        0x1027ddfef +iso_8859_14.bundle ??? (???) <6ABDABDF-0C86-6635-01C4-B9F387FDED42> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_14.bundle
       0x1027e0000 -        0x1027e0fef +iso_8859_15.bundle ??? (???) <3A71C2AD-1D51-DF10-CC53-1DDFED457F74> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_15.bundle
       0x1027e3000 -        0x1027e3fef +iso_8859_16.bundle ??? (???) <47B7D7AE-643A-3FAE-4262-318439C67680> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/iso_8859_16.bundle
       0x1027e6000 -        0x1027e6fef +koi8_r.bundle ??? (???) <3E9ACDA8-07AC-9D79-29B0-16D7AEDA4A22> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/koi8_r.bundle
       0x1027e9000 -        0x1027e9fef +koi8_u.bundle ??? (???) <84E1EC0B-3C12-2EAD-6103-1B61734829C2> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/koi8_u.bundle
       0x1027ec000 -        0x1027edfff +shift_jis.bundle ??? (???) <FAF77B0F-F05C-AB29-B433-897E71A719D0> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/shift_jis.bundle
       0x1027f0000 -        0x1027f0fff +utf_16be.bundle ??? (???) <CC69F585-853F-61B1-353C-63BD690FB1C2> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/utf_16be.bundle
       0x1027f3000 -        0x1027f5fff +utf_16_32.bundle ??? (???) <7298B6AD-C98C-BEB0-4298-A0E71CE6C51F> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/utf_16_32.bundle
       0x1027f8000 -        0x1027f8fff +utf_16le.bundle ??? (???) <81AA711A-8A64-368B-44AF-CC6B73197790> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/utf_16le.bundle
       0x1027fb000 -        0x1027fbfff +utf_32be.bundle ??? (???) <84AD8334-CF94-BDBB-026B-A325B498DF9B> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/utf_32be.bundle
       0x103900000 -        0x103923fff +japanese_sjis.bundle ??? (???) <8313A7DC-42CA-3072-80E7-AEA68DE7BCD3> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/japanese_sjis.bundle
       0x103926000 -        0x103926fff +utf_32le.bundle ??? (???) <B56B881E-B8E5-5C32-4CF8-71F53B4E325E> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/utf_32le.bundle
       0x103929000 -        0x103929fef +windows_1251.bundle ??? (???) <D255B0F3-36C6-D00C-BEC2-E6F1F36A4C0D> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/windows_1251.bundle
       0x10392c000 -        0x10392dfe7 +iso2022.bundle ??? (???) <A00A2871-5642-F123-2768-C23C3A449757> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/iso2022.bundle
       0x103930000 -        0x103930fff +gb2312.bundle ??? (???) <44370853-7315-3409-505C-9C075688DDB8> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/gb2312.bundle
       0x103933000 -        0x10395efef +chinese.bundle ??? (???) <618D2FF8-5E7F-ABF6-4230-E5C74F6A1EF5> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/chinese.bundle
       0x103961000 -        0x10396afef +utf8_mac.bundle ??? (???) <BD3B106A-771C-25C4-8621-F8D4823658C9> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/utf8_mac.bundle
       0x10396d000 -        0x103977fff +emoji.bundle ??? (???) <FAD8E1E9-EB1D-7FF3-4B5C-39A649985F28> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/emoji.bundle
       0x10397a000 -        0x103995fef +emoji_sjis_docomo.bundle ??? (???) <7E467EC0-8EEB-0D00-0F1B-065AE652B6C9> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/emoji_sjis_docomo.bundle
       0x103998000 -        0x1039b4fff +emoji_sjis_kddi.bundle ??? (???) <181C7977-0F35-ED72-1460-D69F108EE42E> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/emoji_sjis_kddi.bundle
       0x1039b7000 -        0x1039d0fff +emoji_iso2022_kddi.bundle ??? (???) <51E23BA9-9247-96E5-4F25-8B393519D01E> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/emoji_iso2022_kddi.bundle
       0x1039d3000 -        0x1039eefef +emoji_sjis_softbank.bundle ??? (???) <0BA5CF05-354F-C815-3FFE-235BB1022668> /Users/kosaki/ruby/build/.ext/x86_64-darwin10.7.4/enc/trans/emoji_sjis_softbank.bundle
    0x7fff5fc00000 -     0x7fff5fc3bdef  dyld 132.1 (???) <DB8B8AB0-0C97-B51C-BE8B-B79895735A33> /usr/lib/dyld
    0x7fff805a7000 -     0x7fff8065dfff  libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <1960E662-D35C-5D98-EB16-D43166AE6A22> /usr/lib/libobjc.A.dylib
    0x7fff862ec000 -     0x7fff862f0ff7  libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
    0x7fff86677000 -     0x7fff866f4fef  libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib
    0x7fff884d3000 -     0x7fff88694fff  libSystem.B.dylib 125.2.10 (compatibility 1.0.0) <C80582B8-D8F7-A378-E27D-28411EE53901> /usr/lib/libSystem.B.dylib
    0x7fff88789000 -     0x7fff887d5fff  libauto.dylib ??? (???) <328CCF97-091D-C529-E576-C78583445711> /usr/lib/libauto.dylib
    0x7fffffe00000 -     0x7fffffe01fff  libSystem.B.dylib ??? (???) <C80582B8-D8F7-A378-E27D-28411EE53901> /usr/lib/libSystem.B.dylib

 


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