yarv-dev:977
From: "U.Nakamura" <usa garbagecollect.jp>
Date: Fri, 24 Feb 2006 19:14:03 +0900
Subject: [yarv-dev:977] open> exiting irb makes core dump
こんにちは、なかむら(う)です。 irbを実行して抜けるだけでcoreを吐きます。 下記はNetBSDでの実行例ですが、mswin32でも同様なので、たぶんど こでも再現するのでしょう。 [usa@zanzibar] % irb20 irb(main):001:0> exit /home/usa/ruby/ruby-yarv/lib/ruby/2.0/irb.rb: -- stack frame ------------ 0x81e6000 (0000): 00000001 0x81e6004 (0001): 00000004 0x81e6008 (0002): 081a7f20 0x81e600c (0003): 082bd4cc 0x81e6010 (0004): 08266528 0x81e6014 (0005): 082ac0c8 0x81e6018 (0006): 00000004 0x81e601c (0007): 0829de24 0x81e6020 (0008): 082bd4cc 0x81e6024 (0009): 002a5d0e 0x81e6028 (0010): 08265f75 0x81e602c (0011): 00000001 0x81e6030 (0012): 0837424d 0x81e6034 (0013): 082ac0c8 0x81e6038 (0014): 00000004 0x81e603c (0015): 0829dd34 0x81e6040 (0016): 082a7b18 0x81e6044 (0017): 00000004 0x81e6048 (0018): 08265ed5 0x81e604c (0019): 082a7b18 0x81e6050 (0020): 0036a50e 0x81e6054 (0021): 08265ead 0x81e6058 (0022): 00000001 0x81e605c (0023): 081e6049 (= 18) 0x81e6060 (0024): 082a7b18 0x81e6064 (0025): 08265e35 0x81e6068 (0026): 00000001 0x81e606c (0027): 0829be44 0x81e6070 (0028): 081e605d (= 23) 0x81e6074 (0029): 0829d488 0x81e6078 (0030): 00000003 0x81e607c (0031): 08374265 0x81e6080 (0032): 082ac0c8 0x81e6084 (0033): 002bb50e 0x81e6088 (0034): 002ac50e 0x81e608c (0035): 00000004 0x81e6090 (0036): 08265d95 <- lfp 0x81e6094 (0037): 00000004 0x81e6098 (0038): 002a5d0e 0x81e609c (0039): 081e6091 (= 36) <- dfp -- control frame ---------- c:0018 p:0009 s:0040 b:0040 l:0036 d:0039 BLOCK i:ensure in signal_status s: c:0017 p:0032 s:0038 b:0037 l:0036 d:0036 METHOD i:signal_status s: c:0016 p:0009 s:0032 b:0032 l:0705 d:0031 BLOCK i:block in eval_input s: c:0015 p:0102 s:0029 b:0029 l:0018 d:0028 BLOCK i:block (2 levels) in each_top_level_statement s: c:0014 p:-001 s:0027 b:0027 l:0026 d:0026 FINISH i:- s: c:0013 p:-001 s:0026 b:0026 l:0025 d:0025 CFUNC i:loop s: c:0012 p:0007 s:0024 b:0024 l:0018 d:0023 BLOCK i:block in each_top_level_statement s: c:0011 p:-001 s:0023 b:0023 l:0022 d:0022 FINISH i:- s: c:0010 p:-001 s:0022 b:0022 l:0021 d:0021 CFUNC i:catch s: c:0009 p:0017 s:0019 b:0019 l:0018 d:0018 METHOD i:each_top_level_statement s: c:0008 p:0034 s:0016 b:0016 l:0705 d:0705 METHOD i:eval_input s: c:0007 p:0008 s:0013 b:0013 l:0699 d:0012 BLOCK i:block in start s: c:0006 p:-001 s:0012 b:0012 l:0011 d:0011 FINISH i:- s: c:0005 p:-001 s:0011 b:0011 l:0010 d:0010 CFUNC i:catch s: - c:0004 p:0172 s:0008 b:0008 l:0699 d:0699 METHOD i:start s: c:0003 p:0037 s:0003 b:0003 l:-599 d:-599 TOP i:<main> s: - c:0002 p:-001 s:0001 b:0001 l:0000 d:0000 FINISH i:- s: - c:0001 p:-001 s:0000 b:-001 l:0000 d:0000 ------ i:- s: - --------------------------- DBG> : "/home/usa/ruby/ruby-yarv/lib/ruby/2.0/irb.rb:261:in `signal_status'" DBG> : "/home/usa/ruby/ruby-yarv/lib/ruby/2.0/irb.rb:147:in `block in eval_input'" DBG> : "/home/usa/ruby/ruby-yarv/lib/ruby/2.0/irb/ruby-lex.rb:244:in `block (2 levels) in each_top_level_statement'" DBG> : "/home/usa/ruby/ruby-yarv/lib/ruby/2.0/irb/ruby-lex.rb:230:in `loop'" DBG> : "/home/usa/ruby/ruby-yarv/lib/ruby/2.0/irb/ruby-lex.rb:230:in `block in each_top_level_statement'" DBG> : "/home/usa/ruby/ruby-yarv/lib/ruby/2.0/irb/ruby-lex.rb:229:in `catch'" DBG> : "/home/usa/ruby/ruby-yarv/lib/ruby/2.0/irb/ruby-lex.rb:229:in `each_top_level_statement'" DBG> : "/home/usa/ruby/ruby-yarv/lib/ruby/2.0/irb.rb:146:in `eval_input'" DBG> : "/home/usa/ruby/ruby-yarv/lib/ruby/2.0/irb.rb:70:in `block in start'" DBG> : "/home/usa/ruby/ruby-yarv/lib/ruby/2.0/irb.rb:69:in `catch'" DBG> : "/home/usa/ruby/ruby-yarv/lib/ruby/2.0/irb.rb:69:in `start'" DBG> : "/home/usa/bin/irb20:13:in `<main>'" [BUG] Segmentation fault ruby 2.0.0 (2006-02-14) [i386-netbsdelf3.99.7] zsh: 9825 abort (core dumped) irb20 (中略) (gdb) bt #0 0xbdb09f1b in kill () from /usr/lib/libc.so.12 #1 0xbdb8ee53 in abort () from /usr/lib/libc.so.12 #2 0x080c8890 in rb_bug (fmt=0x80f1ffc "Segmentation fault") at ../error.c:171 #3 0x0809e652 in sigsegv (sig=11) at ../signal.c:432 #4 <signal handler called> それでは。 -- U.Nakamura <usa garbagecollect.jp> -- ML: yarv-dev quickml.atdot.net 使い方: http://www.atdot.net/~ko1/quickml
-> 977 2006-02-24 19:14 [usa garbagecollect.j] open> exiting irb makes core dump 985 2006-02-27 22:00 ┗[ko1 atdot.net ] fixed> Re: open> exiting irb makes core dump 995 2006-02-28 09:29 ┗[usa garbagecollect.j] close> Re: fixed> Re: open> exiting irb makes core dump