# \[Bug #1842\] mspec $B$G(B SIGABRT

**URL:** <https://www.ruby-forum.com/t/bug-1842-mspec-b-g-b-sigabrt/172976>\
**Category:** Development\
**Created:** [July 30, 2009, 6:42pm UTC](https://www.ruby-forum.com/t/bug-1842-mspec-b-g-b-sigabrt/172976 "2009-07-30T18:42:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/77aa72/32.png) [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Post date:** [July 30, 2009, 6:42pm UTC](https://www.ruby-forum.com/t/bug-1842-mspec-b-g-b-sigabrt/172976/1 "2009-07-30T18:42:59Z")

</div>

Bug #1842: mspec e$B$Ge(B SIGABRT  
[http://redmine.ruby-lang.org/issues/show/1842](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](http://www.ruby-lang.org/bugreport.html)
