Chris Rogers created JRUBY-6566:
-----------------------------------
Summary: Hang/deadlock during unsafe concurrent access to a Hash
Key: JRUBY-6566
URL: https://jira.codehaus.org/browse/JRUBY-6566
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.6.7
Environment: Ubuntu 10.10 x86_64
Reporter: Chris Rogers
Priority: Minor
Attachments: dump.txt
Dump is attached, showing two threads stuck in org.jruby.RubyHash.internalPut.
This hang persists until the process is killed.
I think this arises from non-thread-safe code in [an obsolete version of
ActiveSupport|http://apidock.com/rails/Class/inheritable_attributes]. However,
AFAIK this should result in an exception instead of a hang.
This only reproduces infrequently (maybe 1 in 100 attempts), and I haven't been
able to construct a simpler test case.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
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