e$B0J2<$N$h$&$K$7$F!"e(B* e$B$N4V$Ke(B ^C [email protected]!"e(B
e$B$9$Y$F$N%*%V%8%’%/%H$re(B p e$B$7$F$_$k$H!"0[>o=*N;$7$^$9!#e(B
% ./ruby -e ‘n = 10**100000
begin
n * n
rescue Interrupt
p $!
end
ObjectSpace.each_object {|o|
begin
p o
rescue IOError
end
}
’
(n * n e$B$N7W;;$r$7$F$$$k4V$Ge(B ^C e$B$G3d$j9~$e(B) Interrupt "Interrupt" "Interrupt" "-e:3:in
’"
""
"-e:3:in <main>'" ["-e:3:in
*’", “-e:3:in `’”]
Interrupt
“”
…
-e:9: – control frame ----------
c:0009 p:---- s:0019 b:0019 l:000018 d:000018 CFUNC :to_s
c:0008 p:---- s:0017 b:0017 l:000016 d:000016 CFUNC :inspect
c:0007 p:---- s:0015 b:0015 l:000014 d:000014 CFUNC
c:0006 p:0010 s:0011 b:0011 l:000005 d:000010 BLOCK -e:9
c:0005 p:---- s:0011 b:0011 l:000010 d:000010 FINISH
c:0004 p:---- s:0009 b:0009 l:000008 d:000008 CFUNC :each_object
c:0003 p:0032 s:0006 b:0006 l:000005 d:000005 TOP -e:7
c:0002 p:---- s:0003 b:0003 l:000002 d:000002 FINISH :inherited
c:0001 p:---- s:0001 b:-001 l:000000 d:000000 ------