[MacRuby-devel] [MacRuby] #815: Macrake crashes at initialization
MacRuby
ruby-noreply at macosforge.org
Tue Jul 27 23:31:22 PDT 2010
#815: Macrake crashes at initialization
-------------------------------+--------------------------------------------
Reporter: legrand@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: critical | Milestone: MacRuby 0.7
Component: MacRuby | Keywords:
-------------------------------+--------------------------------------------
Running macrake without any argument results in a segmentation fault.
Macrake also fails on trivial rake files with the same stack.
It appears that object_getClass gets called with an invalid pointer (value
8) by rb_objc_nsnumber2numeric.
{{{
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000008
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Application Specific Information:
objc[86966]: garbage collection is ON
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x00007fff8348c5f0 object_getClass
+ 11
1 libmacruby.dylib 0x00000001000dc123
rb_objc_nsnumber2numeric + 19
2 ??? 0x0000000103aa6100 0 + 4356464896
3 com.apple.CoreFoundation 0x00007fff81dcb20f
-[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 783
4 com.apple.CoreFoundation 0x00007fff81dcd74a +[NSDictionary
dictionaryWithObject:forKey:] + 58
5 libmacruby.dylib 0x00000001000dc410
rb_rb2oc_exception + 96
6 libmacruby.dylib 0x0000000100142a5d rb_vm_raise +
429
7 libmacruby.dylib 0x000000010003027b
rb_make_exception + 523
8 libmacruby.dylib 0x0000000100130399 rb_vm_dispatch
+ 6841
}}}
Let me know if more information is required.
--
Ticket URL: <http://www.macruby.org/trac/ticket/815>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list