[MacRuby] #1041: Segmentation fault during execution
MacRuby
ruby-noreply at macosforge.org
Wed Dec 15 03:54:31 PST 2010
#1041: Segmentation fault during execution
-------------------------------------+--------------------------------------
Reporter: jmancuso@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords:
-------------------------------------+--------------------------------------
Comment(by arthur@…):
Okay, here's a reduction of what gives me a crash:
{{{
require 'find'
require 'digest'
digest = Digest::SHA2.new(512) # weird, but it matters.
# I started with my whole home dir, but this is where it hangs.
# Note History/ contains ~48,000 and I haven't been able to easily narrow
it down further.
path = "/Users/Arthur/Library/Caches/Metadata/Safari/History/"
Find.find(path) { }
}}}
And the typical result:
{{{
A8:~ Arthur$ time macruby segfault.rb
real 3m13.380s
user 5m12.754s
sys 0m10.146s
}}}
It always segfaults and usually takes ~5 minutes but is sometimes much
faster. Since the directory is Safari history, I may be confusing things
by having safari open.
more detail, and a crash report at [https://gist.github.com/741609]
--
Ticket URL: <http://www.macruby.org/trac/ticket/1041#comment:4>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list