Issue #7855 has been reported by nathanaeljones (Nathanael Jones). ---------------------------------------- Bug #7855: Rare segfault within yielding block https://bugs.ruby-lang.org/issues/7855 Author: nathanaeljones (Nathanael Jones) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-darwin12.2.0] I'm getting a segfault every few days inside an enumerator yield block: Enumerator.new do |y| cache.each do |k,v| y << v if yield(v) #segfaulting here every million executions or so end end Source code: https://github.com/nathanaeljones/hardwired/blob/m... Full crash info https://gist.github.com/nathanaeljones/4686226 Another instance it happened https://gist.github.com/nathanaeljones/4957920
on 2013-02-15 02:32
on 2013-02-17 06:05
Issue #7855 has been updated by ko1 (Koichi Sasada). Status changed from Open to Feedback Target version set to next minor Could you give us more small reproduce-able code? I'm not sure it is core's matter or 3rd party issue. ---------------------------------------- Bug #7855: Rare segfault within yielding block https://bugs.ruby-lang.org/issues/7855#change-36369 Author: nathanaeljones (Nathanael Jones) Status: Feedback Priority: Normal Assignee: Category: Target version: next minor ruby -v: ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-darwin12.2.0] I'm getting a segfault every few days inside an enumerator yield block: Enumerator.new do |y| cache.each do |k,v| y << v if yield(v) #segfaulting here every million executions or so end end Source code: https://github.com/nathanaeljones/hardwired/blob/m... Full crash info https://gist.github.com/nathanaeljones/4686226 Another instance it happened https://gist.github.com/nathanaeljones/4957920
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.