I tested latest jdk12 bits which contain fix for "8214401: [AOT] crash in ClassLoaderData::is_alive() with AOTed jdk.base"
and there is new crash in
# Problematic frame:
# V [libjvm.so+0xdfae0a] InlineCacheBuffer::update_inline_caches()+0x6a
--------------- T H R E A D ---------------
Current thread (0x00007f9c9804c000): GCTaskThread "GC Thread#0" [stack: 0x00007f9c9df9e000,0x00007f9c9e09e000] [id=841]
Stack: [0x00007f9c9df9e000,0x00007f9c9e09e000], sp=0x00007f9c9e09cdb0, free space=1019k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xdfadba] InlineCacheBuffer::update_inline_caches()+0x6a
V [libjvm.so+0x160f5c9] ParallelSPCleanupTask::work(unsigned int)+0x309
V [libjvm.so+0x18ea250] GangWorker::loop()+0xe0
V [libjvm.so+0x179cbb5] Thread::call_run()+0x75
V [libjvm.so+0x1488d96] thread_native_entry(Thread*)+0x106
Register to memory mapping:
RAX=0x00007f9ca2802000 points into unknown readable memory: 58 00 00 00 00 00 00 00
RBX=0x00007f9c645e4928 points into unknown readable memory: a8 19 8b a1 9c 7f 00 00
RCX=0x0000000000000001 is an unknown value
RDX=0x0 is NULL
RSP=0x00007f9c9e09cdb0 points into unknown readable memory: 80 ce 09 9e 9c 7f 00 00
RBP=0x00007f9c9e09cdb0 points into unknown readable memory: 80 ce 09 9e 9c 7f 00 00
RSI=0x00007f9ca132bce0: <offset 0x0000000001b0dce0> in /home/katya/work/JavaSE/Hotspot/ws/jdk.jdk/build/linux-x64/images/jdk/lib/server/libjvm.so at 0x00007f9c9f81e000
RDI=0x00007f9c9e09cdc0 points into unknown readable memory: 10 00 8b a1 9c 7f 00 00
R8 =0x00007f9c80bac000 points into unknown readable memory: 04 00 00 00 00 00 00 00
R9 =0x000000000000008f is an unknown value
R10=0x00007f9c98040060 points into unknown readable memory: ab ab ab ab ab ab ab ab
R11=0x0 is NULL
R12=0x00007f9c9e09cdc0 points into unknown readable memory: 10 00 8b a1 9c 7f 00 00
R13=0x00007f9c9e09ce00 points into unknown readable memory: 00 00 00 00 00 00 00 00
R14=0x00007f9c645e4910 points into unknown readable memory: 50 f4 7c a1 9c 7f 00 00
R15=0x00007f9ca0255b30: <offset 0x0000000000a37b30> in /home/katya/work/JavaSE/Hotspot/ws/jdk.jdk/build/linux-x64/images/jdk/lib/server/libjvm.so at 0x00007f9c9f81e000
The issue is easy reproduced when just running "java -version" with AOTed java.base and with -XX:+EnableJVMCI.
Steps to reproduce:
> make run-test TEST="java/lang/Integer" TEST_OPTS_AOT_MODULES="java.base" TEST_VM_OPTS="-server -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseAOTStrictLoading
and there is new crash in
# Problematic frame:
# V [libjvm.so+0xdfae0a] InlineCacheBuffer::update_inline_caches()+0x6a
--------------- T H R E A D ---------------
Current thread (0x00007f9c9804c000): GCTaskThread "GC Thread#0" [stack: 0x00007f9c9df9e000,0x00007f9c9e09e000] [id=841]
Stack: [0x00007f9c9df9e000,0x00007f9c9e09e000], sp=0x00007f9c9e09cdb0, free space=1019k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xdfadba] InlineCacheBuffer::update_inline_caches()+0x6a
V [libjvm.so+0x160f5c9] ParallelSPCleanupTask::work(unsigned int)+0x309
V [libjvm.so+0x18ea250] GangWorker::loop()+0xe0
V [libjvm.so+0x179cbb5] Thread::call_run()+0x75
V [libjvm.so+0x1488d96] thread_native_entry(Thread*)+0x106
Register to memory mapping:
RAX=0x00007f9ca2802000 points into unknown readable memory: 58 00 00 00 00 00 00 00
RBX=0x00007f9c645e4928 points into unknown readable memory: a8 19 8b a1 9c 7f 00 00
RCX=0x0000000000000001 is an unknown value
RDX=0x0 is NULL
RSP=0x00007f9c9e09cdb0 points into unknown readable memory: 80 ce 09 9e 9c 7f 00 00
RBP=0x00007f9c9e09cdb0 points into unknown readable memory: 80 ce 09 9e 9c 7f 00 00
RSI=0x00007f9ca132bce0: <offset 0x0000000001b0dce0> in /home/katya/work/JavaSE/Hotspot/ws/jdk.jdk/build/linux-x64/images/jdk/lib/server/libjvm.so at 0x00007f9c9f81e000
RDI=0x00007f9c9e09cdc0 points into unknown readable memory: 10 00 8b a1 9c 7f 00 00
R8 =0x00007f9c80bac000 points into unknown readable memory: 04 00 00 00 00 00 00 00
R9 =0x000000000000008f is an unknown value
R10=0x00007f9c98040060 points into unknown readable memory: ab ab ab ab ab ab ab ab
R11=0x0 is NULL
R12=0x00007f9c9e09cdc0 points into unknown readable memory: 10 00 8b a1 9c 7f 00 00
R13=0x00007f9c9e09ce00 points into unknown readable memory: 00 00 00 00 00 00 00 00
R14=0x00007f9c645e4910 points into unknown readable memory: 50 f4 7c a1 9c 7f 00 00
R15=0x00007f9ca0255b30: <offset 0x0000000000a37b30> in /home/katya/work/JavaSE/Hotspot/ws/jdk.jdk/build/linux-x64/images/jdk/lib/server/libjvm.so at 0x00007f9c9f81e000
The issue is easy reproduced when just running "java -version" with AOTed java.base and with -XX:+EnableJVMCI.
Steps to reproduce:
> make run-test TEST="java/lang/Integer" TEST_OPTS_AOT_MODULES="java.base" TEST_VM_OPTS="-server -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseAOTStrictLoading
- duplicates
-
JDK-8214936 assert(_needs_refill == 0) failed: Forgot to handle a failed IC transition requiring IC stubs
-
- Closed
-
- relates to
-
JDK-8214401 [AOT] crash in ClassLoaderData::is_alive() with AOTed jdk.base
-
- Closed
-