Thread Safety issue with JRuby 1.3 RC1 - JRuby abnormally exit --------------------------------------------------------------
Key: JRUBY-3626 URL: http://jira.codehaus.org/browse/JRUBY-3626 Project: JRuby Issue Type: Bug Components: Interpreter Affects Versions: JRuby 1.3RC1 Environment: All Reporter: Jean-Dominique Morani Priority: Blocker Fix For: JRuby 1.3 The following error is returned randomly when stress testing a multi threaded application which was running properly with Jruby 1.2.0. Unfortunately, I've not been able to reduce the issue to a simple test case yet. Exception in thread "Thread-13" java.lang.NegativeArraySizeException at org.jruby.RubyThreadGroup.list(RubyThreadGroup.java:126) at org.jruby.RubyThreadGroup$i_method_0_0$RUBYFRAMEDINVOKER$list.call(org/jruby/RubyThreadGroup$i_method_0_0$RUBYFRAMEDINVOKER$list.gen) at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrNBlock.call(JavaMethod.java:242) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:75) at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61) at org.jruby.ast.DAsgnNode.interpret(DAsgnNode.java:110) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.ast.RescueNode.executeBody(RescueNode.java:225) at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:147) at org.jruby.ast.RescueNode.interpret(RescueNode.java:110) at org.jruby.ast.BeginNode.interpret(BeginNode.java:83) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.WhileNode.interpret(WhileNode.java:131) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96) at org.jruby.ast.BeginNode.interpret(BeginNode.java:83) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:218) at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:206) at org.jruby.runtime.BlockBody.call(BlockBody.java:72) at org.jruby.runtime.BlockBody.call(BlockBody.java:78) at org.jruby.runtime.Block.call(Block.java:89) at org.jruby.RubyProc.call(RubyProc.java:216) at org.jruby.RubyProc.call(RubyProc.java:199) at org.jruby.internal.runtime.RubyRunnable.run(RubyRunnable.java:92) at java.lang.Thread.run(Thread.java:797) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.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