Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jRuby 9.00.00.. crashed with JDK 1.8.u40 #2708

Closed
aplatypus opened this issue Mar 16, 2015 · 5 comments
Closed

jRuby 9.00.00.. crashed with JDK 1.8.u40 #2708

aplatypus opened this issue Mar 16, 2015 · 5 comments

Comments

@aplatypus
Copy link

Hi all,

--------[ console output ]--------
jruby -S gem list --remote

*** REMOTE GEMS ***
A fatal error has been detected by the Java Runtime Environment:

  • EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000007781dd50, pid=1644, tid=8716
  • JRE version: Java(TM) SE Runtime Environment (8.0_40-b25) (build 1.8.0_40-b25)
  • Java VM: Java HotSpot(TM) 64-Bit Server VM (25.40-b25 mixed mode windows-amd64 compressed oops)
  • Problematic frame:
  • V [jvm.dll+0xadd50]

Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

An error report file with more information is saved as:

  • D:.lib\hs_err_pid1644.log
@aplatypus
Copy link
Author

LOG file:

*  D:.lib\**hs_err_pid1644**.log
Shown below.

--------[ log file ]--------
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000007781dd50, pid=1644, tid=8716
#
# JRE version: Java(TM) SE Runtime Environment (8.0_40-b25) (build 1.8.0_40-b25)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.40-b25 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# V  [jvm.dll+0xadd50]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x00000000021f1000):  GCTaskThread [stack: 0x0000000011e00000,0x0000000011f00000] [id=8716]

siginfo: ExceptionCode=0xc0000005, reading address 0x0000000072756f6f

Registers:
RAX=0x0000000000000000, RBX=0x00000000ff058990, RCX=0x00000000ff058990, RDX=0x0000000072756f67
RSP=0x0000000011eff8d8, RBP=0x0000000002376a81, RSI=0x0000000053dcc0c0, RDI=0x00000000e1941e20
R8 =0x0000000053dcc0c0, R9 =0x00000000fd030940, R10=0x000000000000000c, R11=0x000000000000000c
R12=0x0000000002376a0e, R13=0x00000005134407a8, R14=0x0000000000000000, R15=0x00000000021ea7c0
RIP=0x000000007781dd50, EFLAGS=0x0000000000010202

Top of Stack: (sp=0x0000000011eff8d8)
0x0000000011eff8d8:   0000000077b680a2 00000000f7b5f580
0x0000000011eff8e8:   0000000053dcc0c0 0000000053dcc0c0
0x0000000011eff8f8:   00000000ff03de0c 00000000fdc03ba8
0x0000000011eff908:   0000000000001000 0000000053dcc0c0
0x0000000011eff918:   0000000077881073 0000000000000000
0x0000000011eff928:   0000000053dcc000 0000000002376a0e
0x0000000011eff938:   0000000077b68410 00000000fdc080dc
0x0000000011eff948:   0000000002376a81 0000000053dcc0c0
0x0000000011eff958:   00000000e1941e20 00000000fdc080dc
0x0000000011eff968:   0000000077b68fb5 00000000fca40710
0x0000000011eff978:   0000000002376a81 0000000053dcc0c0
0x0000000011eff988:   0000000000000005 0000000053dcc0c0
0x0000000011eff998:   0000000053dcc0c0 0000000000000000
0x0000000011eff9a8:   0000000077882e77 0000000053dcc0c0
0x0000000011eff9b8:   0000000077881073 00000000e1941d41
0x0000000011eff9c8:   00000000e1941d41 00000000e19001a0 

Instructions: (pc=0x000000007781dd50)
0x000000007781dd30:   6c 94 1d 00 48 8b 9c 24 d0 00 00 00 48 81 c4 c0
0x000000007781dd40:   00 00 00 5d c3 cc cc cc cc cc cc cc cc cc cc cc
0x000000007781dd50:   44 8b 42 08 4c 8b ca 45 85 c0 7e 0e 41 f6 c0 01
0x000000007781dd60:   75 57 41 c1 f8 03 41 8b c0 c3 79 4d 80 3d 6e bf 


Register to memory mapping:

RAX=0x0000000000000000 is an unknown value
RBX=0x00000000ff058990 is an oop

[error occurred during error reporting (printing register info), id 0xc0000005]

Stack: [0x0000000011e00000,0x0000000011f00000],  sp=0x0000000011eff8d8,  free space=1022k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [jvm.dll+0xadd50]


---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x0000000058ed7800 JavaThread "Ruby-0-JIT-1" daemon [_thread_blocked, id=7444, stack(0x000000005a0b0000,0x000000005a2b0000)]
  0x00000000555bc000 JavaThread "Service Thread" daemon [_thread_blocked, id=8124, stack(0x0000000055f90000,0x0000000056190000)]
  0x00000000555a7800 JavaThread "C1 CompilerThread2" daemon [_thread_blocked, id=176, stack(0x0000000054dd0000,0x0000000054ed0000)]
  0x00000000555a6800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=4896, stack(0x0000000055240000,0x0000000055340000)]
  0x0000000053e3f000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=6088, stack(0x0000000055c10000,0x0000000055d10000)]
  0x0000000053e3c000 JavaThread "Attach Listener" daemon [_thread_blocked, id=6408, stack(0x0000000055d40000,0x0000000055f40000)]
  0x0000000053e39000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4140, stack(0x0000000055a10000,0x0000000055c10000)]
  0x0000000053ddf000 JavaThread "Finalizer" daemon [_thread_blocked, id=3820, stack(0x00000000553a0000,0x00000000555a0000)]
  0x0000000053dd8000 JavaThread "Reference Handler" daemon [_thread_blocked, id=8980, stack(0x0000000054fe0000,0x00000000551e0000)]
  0x00000000001bf000 JavaThread "main" [_thread_blocked, id=7200, stack(0x0000000002520000,0x0000000002720000)]

Other Threads:
  0x0000000053dce800 VMThread [stack: 0x0000000054ee0000,0x0000000054fe0000] [id=8212]
  0x00000000555c0000 WatcherThread [stack: 0x00000000561e0000,0x00000000562e0000] [id=6460]

=>0x00000000021f1000 (exited) GCTaskThread [stack: 0x0000000011e00000,0x0000000011f00000] [id=8716]

VM state:at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
[0x00000000021d8a00] Threads_lock - owner thread: 0x0000000053dce800
[0x00000000021d8f00] Heap_lock - owner thread: 0x00000000001bf000

Heap:
 PSYoungGen      total 133120K, used 133101K [0x00000000f5980000, 0x00000000ff480000, 0x0000000100000000)
  eden space 117248K, 100% used [0x00000000f5980000,0x00000000fcc00000,0x00000000fcc00000)
  from space 15872K, 99% used [0x00000000fe500000,0x00000000ff47b6d0,0x00000000ff480000)
  to   space 19968K, 99% used [0x00000000fcd80000,0x00000000fe0fbba8,0x00000000fe100000)
 ParOldGen       total 123904K, used 55251K [0x00000000e0c00000, 0x00000000e8500000, 0x00000000f5980000)
  object space 123904K, 44% used [0x00000000e0c00000,0x00000000e41faca8,0x00000000e8500000)
 Metaspace       used 38102K, capacity 38744K, committed 38912K, reserved 1081344K
  class space    used 6666K, capacity 6864K, committed 6912K, reserved 1048576K

Card table byte_map: [0x0000000002370000,0x0000000002470000] byte_map_base: 0x0000000001c6a000

Marking Bits: (ParMarkBitMap*) 0x0000000077f74040
 Begin Bits: [0x00000000124a0000, 0x0000000012c70000)
 End Bits:   [0x0000000012c70000, 0x0000000013440000)

Polling page: 0x0000000000150000

CodeCache: size=245760Kb used=15879Kb max_used=16240Kb free=229880Kb
 bounds [0x00000000029f0000, 0x00000000039e0000, 0x00000000119f0000]
 total_blobs=6221 nmethods=5607 adapters=525
 compilation: enabled

Compilation events (10 events):
Event: 10.244 Thread 0x00000000555a6800 nmethod 6206 0x00000000031247d0 code [0x0000000003124920, 0x0000000003124ac8]
Event: 10.244 Thread 0x00000000555a6800 6207       4       org.jruby.RubyModule::searchMethod (9 bytes)
Event: 10.245 Thread 0x00000000555a6800 nmethod 6207 0x0000000002fe30d0 code [0x0000000002fe3220, 0x0000000002fe32a8]
Event: 10.251 Thread 0x0000000053e3f000 nmethod 6204 0x00000000034a8410 code [0x00000000034a8640, 0x00000000034a8f10]
Event: 10.259 Thread 0x00000000555a6800 6208 %     4       java.util.WeakHashMap::transfer @ 2 (107 bytes)
Event: 10.262 Thread 0x00000000555a6800 nmethod 6208% 0x0000000003293190 code [0x00000000032932e0, 0x0000000003293518]
Event: 10.262 Thread 0x0000000053e3f000 6209       4       java.util.WeakHashMap::transfer (107 bytes)
Event: 10.264 Thread 0x0000000053e3f000 nmethod 6209 0x00000000032c1e10 code [0x00000000032c1f60, 0x00000000032c20f8]
Event: 10.266 Thread 0x00000000555a6800 6210  s    4       org.jruby.RubyHash::resize (89 bytes)
Event: 10.270 Thread 0x00000000555a6800 nmethod 6210 0x00000000032be4d0 code [0x00000000032be620, 0x00000000032bea98]

GC Heap History (10 events):
Event: 3.378 GC heap after
Heap after GC invocations=6 (full 1):
 PSYoungGen      total 51712K, used 5104K [0x00000000f5980000, 0x00000000fbe80000, 0x0000000100000000)
  eden space 46592K, 0% used [0x00000000f5980000,0x00000000f5980000,0x00000000f8700000)
  from space 5120K, 99% used [0x00000000f8700000,0x00000000f8bfc010,0x00000000f8c00000)
  to   space 16384K, 0% used [0x00000000fae80000,0x00000000fae80000,0x00000000fbe80000)
 ParOldGen       total 64512K, used 25394K [0x00000000e0c00000, 0x00000000e4b00000, 0x00000000f5980000)
  object space 64512K, 39% used [0x00000000e0c00000,0x00000000e24cc850,0x00000000e4b00000)
 Metaspace       used 30499K, capacity 30836K, committed 30976K, reserved 1075200K
  class space    used 5479K, capacity 5566K, committed 5632K, reserved 1048576K
}
Event: 3.929 GC heap before
{Heap before GC invocations=7 (full 1):
 PSYoungGen      total 51712K, used 51696K [0x00000000f5980000, 0x00000000fbe80000, 0x0000000100000000)
  eden space 46592K, 100% used [0x00000000f5980000,0x00000000f8700000,0x00000000f8700000)
  from space 5120K, 99% used [0x00000000f8700000,0x00000000f8bfc010,0x00000000f8c00000)
  to   space 16384K, 0% used [0x00000000fae80000,0x00000000fae80000,0x00000000fbe80000)
 ParOldGen       total 64512K, used 25394K [0x00000000e0c00000, 0x00000000e4b00000, 0x00000000f5980000)
  object space 64512K, 39% used [0x00000000e0c00000,0x00000000e24cc850,0x00000000e4b00000)
 Metaspace       used 32750K, capacity 33230K, committed 33408K, reserved 1077248K
  class space    used 5795K, capacity 5940K, committed 6016K, reserved 1048576K
Event: 4.055 GC heap after
Heap after GC invocations=7 (full 1):
 PSYoungGen      total 87040K, used 11064K [0x00000000f5980000, 0x00000000fc700000, 0x0000000100000000)
  eden space 70656K, 0% used [0x00000000f5980000,0x00000000f5980000,0x00000000f9e80000)
  from space 16384K, 67% used [0x00000000fae80000,0x00000000fb94e0b8,0x00000000fbe80000)
  to   space 16384K, 0% used [0x00000000f9e80000,0x00000000f9e80000,0x00000000fae80000)
 ParOldGen       total 64512K, used 25402K [0x00000000e0c00000, 0x00000000e4b00000, 0x00000000f5980000)
  object space 64512K, 39% used [0x00000000e0c00000,0x00000000e24ce850,0x00000000e4b00000)
 Metaspace       used 32750K, capacity 33230K, committed 33408K, reserved 1077248K
  class space    used 5795K, capacity 5940K, committed 6016K, reserved 1048576K
}
Event: 4.318 GC heap before
{Heap before GC invocations=8 (full 1):
 PSYoungGen      total 87040K, used 27740K [0x00000000f5980000, 0x00000000fc700000, 0x0000000100000000)
  eden space 70656K, 23% used [0x00000000f5980000,0x00000000f69c9280,0x00000000f9e80000)
  from space 16384K, 67% used [0x00000000fae80000,0x00000000fb94e0b8,0x00000000fbe80000)
  to   space 16384K, 0% used [0x00000000f9e80000,0x00000000f9e80000,0x00000000fae80000)
 ParOldGen       total 64512K, used 25402K [0x00000000e0c00000, 0x00000000e4b00000, 0x00000000f5980000)
  object space 64512K, 39% used [0x00000000e0c00000,0x00000000e24ce850,0x00000000e4b00000)
 Metaspace       used 34847K, capacity 35342K, committed 35456K, reserved 1079296K
  class space    used 6292K, capacity 6452K, committed 6528K, reserved 1048576K
Event: 4.404 GC heap after
Heap after GC invocations=8 (full 1):
 PSYoungGen      total 87040K, used 10406K [0x00000000f5980000, 0x00000000ff480000, 0x0000000100000000)
  eden space 70656K, 0% used [0x00000000f5980000,0x00000000f5980000,0x00000000f9e80000)
  from space 16384K, 63% used [0x00000000f9e80000,0x00000000fa8a9938,0x00000000fae80000)
  to   space 15872K, 0% used [0x00000000fe500000,0x00000000fe500000,0x00000000ff480000)
 ParOldGen       total 64512K, used 28238K [0x00000000e0c00000, 0x00000000e4b00000, 0x00000000f5980000)
  object space 64512K, 43% used [0x00000000e0c00000,0x00000000e2793870,0x00000000e4b00000)
 Metaspace       used 34847K, capacity 35342K, committed 35456K, reserved 1079296K
  class space    used 6292K, capacity 6452K, committed 6528K, reserved 1048576K
}
Event: 4.404 GC heap before
{Heap before GC invocations=9 (full 2):
 PSYoungGen      total 87040K, used 10406K [0x00000000f5980000, 0x00000000ff480000, 0x0000000100000000)
  eden space 70656K, 0% used [0x00000000f5980000,0x00000000f5980000,0x00000000f9e80000)
  from space 16384K, 63% used [0x00000000f9e80000,0x00000000fa8a9938,0x00000000fae80000)
  to   space 15872K, 0% used [0x00000000fe500000,0x00000000fe500000,0x00000000ff480000)
 ParOldGen       total 64512K, used 28238K [0x00000000e0c00000, 0x00000000e4b00000, 0x00000000f5980000)
  object space 64512K, 43% used [0x00000000e0c00000,0x00000000e2793870,0x00000000e4b00000)
 Metaspace       used 34847K, capacity 35342K, committed 35456K, reserved 1079296K
  class space    used 6292K, capacity 6452K, committed 6528K, reserved 1048576K
Event: 4.623 GC heap after
Heap after GC invocations=9 (full 2):
 PSYoungGen      total 87040K, used 0K [0x00000000f5980000, 0x00000000ff480000, 0x0000000100000000)
  eden space 70656K, 0% used [0x00000000f5980000,0x00000000f5980000,0x00000000f9e80000)
  from space 16384K, 0% used [0x00000000f9e80000,0x00000000f9e80000,0x00000000fae80000)
  to   space 15872K, 0% used [0x00000000fe500000,0x00000000fe500000,0x00000000ff480000)
 ParOldGen       total 123904K, used 35628K [0x00000000e0c00000, 0x00000000e8500000, 0x00000000f5980000)
  object space 123904K, 28% used [0x00000000e0c00000,0x00000000e2ecb2a8,0x00000000e8500000)
 Metaspace       used 34847K, capacity 35342K, committed 35456K, reserved 1079296K
  class space    used 6292K, capacity 6452K, committed 6528K, reserved 1048576K
}
Event: 9.324 GC heap before
{Heap before GC invocations=10 (full 2):
 PSYoungGen      total 87040K, used 70656K [0x00000000f5980000, 0x00000000ff480000, 0x0000000100000000)
  eden space 70656K, 100% used [0x00000000f5980000,0x00000000f9e80000,0x00000000f9e80000)
  from space 16384K, 0% used [0x00000000f9e80000,0x00000000f9e80000,0x00000000fae80000)
  to   space 15872K, 0% used [0x00000000fe500000,0x00000000fe500000,0x00000000ff480000)
 ParOldGen       total 123904K, used 35628K [0x00000000e0c00000, 0x00000000e8500000, 0x00000000f5980000)
  object space 123904K, 28% used [0x00000000e0c00000,0x00000000e2ecb2a8,0x00000000e8500000)
 Metaspace       used 38052K, capacity 38670K, committed 38912K, reserved 1081344K
  class space    used 6666K, capacity 6862K, committed 6912K, reserved 1048576K
Event: 9.350 GC heap after
Heap after GC invocations=10 (full 2):
 PSYoungGen      total 133120K, used 15853K [0x00000000f5980000, 0x00000000ff480000, 0x0000000100000000)
  eden space 117248K, 0% used [0x00000000f5980000,0x00000000f5980000,0x00000000fcc00000)
  from space 15872K, 99% used [0x00000000fe500000,0x00000000ff47b6d0,0x00000000ff480000)
  to   space 19968K, 0% used [0x00000000fcd80000,0x00000000fcd80000,0x00000000fe100000)
 ParOldGen       total 123904K, used 40435K [0x00000000e0c00000, 0x00000000e8500000, 0x00000000f5980000)
  object space 123904K, 32% used [0x00000000e0c00000,0x00000000e337cca8,0x00000000e8500000)
 Metaspace       used 38052K, capacity 38670K, committed 38912K, reserved 1081344K
  class space    used 6666K, capacity 6862K, committed 6912K, reserved 1048576K
}
Event: 10.279 GC heap before
{Heap before GC invocations=11 (full 2):
 PSYoungGen      total 133120K, used 133101K [0x00000000f5980000, 0x00000000ff480000, 0x0000000100000000)
  eden space 117248K, 100% used [0x00000000f5980000,0x00000000fcc00000,0x00000000fcc00000)
  from space 15872K, 99% used [0x00000000fe500000,0x00000000ff47b6d0,0x00000000ff480000)
  to   space 19968K, 0% used [0x00000000fcd80000,0x00000000fcd80000,0x00000000fe100000)
 ParOldGen       total 123904K, used 40435K [0x00000000e0c00000, 0x00000000e8500000, 0x00000000f5980000)
  object space 123904K, 32% used [0x00000000e0c00000,0x00000000e337cca8,0x00000000e8500000)
 Metaspace       used 38102K, capacity 38744K, committed 38912K, reserved 1081344K
  class space    used 6666K, capacity 6864K, committed 6912K, reserved 1048576K

Deoptimization events (10 events):
Event: 9.870 Thread 0x00000000001bf000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002c913fc method=org.jruby.ir.interpreter.Interpreter.processCall(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/ir/instructions/Instr;Lorg/jruby/ir/Operation;Lorg/jruby/runtime/DynamicScopeÓ¬&”�½#@
Event: 9.870 Thread 0x00000000001bf000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000002dcf378 method=org.jruby.internal.runtime.methods.AttrReaderMethod.verifyAccessor(Lorg/jruby/RubyClass;)Lorg/jruby/runtime/ivars/VariableAccessor; @ 13
Event: 9.871 Thread 0x00000000001bf000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000002cfb5fc method=org.jruby.runtime.IRBlockBody.doYield(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Binding;Lorg/jruby/runtime/Block$Type;)Lorg/jb¤�Ñà½#@
Event: 9.871 Thread 0x00000000001bf000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000000000382c304 method=org.jruby.ir.interpreter.Interpreter.retrieveOp(Lorg/jruby/ir/operands/Operand;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Dyna0:
Event: 10.043 Thread 0x00000000001bf000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002dbaaec method=org.jruby.ir.interpreter.Interpreter.retrieveOp(Lorg/jruby/ir/operands/Operand;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/6�$fÙ�$@
Event: 10.043 Thread 0x00000000001bf000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002dbaaec method=org.jruby.ir.interpreter.Interpreter.retrieveOp(Lorg/jruby/ir/operands/Operand;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/�÷Z‰ß�$@
Event: 10.043 Thread 0x00000000001bf000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002dbaaec method=org.jruby.ir.interpreter.Interpreter.retrieveOp(Lorg/jruby/ir/operands/Operand;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/>äÔ ã�$@
Event: 10.043 Thread 0x00000000001bf000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002dbaaec method=org.jruby.ir.interpreter.Interpreter.retrieveOp(Lorg/jruby/ir/operands/Operand;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/¡õŠ}é�$@
Event: 10.043 Thread 0x00000000001bf000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002f21f98 method=org.jruby.ir.interpreter.Interpreter.retrieveOp(Lorg/jruby/ir/operands/Operand;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Ê�À�áz$@
Event: 10.240 Thread 0x00000000001bf000 Uncommon trap: reason=null_check action=make_not_entrant pc=0x0000000003295af4 method=org.jruby.Ruby.freezeAndDedupString(Lorg/jruby/RubyString;)Lorg/jruby/RubyString; @ 43

Internal exceptions (10 events):
Event: 4.209 Thread 0x00000000001bf000 Exception <a 'java/lang/ClassNotFoundException': org/jruby/gen/org$jruby$ext$openssl$NetscapeSPKI$POPULATOR> (0x00000000f63ecaa0) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u40\2855\hotspot\src\share\vm\classfile\systemDictionary.cpp, liÎ>
íÎÛ�@
Event: 4.215 Thread 0x00000000001bf000 Exception <a 'java/lang/ClassNotFoundException': org/jruby/gen/org$jruby$ext$openssl$SSLContext$POPULATOR> (0x00000000f6441d38) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u40\2855\hotspot\src\share\vm\classfile\systemDictionary.cpp, line!þ�À:Ã�@
Event: 4.691 Thread 0x00000000001bf000 Exception <a 'java/lang/ClassNotFoundException': org/jruby/gen/org$jruby$ext$openssl$SSLSocket$POPULATOR> (0x00000000f60aa6c0) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u40\2855\hotspot\src\share\vm\classfile\systemDictionary.cpp, line œÃ»ÄæÊ�@
Event: 4.698 Thread 0x00000000001bf000 Exception <a 'java/lang/ClassNotFoundException': org/jruby/gen/org$jruby$ext$openssl$PKCS7$POPULATOR> (0x00000000f611da78) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u40\2855\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]~�âòæÓ�@
Event: 4.707 Thread 0x00000000001bf000 Exception <a 'java/lang/ClassNotFoundException': org/jruby/gen/org$jruby$ext$openssl$PKCS7$SignerInfo$POPULATOR> (0x00000000f61bc958) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u40\2855\hotspot\src\share\vm\classfile\systemDictionary.cpp§Z�ÜÍÕ�@
Event: 4.709 Thread 0x00000000001bf000 Exception <a 'java/lang/ClassNotFoundException': org/jruby/gen/org$jruby$ext$openssl$PKCS7$RecipientInfo$POPULATOR> (0x00000000f61dbe58) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u40\2855\hotspot\src\share\vm\classfile\systemDictionary.µ’ã²»×�@
Event: 4.711 Thread 0x00000000001bf000 Exception <a 'java/lang/ClassNotFoundException': org/jruby/gen/org$jruby$ext$openssl$PKCS5$POPULATOR> (0x00000000f61fa3a0) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u40\2855\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]Ïî>    ¥ù�@
Event: 4.744 Thread 0x00000000001bf000 Exception <a 'java/lang/ClassNotFoundException': jnr/constants/platform/windows/amd64/Fcntl> (0x00000000f6462fb0) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u40\2855\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 4.744 Thread 0x00000000001bf000 Exception <a 'java/lang/ClassNotFoundException': jnr/constants/platform/windows/Fcntl> (0x00000000f64647d8) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u40\2855\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 10.240 Thread 0x00000000001bf000 Implicit null exception at 0x000000000329565c to 0x0000000003295ae9

Events (10 events):
Event: 10.260 Thread 0x00000000001bf000 DEOPT UNPACKING pc=0x0000000002a3747f sp=0x0000000002719cc0 mode 0
Event: 10.261 Thread 0x00000000001bf000 DEOPT PACKING pc=0x0000000003536d76 sp=0x0000000002719f90
Event: 10.261 Thread 0x00000000001bf000 DEOPT UNPACKING pc=0x0000000002a3747f sp=0x0000000002719cc0 mode 0
Event: 10.261 Thread 0x00000000001bf000 DEOPT PACKING pc=0x0000000003536d76 sp=0x0000000002719f90
Event: 10.261 Thread 0x00000000001bf000 DEOPT UNPACKING pc=0x0000000002a3747f sp=0x0000000002719cc0 mode 0
Event: 10.262 Thread 0x00000000001bf000 DEOPT PACKING pc=0x0000000003536d8d sp=0x0000000002719f90
Event: 10.262 Thread 0x00000000001bf000 DEOPT UNPACKING pc=0x0000000002a3747f sp=0x0000000002719cc0 mode 0
Event: 10.266 Executing VM operation: RevokeBias
Event: 10.266 Executing VM operation: RevokeBias done
Event: 10.279 Executing VM operation: ParallelGCFailedAllocation


Dynamic libraries:
0x000000013ffd0000 - 0x0000000140007000     b:\lang\java\jdk\v1.8\u40\x64\jre\bin\java.exe
0x0000000077150000 - 0x00000000772f9000     C:\Windows\SYSTEM32\ntdll.dll
0x0000000076f30000 - 0x000000007704f000     C:\Windows\system32\kernel32.dll
0x000007fefd050000 - 0x000007fefd0bc000     C:\Windows\system32\KERNELBASE.dll
0x000007fefd660000 - 0x000007fefd73b000     C:\Windows\system32\ADVAPI32.dll
0x000007fefeea0000 - 0x000007fefef3f000     C:\Windows\system32\msvcrt.dll
0x000007fefdb90000 - 0x000007fefdbaf000     C:\Windows\SYSTEM32\sechost.dll
0x000007feff020000 - 0x000007feff14d000     C:\Windows\system32\RPCRT4.dll
0x0000000077050000 - 0x000000007714a000     C:\Windows\system32\USER32.dll
0x000007fefef50000 - 0x000007fefefb7000     C:\Windows\system32\GDI32.dll
0x000007fefd9f0000 - 0x000007fefd9fe000     C:\Windows\system32\LPK.dll
0x000007fefd590000 - 0x000007fefd659000     C:\Windows\system32\USP10.dll
0x000007fefb4e0000 - 0x000007fefb6d4000     C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\COMCTL32.dll
0x000007fefd8d0000 - 0x000007fefd941000     C:\Windows\system32\SHLWAPI.dll
0x000007fefdbb0000 - 0x000007fefdbde000     C:\Windows\system32\IMM32.DLL
0x000007fefda80000 - 0x000007fefdb89000     C:\Windows\system32\MSCTF.dll
0x00000000ac000000 - 0x00000000ac00f000     b:\sys\ansicon\v01.66\x64\ANSI64.dll
0x00000000661e0000 - 0x00000000662b2000     b:\lang\java\jdk\v1.8\u40\x64\jre\bin\msvcr100.dll
0x0000000077770000 - 0x0000000077ff3000     b:\lang\java\jdk\v1.8\u40\x64\jre\bin\server\jvm.dll
0x000007fef70d0000 - 0x000007fef70d9000     C:\Windows\system32\WSOCK32.dll
0x000007fefe970000 - 0x000007fefe9bd000     C:\Windows\system32\WS2_32.dll
0x000007fefef40000 - 0x000007fefef48000     C:\Windows\system32\NSI.dll
0x000007fef9810000 - 0x000007fef984b000     C:\Windows\system32\WINMM.dll
0x000007fefbeb0000 - 0x000007fefbebc000     C:\Windows\system32\VERSION.dll
0x0000000077310000 - 0x0000000077317000     C:\Windows\system32\PSAPI.DLL
0x000000006e1c0000 - 0x000000006e1cf000     b:\lang\java\jdk\v1.8\u40\x64\jre\bin\verify.dll
0x000000006b330000 - 0x000000006b359000     b:\lang\java\jdk\v1.8\u40\x64\jre\bin\java.dll
0x000000006bd90000 - 0x000000006bda6000     b:\lang\java\jdk\v1.8\u40\x64\jre\bin\zip.dll
0x000007fefdbe0000 - 0x000007fefe969000     C:\Windows\system32\SHELL32.dll
0x000007fefe9c0000 - 0x000007fefebc3000     C:\Windows\system32\ole32.dll
0x000007fefcf20000 - 0x000007fefcf2f000     C:\Windows\system32\profapi.dll
0x000000006bbc0000 - 0x000000006bbda000     B:\lang\java\jdk\v1.8\u40\x64\jre\bin\net.dll
0x000007fefc6b0000 - 0x000007fefc705000     C:\Windows\system32\mswsock.dll
0x000007fefc6a0000 - 0x000007fefc6a7000     C:\Windows\System32\wship6.dll
0x0000000069c40000 - 0x0000000069c51000     B:\lang\java\jdk\v1.8\u40\x64\jre\bin\nio.dll
0x000007fefc710000 - 0x000007fefc728000     C:\Windows\system32\CRYPTSP.dll
0x000007fefc410000 - 0x000007fefc457000     C:\Windows\system32\rsaenh.dll
0x000007fefcf30000 - 0x000007fefcf4e000     C:\Windows\system32\USERENV.dll
0x000007fefceb0000 - 0x000007fefcebf000     C:\Windows\system32\CRYPTBASE.dll
0x000007fef8940000 - 0x000007fef8967000     C:\Windows\system32\IPHLPAPI.DLL
0x000007fef8930000 - 0x000007fef893b000     C:\Windows\system32\WINNSI.DLL
0x000007fef8750000 - 0x000007fef8768000     C:\Windows\system32\dhcpcsvc.DLL
0x000007fef8690000 - 0x000007fef86a1000     C:\Windows\system32\dhcpcsvc6.DLL
0x000000006e4c0000 - 0x000000006e4df000     B:\lang\ruby\v09.00-jRuby\lib\jni\x86_64-Windows\jffi-1.2.dll
0x0000000066360000 - 0x0000000066384000     B:\lang\java\jdk\v1.8\u40\x64\jre\bin\sunec.dll
0x000007fefbf80000 - 0x000007fefbf87000     C:\Windows\System32\wshtcpip.dll
0x000007fefc530000 - 0x000007fefc58b000     C:\Windows\system32\DNSAPI.dll
0x000007fef6e40000 - 0x000007fef6e48000     C:\Windows\system32\rasadhlp.dll
0x000007fef86b0000 - 0x000007fef8703000     C:\Windows\System32\fwpuclnt.dll
0x000007fef98b0000 - 0x000007fef98c5000     C:\Windows\system32\NLAapi.dll
0x000007fef70a0000 - 0x000007fef70b5000     C:\Windows\system32\napinsp.dll
0x000007fef7080000 - 0x000007fef7099000     C:\Windows\system32\pnrpnsp.dll
0x000007fef6e70000 - 0x000007fef6e7b000     C:\Windows\System32\winrnr.dll
0x000007fef6e60000 - 0x000007fef6e70000     C:\Windows\system32\wshbth.dll
0x000007fef9410000 - 0x000007fef9535000     C:\Windows\system32\dbghelp.dll

VM Arguments:
jvm_args: -Djdk.home=b:\lang\java\jdk\v1.8\u40\x64 -Djruby.home=b:\lang\ruby\v09.00-jRuby -Djruby.script=jruby -Djruby.shell=cmd.exe -Djffi.boot.library.path=b:\lang\ruby\v09.00-jRuby\lib\jni;b:\lang\ruby\v09.00-jRuby\lib\jni\i386-Windows;b:\lang\ruby\v09.00-jRuby\lib\jni\x86_64-Windows -Xmx500m -Xss2048k -Xbootclasspath/a:b:\lang\ruby\v09.00-jRuby\lib\jruby.jar 
java_command: org/jruby/Main -S gem list --remote
java_class_path (initial): .;b:\lang\java\jre\v1.8\u25\x64\lib;b:\lang\java\jre\v1.8\u25\x64\lib\ext;
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=b:\lang\java\jdk\v1.8\u40\x64
CLASSPATH=.;b:\lang\java\jre\v1.8\u25\x64\lib;b:\lang\java\jre\v1.8\u25\x64\lib\ext
PATH=B:\lang\python\v03.05\;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;b:\dev\gnat\2013\bin;b:\lang\java\jdk\v1.8\u11\x64\bin;B:\tools\imagemagick\v06.08;b:\util\bin;B:\lang\ruby\pik_v03\;b:\lang\ruby\v01.07\bin;c:\.bin\repository\msygit\v01.08\msysgit\mingw\bin\;b:\tools\build\gradle\v02.02\bin;B:\.server\csvn\v03.02\bin\;B:\.server\csvn\v03.02\Python25\;b:\lang\java\jre\v1.8\u25\x64\bin;C:\BIN~1\gtk\v02.12\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;b:\repository\maven\v03.02\bin;B:\lang\lua\v05.01;b:\dev\dart\dev\dart-sdk\bin;B:\lang\lua\v05.01\clibs;b:\tools\scm\git\v01.09\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\.bin\media\calibre\v00.08\;c:\Program Files (x86)\Vodafone\Vodafone Mobile Broadband\Optimization Client\;b:\db\postgresql\v09.03\bin;B:\lang\fpc\v02.06\bin\i386-Win32;B:\tools\scm\git\v01.09\cmd;B:\repository\svn\tortisesvn\v01.08\bin;B:\tools\scm\tortisegit\v01.08\bin;B:\tools\scm\tortoisehg\v03.02\;B:\dev\xuse\bin;C:\.bin\sys\boot2docker;C:\Users\william\AppData\Roaming\npm
USERNAME=william
OS=Windows_NT
PROCESSOR_IDENTIFIER=AMD64 Family 16 Model 4 Stepping 3, AuthenticAMD



---------------  S Y S T E M  ---------------

OS: Windows 7 , 64 bit Build 7601 (6.1.7601.18409)

CPU:total 4 (4 cores per cpu, 1 threads per core) family 16 model 4 stepping 3, cmov, cx8, fxsr, mmx, sse, sse2, sse3, popcnt, mmxext, 3dnowpref, lzcnt, sse4a, tsc, tscinvbit, tscinv

Memory: 4k page, physical 8349080k(1479480k free), swap 33393240k(23131304k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (25.40-b25) for windows-amd64 JRE (1.8.0_40-b25), built on Feb 10 2015 21:53:57 by "java_re" with MS VC++ 10.0 (VS2010)

time: Tue Mar 17 00:43:54 2015
elapsed time: 10 seconds (0d 0h 0m 10s)

@headius
Copy link
Member

headius commented Mar 18, 2015

This appears to be a bug in the JVM, specifically in the parallel GC. I will close this and file an OpenJDK bug.

Incidentally, are you able to reproduce this easily?

@headius headius closed this as completed Mar 18, 2015
@headius headius added this to the Invalid or Duplicate milestone Mar 18, 2015
@headius
Copy link
Member

headius commented Mar 18, 2015

Also, suggestions:

  • Does it happen in a newer build of 8u40? If you can build OpenJDK 8u branch, we could test the leading edge too.
  • Does it happen in an older Oracle/OpenJDK 8?

@aplatypus
Copy link
Author

Hi again.

I did a test with JAVA_HOME = JDK 1.8 u25 64-bit

I didn't test 31 because it did bad things to the internet last time some of us used it (on all systems!), spooky.

Anyhow the:

jruby -S gem list --remote

Command completed fine on u25. So we can say this is definitely a u40 specific issue. Our friends at Oracle added some stuff to do with .EXE packaging, you might find this is not a JVM problem as much as a JRuby build issue.

Thanks for the help, w.

@cprice404
Copy link
Contributor

@headius FYI, we had a user hit this as well:

https://tickets.puppetlabs.com/browse/SERVER-858

For them, trying all sorts of other JDKs including the u25 one referenced above did not solve the problem. Switching to G1 GC does seem to have fixed it (based on early results), which seems to validate your impression that maybe it has to do with the Parallel GC... however, figured it was worth giving you a quick shout as a heads up since it seems like it may affect a broader swath of JDK versions than what this ticket implies. Will post an update or open a new issue if we learn anything new or come up with a simple repro case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants