Issue Type: Bug Bug
Affects Versions: JRuby 1.7.2
Assignee: Unassigned
Components: Core Classes/Modules
Created: 06/Mar/13 8:07 AM
Description:

When running with Celluloid, it is sometimes useful to dump stacks for debugging purposes. Under JRuby I periodically get crashes due to Thread#backtrace returning nil instead of an array.

I tried rerunning with -Xerrno.backtrace=true just in case that was related. It still crashes but I get a different backtrace. Both are included in the gist.

https://gist.github.com/chuckremes/5099307

Unfortunately I do not have a small code repro. The crashes occur when running a very multi-threaded celluloid project (closed) and always happens within a minute or two of execution. I'm hopeful that it's easy to see a logic branch within the backtrace-generating code that might return nil instead of an array (even an empty one).

Environment: OSX with jdk8 1.8.0-b72 (Charlie's build)
Project: JRuby
Labels: thread celluloid fiber backtrace
Priority: Major Major
Reporter: Chuck Remes
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to