[MacRuby] #1102: segfault when trying const_get on unitialized constant with rspec2

MacRuby ruby-noreply at macosforge.org
Thu Jan 6 14:09:21 PST 2011


#1102: segfault when trying const_get on unitialized constant with rspec2
------------------------------------+---------------------------------------
 Reporter:  mrada@…                 |       Owner:  lsansonetti@…        
     Type:  defect                  |      Status:  new                  
 Priority:  blocker                 |   Milestone:                       
Component:  MacRuby                 |    Keywords:                       
------------------------------------+---------------------------------------
 When I try to run const_get inside of a begin/rescue/end statement it
 should be safe, but when I try to spec the code in rspec it causes MacRuby
 to segfault instead of rescuing.

 I was using rspec 2.4 with the latest nightly build (Jan 6).

 This may be related to ticket #1095, I have attached a reduced script.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1102>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list