JVM crash in oopDesc::size_given_klass with current thread ConcurrentGCThread
Environment
- Oracle JDK8 u201
Issue
The following in the fatal error log:
# SIGSEGV (0xb) at pc=0x00007f0f1e7fc071, pid=16097, tid=0x00007f0e94fff700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_201-b09) (build 1.8.0_201-b09)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.201-b09 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x648071] oopDesc::size_given_klass(Klass*)+0x1
...
Current thread (0x00007f0f18074000): ConcurrentGCThread [stack: 0x00007f0e94f00000,0x00007f0e95000000] [id=16133]
...
Stack: [0x00007f0e94f00000,0x00007f0e95000000], sp=0x00007f0e94ffed50, free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x648071] oopDesc::size_given_klass(Klass*)+0x1
V [libjvm.so+0x4a5ebb] CMRootRegionScanTask::work(unsigned int)+0x14b
V [libjvm.so+0xaf3c68] GangWorker::loop()+0xd8
V [libjvm.so+0x90d922] java_start(Thread*)+0x102
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.