[MacRuby] #1041: Segmentation fault during execution
MacRuby
ruby-noreply at macosforge.org
Thu Dec 16 13:41:24 PST 2010
#1041: Segmentation fault during execution
-------------------------------------+--------------------------------------
Reporter: jmancuso@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords:
-------------------------------------+--------------------------------------
Comment(by jmancuso@…):
I modified the script as such:
{{{
require 'digest'
require 'find'
path = "/Users/jmancuso"
digest = Digest::SHA2.new(512)
f = File.new("/tmp/loggy", "w+")
Find.find(path) do |entry|
f.puts entry
f.flush
if File.file?(entry) or File.directory?(entry)
stat = File.stat(entry)
digest.update("#{entry} - #{stat.mtime} - #{stat.size}")
end
end
f.close
}}}
and it took 4 runs to crash - last entry printed was:
{{{
/Users/jmancuso/Library/Logs/CrashReporter/MobileDevice/iPhone-
26000c54/Panics/2010-08-24-080638.panic.plist
/Users/jmancuso/Library/Logs/CrashReporter/MobileDevice/jPhone
}}}
Nothing particularly deep.
I've also gotten this twice now - an Abort trap instead of a segfault
{{{
unknown: [BUG] destination 0x200212ea8 isn't in the auto zone
MacRuby 0.8 (ruby 1.9.2) [universal-darwin10.0, x86_64]
}}}
I can go through and build MacRuby but I don't have llvm installed/built
and it looks like it'll easily chew through an hour or two getting it all
set up but I'd be willing to if nobody else can reduce this.
--
Ticket URL: <http://www.macruby.org/trac/ticket/1041#comment:10>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list