[MacRuby] #1055: running RSpec with MacRuby 0.9 r5038 and greater causes seg. fault
MacRuby
ruby-noreply at macosforge.org
Sat Dec 18 21:34:08 PST 2010
#1055: running RSpec with MacRuby 0.9 r5038 and greater causes seg. fault
---------------------------+------------------------------------------------
Reporter: haxie1@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
---------------------------+------------------------------------------------
Comment(by watson1978@…):
From about 12/16, MacRuby surely crash in "language/constants_spec.rb"
frequently.
However, did not crash with spec in MacRuby repository even if I delete
tag file.
BackTrace:
{{{
Literal (A::X) constant resolution with dynamically assigned constants
- searches the immediate class or module scope first
- searches a module included in the immediate class before the superclass
- searches the superclass before a module included in the superclass
- searches a module included in the superclass
- searches the superclass chain
- searches Object if no class or module qualifier is given
- searches Object if a toplevel qualifier (::X) is given
- does not search the singleton class of the class or module
- returns the updated value when a constant is reassigned
Constant resolution within methods
- raises a NameError if no constant is defined in the search path
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x00007fff80009700 in _class_getSuperclass ()
(gdb) bt 10
#0 0x00007fff80009700 in _class_getSuperclass ()
#1 0x000000010002a09f in rb_objc_type ()
#2 0x00000001000eaa38 in rb_ivar_defined ()
#3 0x0000000100154710 in rb_vm_const_lookup ()
#4 0x0000000102d5a8d6 in ?? ()
#5 0x000000010014c7e6 in rb_vm_dispatch ()
#6 0x0000000102d5a4d6 in ?? ()
#7 0x0000000102dd2ef0 in ?? ()
#8 0x000000010014daa9 in rb_vm_block_eval ()
#9 0x000000010014c195 in rb_vm_dispatch ()
(More stack frames follow...)
(gdb)
}}}
Unfortunately I do not yet understand a simple reproduction script.
--
Ticket URL: <http://www.macruby.org/trac/ticket/1055#comment:3>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list