[MacRuby] #845: This code gives me a segfault
#845: This code gives me a segfault -------------------------------+-------------------------------------------- Reporter: maccman@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: rake hotcocoa -------------------------------+-------------------------------------------- {{{ require 'rubygems' require 'rake' require 'hotcocoa' }}} I'm running the nightly build. Looks like a conflict between rake and hotcocoa. This is the backtrace from gdb: #0 0x00007fff867d35f0 in object_getClass () #1 0x00000001000ecd23 in rb_objc_nsnumber2numeric () #2 0x0000000105b84550 in ?? () #3 0x00007fff8230920f in -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] () #4 0x00007fff8230b74a in +[NSDictionary dictionaryWithObject:forKey:] () #5 0x00000001000ed010 in rb_rb2oc_exception () #6 0x0000000100153d2d in rb_vm_raise () #7 0x000000010003f999 in rb_exc_raise () #8 0x000000010003e464 in rb_raise () #9 0x000000010004868e in rb_require_safe () #10 0x000000010014160b in rb_vm_dispatch () #11 0x0000000100fa642f in vm_dispatch () -- Ticket URL: <http://www.macruby.org/trac/ticket/845> MacRuby <http://macruby.org/>
#845: This code gives me a segfault -------------------------------+-------------------------------------------- Reporter: maccman@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: rake hotcocoa -------------------------------+-------------------------------------------- Comment(by maccman@…): So I've narrowed it down to these lines: {{{ require 'rake' framework 'Cocoa' }}} If you reverse the order of those two lines, everything's fine. -- Ticket URL: <http://www.macruby.org/trac/ticket/845#comment:1> MacRuby <http://macruby.org/>
#845: This code gives me a segfault -------------------------------+-------------------------------------------- Reporter: maccman@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: Component: MacRuby | Resolution: duplicate Keywords: rake hotcocoa | -------------------------------+-------------------------------------------- Changes (by martinlagardette@…): * status: new => closed * resolution: => duplicate Comment: Duplicate of #815 -- Ticket URL: <http://www.macruby.org/trac/ticket/845#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby