JRuby crashes after running 110 RSpec examples
----------------------------------------------
Key: JRUBY-2983
URL: http://jira.codehaus.org/browse/JRUBY-2983
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.1.4
Environment: $ uname -a
Linux yantram 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686
GNU/Linux
$ jruby --version
jruby 1.1.4 (ruby 1.8.6 patchlevel 114) (2008-08-28 rev 7570) [i386-java]
Reporter: Suraj Kurapati
Assignee: Thomas E Enebo
JRuby crashes after running 110 RSpec examples in my application. The examples
all pass, but before RSpec gets a chance to print out its status message
(telling you how many examples passed/failed) in its Kernel#at_exit() handler,
JRuby 1.1.4 crashes with the following stack trace:
java.lang.ArrayIndexOutOfBoundsException: 16
at
org.jruby.runtime.scope.ManyVarsDynamicScope.setValue(ManyVarsDynamicScope.java:163)
at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:115)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at org.jruby.ast.RescueBodyNode.interpret(RescueBodyNode.java:101)
at org.jruby.ast.RescueNode.handleException(RescueNode.java:187)
at
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:147)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:107)
at org.jruby.ast.BeginNode.interpret(BeginNode.java:80)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at org.jruby.ast.RootNode.interpret(RootNode.java:126)
at org.jruby.Ruby.loadFile(Ruby.java:2107)
at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:58)
at org.jruby.runtime.load.LoadService.load(LoadService.java:221)
at org.jruby.RubyKernel.load(RubyKernel.java:830)
at
org.jruby.RubyKernel$s_method_0_1$RUBYFRAMEDINVOKER$load.call(org/jruby/RubyKernel$s_method_0_1$RUBYFRAMEDINVOKER$load.gen)
at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:242)
at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:151)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:156)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:394)
at
home.sun.app.zzz_minus_jruby_minus_1_dot_1_dot_4.bin.rcov.__file__(rcov:19)
at
home.sun.app.zzz_minus_jruby_minus_1_dot_1_dot_4.bin.rcov.__file__(rcov)
at home.sun.app.zzz_minus_jruby_minus_1_dot_1_dot_4.bin.rcov.load(rcov)
at org.jruby.Ruby.runScript(Ruby.java:544)
at org.jruby.Ruby.runNormally(Ruby.java:457)
at org.jruby.Ruby.runFromMain(Ruby.java:330)
at org.jruby.Main.run(Main.java:214)
at org.jruby.Main.run(Main.java:100)
at
org.jruby.util.ShellLauncher$ScriptThreadProcess.run(ShellLauncher.java:99)
at java.lang.Thread.run(Thread.java:619)
--
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