[MacRuby-devel] [MacRuby] #165: MacRuby broken on 10.5

MacRuby ruby-noreply at macosforge.org
Wed Nov 19 05:52:12 PST 2008


#165: MacRuby broken on 10.5
--------------------------------+-------------------------------------------
 Reporter:  self at mattmower.com  |       Owner:  lsansonetti at apple.com  
     Type:  defect              |      Status:  new                    
 Priority:  blocker             |   Milestone:  MacRuby 0.4            
Component:  MacRuby             |    Keywords:  crash,bridge support,gc
--------------------------------+-------------------------------------------
 I just got a bug report from a tester about Elysium (which embed MacRuby
 r746) and he has a new crash:

 {{{
 Process:         Elysium [7269]
 Path:            /Users/stu/Downloads/Elysium.app/Contents/MacOS/Elysium
 Identifier:      com.lucidmac.Elysium
 Version:         ??? (0.7.9.9)
 Code Type:       X86 (Native)
 Parent Process:  launchd [109]

 Date/Time:       2008-11-19 12:26:03.366 +0000
 OS Version:      Mac OS X 10.5.5 (9F33)
 Report Version:  6

 Exception Type:  EXC_BREAKPOINT (SIGTRAP)
 Exception Codes: 0x0000000000000002, 0x0000000000000000
 Crashed Thread:  0

 Application Specific Information:
 objc[7269]: garbage collection is ON
 *** Terminating app due to uncaught exception 'RuntimeError', reason:
 'dlopen(/System/Library/Frameworks/CoreFoundation.framework/Resources/BridgeSupport/CoreFoundation.dylib,
 1): no suitable image found.  Did find:
 /System/Library/Frameworks/CoreFoundation.framework/Resources/BridgeSupport/CoreFoundation.dylib:
 GC capability mismatch'

 Thread 0 Crashed:
 0   com.apple.CoreFoundation            0x9278bff4
 ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 4
 1   libobjc.A.dylib                     0x92afee3b objc_exception_throw +
 40
 2   com.apple.CoreFoundation            0x9278bc71 -[NSException raise] +
 17
 3   libmacruby.1.9.0.dylib              0x002f4978
 rb_raise_ruby_exc_in_objc + 344
 4   libmacruby.1.9.0.dylib              0x002f4aa0 evaluateString_rescue +
 16
 5   libmacruby.1.9.0.dylib              0x002053a3 rb_rescue2 + 435
 6   libmacruby.1.9.0.dylib              0x002f4af8 -[MacRuby
 evaluateString:] + 72
 7   com.lucidmac.Elysium                0x00016467 -[ElysiumController
 initMacRuby] + 292
 8   com.lucidmac.Elysium                0x0001633d -[ElysiumController
 awakeFromNib] + 72
 9   com.apple.CoreFoundation            0x9279a955 -[NSSet
 makeObjectsPerformSelector:] + 181
 10  com.apple.AppKit                    0x94c7caca -[NSIBObjectData
 nibInstantiateWithOwner:topLevelObjects:] + 1533
 11  com.apple.AppKit                    0x94c72cf6 loadNib + 264
 12  com.apple.AppKit                    0x94c72658
 +[NSBundle(NSNibLoading)
 _loadNibFile:nameTable:withZone:ownerBundle:] + 946
 13  com.apple.AppKit                    0x94c7229b
 +[NSBundle(NSNibLoading)
 loadNibFile:externalNameTable:withZone:] + 171
 14  com.apple.AppKit                    0x94c721d9
 +[NSBundle(NSNibLoading)
 loadNibNamed:owner:] + 391
 15  com.apple.AppKit                    0x94c71e88 NSApplicationMain + 434
 16  com.lucidmac.Elysium                0x00002670 main + 30
 17  com.lucidmac.Elysium                0x00002626 start + 54
 }}}

 Talking with Alloy we think the difference is that on my machine I have
 built and installed MacRuby which means that the rake task for fixing the
 bridge support dylibs has been run, whereas on his machine (since he just
 gems my embedded MacRuby) it has not.

 This would appear to mean that any application embedding MacRuby will be
 broken on 10.5

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



More information about the MacRuby-devel mailing list