[MacRuby] #694: framework 'Cocoa' in macirb crashes 0.6, 0.7
#694: framework 'Cocoa' in macirb crashes 0.6, 0.7 ---------------------------------+------------------------------------------ Reporter: marick@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: ---------------------------------+------------------------------------------ {{{ 787 $ macirb irb(main):001:0> framework 'Cocoa' framework 'Cocoa' unknown: [BUG] Segmentation fault MacRuby version 0.7 (ruby 1.9.0) [universal-darwin10.0, x86_64] Abort trap 788 $ }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/694> MacRuby <http://macruby.org/>
#694: framework 'Cocoa' in macirb crashes 0.6, 0.7 ---------------------------------+------------------------------------------ Reporter: marick@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: ---------------------------------+------------------------------------------ Comment(by hghoehne@…): {{{ macirb irb(main):001:0> framework 'Cocoa' => true irb(main):002:0> MACRUBY_REVISION => "svn revision 4025 from http://svn.macosforge.org/repository/ruby/MacRuby/trunk" }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/694#comment:1> MacRuby <http://macruby.org/>
#694: framework 'Cocoa' in macirb crashes 0.6, 0.7 ---------------------------------+------------------------------------------ Reporter: marick@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: ---------------------------------+------------------------------------------ Comment(by martinlagardette@…): No issue here either: {{{ $> macirb irb(main):001:0> framework 'Cocoa' => true irb(main):002:0> MACRUBY_REVISION => "svn revision 4032 from http://svn.macosforge.org/repository/ruby/MacRuby/trunk" }}} Can you give a little more details? -- Ticket URL: <http://www.macruby.org/trac/ticket/694#comment:2> MacRuby <http://macruby.org/>
#694: framework 'Cocoa' in macirb crashes 0.6, 0.7 ---------------------------------+------------------------------------------ Reporter: marick@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: ---------------------------------+------------------------------------------ Comment(by lsansonetti@…): Please attach the crash log file (you can find it in ~/Library/Logs/CrashReporter) or a gdb backtrace. -- Ticket URL: <http://www.macruby.org/trac/ticket/694#comment:3> MacRuby <http://macruby.org/>
#694: framework 'Cocoa' in macirb crashes 0.6, 0.7 ---------------------------------+------------------------------------------ Reporter: marick@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: major | Milestone: Component: MacRuby | Resolution: worksforme Keywords: | ---------------------------------+------------------------------------------ Changes (by lsansonetti@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <http://www.macruby.org/trac/ticket/694#comment:4> MacRuby <http://macruby.org/>
#694: framework 'Cocoa' in macirb crashes 0.6, 0.7 ---------------------------------+------------------------------------------ Reporter: marick@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: major | Milestone: Component: MacRuby | Resolution: worksforme Keywords: | ---------------------------------+------------------------------------------ Comment(by marick@…): => "svn revision 4028 from http://svn.macosforge.org/repository/ruby/MacRuby/trunk" I've added the crash log but left the bug closed. -- Ticket URL: <http://www.macruby.org/trac/ticket/694#comment:5> MacRuby <http://macruby.org/>
#694: framework 'Cocoa' in macirb crashes 0.6, 0.7 ---------------------------------+------------------------------------------ Reporter: marick@… | Owner: lsansonetti@… Type: defect | Status: reopened Priority: major | Milestone: Component: MacRuby | Resolution: Keywords: | ---------------------------------+------------------------------------------ Changes (by lsansonetti@…): * status: closed => reopened * resolution: worksforme => Comment: That's an interesting crash... re-opening the bug. Do you still happen to reproduce it? -- Ticket URL: <http://www.macruby.org/trac/ticket/694#comment:6> MacRuby <http://macruby.org/>
#694: framework 'Cocoa' in macirb crashes 0.6, 0.7 ---------------------------------+------------------------------------------ Reporter: marick@… | Owner: lsansonetti@… Type: defect | Status: reopened Priority: major | Milestone: Component: MacRuby | Resolution: Keywords: | ---------------------------------+------------------------------------------ Comment(by marick@…): Here's the cause. I normally don't use .irbrc, but I set one up a couple years ago and forgot it. It contains: {{{ require 'fileutils' include FileUtils::Verbose }}} Remove those lines and the crash goes away. -- Ticket URL: <http://www.macruby.org/trac/ticket/694#comment:7> MacRuby <http://macruby.org/>
#694: framework 'Cocoa' in macirb crashes 0.6, 0.7 ---------------------------------+------------------------------------------ Reporter: marick@… | Owner: lsansonetti@… Type: defect | Status: reopened Priority: major | Milestone: Component: MacRuby | Resolution: Keywords: | ---------------------------------+------------------------------------------ Comment(by lsansonetti@…): Thanks for the reduction :) {{{ $ cat t2.rb require 'fileutils' include FileUtils::Verbose framework 'Cocoa' $ ./miniruby t2.rb Segmentation fault: 11 }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/694#comment:8> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby