[Bug #1842] mspec で SIGABRT

Bug #1842: mspec e$B$Ge(B SIGABRT
http://redmine.ruby-lang.org/issues/show/1842

e$B5/I<<Te(B: Kazuhiro NISHIYAMA
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$B%+%F%4%je(B: core
ruby -v: ruby 1.9.2dev (2009-07-31 trunk 24331) [i686-linux]

chkbuild e$B$N%m%0$r8+$k$He(B mspec e$B$Ge(B SIGABRT
e$B$,=P$F$$$^$9$,!"e(Blib/mspec/mocks/mock.rb e$B$N0lIt$Ne(B
SpecExpectation.fail_with(
"Mock #{name_or_inspect obj} expected to receive
#{key.last} "
"#{qualifier.to_s.sub(, ')} #{count} times",
but received it #{proxy.calls} times)
e$B$H$$$&$H$3$m$GH/@8$7$F$$$F!"$5$i$K9J$j9~$s$G$
$?$H$3$m!e(B
#{}#{} "
e$B$G:F8=$9$k$h$&$G$9!#e(B

% ruby-trunk -e "#{}""#{} "
-e: [BUG] Segmentation fault
ruby 1.9.2dev (2009-07-31 trunk 24331) [i686-linux]

control frame ----------
c:0001 p:0000 s:0002 b:0002 l:000ffc d:000ffc TOP

C level backtrace information

/home/kazu/opt/ruby-trunk/lib/libruby.so.1.9(rb_vm_bugreport+0x87)
[0xb7f7d367]
/home/kazu/opt/ruby-trunk/lib/libruby.so.1.9 [0xb7e6e5a9]
/home/kazu/opt/ruby-trunk/lib/libruby.so.1.9(rb_bug+0x42) [0xb7e6e62d]
/home/kazu/opt/ruby-trunk/lib/libruby.so.1.9 [0xb7f0fd89]
[0xb7fdf440]
/home/kazu/opt/ruby-trunk/lib/libruby.so.1.9 [0xb7f57a15]
/home/kazu/opt/ruby-trunk/lib/libruby.so.1.9 [0xb7f57a65]
/home/kazu/opt/ruby-trunk/lib/libruby.so.1.9 [0xb7f606f9]
/home/kazu/opt/ruby-trunk/lib/libruby.so.1.9(rb_iseq_compile_node+0x403)
[0xb7f552bc]
/home/kazu/opt/ruby-trunk/lib/libruby.so.1.9 [0xb7f660fb]
/home/kazu/opt/ruby-trunk/lib/libruby.so.1.9(rb_iseq_new_with_opt+0x43)
[0xb7f66152]
/home/kazu/opt/ruby-trunk/lib/libruby.so.1.9(rb_iseq_new_main+0x7b)
[0xb7f66070]
/home/kazu/opt/ruby-trunk/lib/libruby.so.1.9 [0xb7f0dbf9]
/home/kazu/opt/ruby-trunk/lib/libruby.so.1.9(ruby_process_options+0x70)
[0xb7f0ee06]
/home/kazu/opt/ruby-trunk/lib/libruby.so.1.9(ruby_options+0x99)
[0xb7e72aa4]
ruby-trunk(main+0x7c) [0x80487f0]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7c5e450]
ruby-trunk [0x8048711]

[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

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