Project

General

Profile

Bug #7884 » terminal_log.txt

hirura (Hiroyuki URANISHI), 02/19/2013 11:07 PM

 
$ ruby tk_fork_test.rb
"forked process"
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
tk_fork_test.rb:11: [BUG] Segmentation fault
ruby 1.9.3p385 (2013-02-06 revision 39114) [universal.x86_64-darwin10]

-- Control frame information -----------------------------------------------
c:0017 p:---- s:0061 b:0061 l:000060 d:000060 CFUNC :fork
c:0016 p:0009 s:0058 b:0058 l:0003b8 d:000057 BLOCK tk_fork_test.rb:11
c:0015 p:---- s:0054 b:0054 l:000053 d:000053 FINISH
c:0014 p:---- s:0052 b:0052 l:000051 d:000051 CFUNC :call
c:0013 p:---- s:0050 b:0050 l:000049 d:000049 CFUNC :eval_cmd
c:0012 p:0028 s:0046 b:0045 l:000044 d:000044 METHOD /opt/local/lib/ruby1.9/1.9.1/tk.rb:1451
c:0011 p:0018 s:0040 b:0040 l:000039 d:000039 METHOD /opt/local/lib/ruby1.9/1.9.1/tk.rb:1398
c:0010 p:0037 s:0036 b:0036 l:000026 d:000035 BLOCK /opt/local/lib/ruby1.9/1.9.1/tk.rb:1594
c:0009 p:---- s:0033 b:0033 l:000032 d:000032 FINISH
c:0008 p:---- s:0031 b:0031 l:000030 d:000030 CFUNC :catch
c:0007 p:0055 s:0027 b:0027 l:000026 d:000026 METHOD /opt/local/lib/ruby1.9/1.9.1/tk.rb:1593
c:0006 p:---- s:0019 b:0019 l:000018 d:000018 FINISH
c:0005 p:---- s:0017 b:0017 l:000016 d:000016 CFUNC :mainloop
c:0004 p:0122 s:0013 b:0013 l:000012 d:000012 METHOD /opt/local/lib/ruby1.9/1.9.1/tk.rb:1866
c:0003 p:0105 s:0008 b:0008 l:0003b8 d:002708 EVAL tk_fork_test.rb:17
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0003b8 d:0003b8 TOP

-- Ruby level backtrace information ----------------------------------------
tk_fork_test.rb:17:in `<main>'
/opt/local/lib/ruby1.9/1.9.1/tk.rb:1866:in `mainloop'
/opt/local/lib/ruby1.9/1.9.1/tk.rb:1866:in `mainloop'
/opt/local/lib/ruby1.9/1.9.1/tk.rb:1593:in `callback'
/opt/local/lib/ruby1.9/1.9.1/tk.rb:1593:in `catch'
/opt/local/lib/ruby1.9/1.9.1/tk.rb:1594:in `block in callback'
/opt/local/lib/ruby1.9/1.9.1/tk.rb:1398:in `call'
/opt/local/lib/ruby1.9/1.9.1/tk.rb:1451:in `cb_eval'
/opt/local/lib/ruby1.9/1.9.1/tk.rb:1451:in `eval_cmd'
/opt/local/lib/ruby1.9/1.9.1/tk.rb:1451:in `call'
tk_fork_test.rb:11:in `block (2 levels) in <main>'
tk_fork_test.rb:11:in `fork'

-- C level backtrace information -------------------------------------------

See Crash Report log file under ~/Library/Logs/CrashReporter or
/Library/Logs/CrashReporter, for the more detail of.

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

* Loaded script: tk_fork_test.rb

* Loaded features:

0 enumerator.so
1 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/encdb.bundle
2 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/trans/transdb.bundle
3 /opt/local/lib/ruby1.9/1.9.1/rubygems/defaults.rb
4 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/rbconfig.rb
5 /opt/local/lib/ruby1.9/1.9.1/rubygems/deprecate.rb
6 /opt/local/lib/ruby1.9/1.9.1/rubygems/exceptions.rb
7 /opt/local/lib/ruby1.9/1.9.1/rubygems/custom_require.rb
8 /opt/local/lib/ruby1.9/1.9.1/rubygems.rb
9 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/tcltklib.bundle
10 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/tkutil.bundle
11 /opt/local/lib/ruby1.9/1.9.1/tk/ttk_selector.rb
12 /opt/local/lib/ruby1.9/1.9.1/tk/autoload.rb
13 /opt/local/lib/ruby1.9/1.9.1/thread.rb
14 /opt/local/lib/ruby1.9/1.9.1/tk/event.rb
15 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/iso_8859_11.bundle
16 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/euc_kr.bundle
17 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/gb2312.bundle
18 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/cp949.bundle
19 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/big5.bundle
20 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/euc_jp.bundle
21 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/iso_8859_10.bundle
22 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/iso_8859_13.bundle
23 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/iso_8859_14.bundle
24 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/iso_8859_15.bundle
25 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/iso_8859_16.bundle
26 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/iso_8859_1.bundle
27 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/iso_8859_2.bundle
28 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/iso_8859_3.bundle
29 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/koi8_r.bundle
30 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/iso_8859_4.bundle
31 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/iso_8859_5.bundle
32 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/iso_8859_6.bundle
33 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/windows_1251.bundle
34 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/koi8_u.bundle
35 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/iso_8859_7.bundle
36 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/iso_8859_8.bundle
37 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/iso_8859_9.bundle
38 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/shift_jis.bundle
39 /opt/local/lib/ruby1.9/1.9.1/universal-darwin10/enc/gbk.bundle
40 /opt/local/lib/ruby1.9/1.9.1/tk/winfo.rb
41 /opt/local/lib/ruby1.9/1.9.1/tk/wm.rb
42 /opt/local/lib/ruby1.9/1.9.1/tk/itemfont.rb
43 /opt/local/lib/ruby1.9/1.9.1/tk/itemconfig.rb
44 /opt/local/lib/ruby1.9/1.9.1/tk/busy.rb
45 /opt/local/lib/ruby1.9/1.9.1/tkextlib/version.rb
46 /opt/local/lib/ruby1.9/1.9.1/tkextlib/setup.rb
47 /opt/local/lib/ruby1.9/1.9.1/tk.rb
48 /opt/local/lib/ruby1.9/1.9.1/tk/menuspec.rb
49 /opt/local/lib/ruby1.9/1.9.1/tk/root.rb
50 /opt/local/lib/ruby1.9/1.9.1/tkextlib/tile/setup.rb
51 /opt/local/lib/ruby1.9/1.9.1/tk/package.rb
52 /opt/local/lib/ruby1.9/1.9.1/tk/font.rb
53 /opt/local/lib/ruby1.9/1.9.1/tkextlib/tile.rb
54 /opt/local/lib/ruby1.9/1.9.1/tk/frame.rb
55 /opt/local/lib/ruby1.9/1.9.1/tkextlib/tile/tframe.rb
56 /opt/local/lib/ruby1.9/1.9.1/tk/bindtag.rb
57 /opt/local/lib/ruby1.9/1.9.1/tk/grid.rb
58 /opt/local/lib/ruby1.9/1.9.1/tk/label.rb
59 /opt/local/lib/ruby1.9/1.9.1/tk/button.rb
60 /opt/local/lib/ruby1.9/1.9.1/tkextlib/tile/tbutton.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

#<Process::Status: pid 44499 SIGIOT (signal 6)>

(2-2/2)