SEGV by String#clone

[email protected]>;3OB9-$G$9!#e(B

/dev/[email protected](BStringe$B$re(Bclonee$B$9$k$HMn$A$^$9!#e(B

% ruby-trunk -e ‘File.read("/dev/null").clone’
-e:1: [BUG] Segmentation fault
ruby 1.9.0 (2007-12-27 revision 0) [i686-linux]

– control frame ----------
c:0005 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC :initialize_copy
c:0004 p:---- s:0009 b:0009 l:000008 d:000008 CFUNC :clone
c:0003 p:0021 s:0006 b:0006 l:000005 d:000005 TOP -e:1
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH :inherited
c:0001 p:0000 s:0002 b:0002 l:000001 d:000001 TOP :17

DBG> : “-e:1:in clone'" DBG> : "-e:1:in'”
– backtrace of native function call (Use addr2line) –
0xb7eeb8c7
0xb7e31ae3
0xb7e31b59
0xb7ea9df9
0xb7f46440
0xb7ee0933
0xb7eea652
0xb7e361a9
0xb7e364ee
0xb7e3690b
0xb7e676c5
0xb7e6798b
0xb7ee093e
0xb7ee9eac
0xb7ee5077
0xb7ee9031
0xb7ee93b0
0xb7e3539b
0xb7e39d6a
0x8048724
0xb7c5fea8
0x8048621

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs