Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1.3
-
Fix Version/s: JRuby 1.1.4
-
Component/s: Compiler
-
Labels:None
-
Environment:Vista x86, jdk 1.6.0 Update 7
Description
Application crashes with JRuby 1.1.3 (no problems with JRuby 1.1.2 or earlier):
# # An unexpected error has been detected by Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d8a1392, pid=4576, tid=5776 # # Java VM: Java HotSpot(TM) Client VM (10.0-b23 mixed mode, sharing windows-x86) # Problematic frame: # V [jvm.dll+0x31392] # [...] Java Threads: ( => current thread ) [...] =>0x01f04c00 JavaThread "CompilerThread0" daemon [_thread_in_native, id=5776, stack(0x00910000,0x00960000)] [...] Current CompileTask: C1:2778 ! ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_3.lib.ruby.$1_dot_8.rexml.parsers.streamparser.parse31389825_10994782.rescue_1$RUBY$__rescue__(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject; (1957 bytes)
The full hs_err-file is attached to this issue.
Charles Oliver Nutter suggested (http://archive.hausfoundation.org/lists/org.codehaus.jruby.user/msg/488D6F2D.4010106@sun.com) specifying jruby.jit.exclude=parse, which indeed solves the problem.
An alternative solution (http://archive.hausfoundation.org/lists/org.codehaus.jruby.user/msg/488D6F2D.4010106@sun.com) to the problem: adding the --server option to use the HotSpot server VM.