DynamoRIO / DynamoRIO/dynamorio

APP CRASH, HANG running jdk8 apps with traces enabled

Open
#3,586 24 comments 0 reactions 0 assignees View on GitHub
Bug-AppCrash Bug-Assert Bug-Hang help wanted
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 18h
Merged PRs (30d)
30

Description

I'm seeing the following crashes on aarch64 while running a couple of java applications, this happens to on JDK8 and JDK9 both.
First one is SPECjvm08 benchmark, second one is a physics game test.
~/workloads/SPECjvm2008/SPECjvm2008_v101$ ~/tools/DynamoRIO/DynamoRIO-x86_64-Linux-7.90.17998-0/bin64/drrun -t drcachesim -offline -- ~/tools/jdk1.9-b160/bin/java -jar SPECjvm2008.jar scimark.sor.small -ikv -wt 30 -it 60

A fatal error has been detected by the Java Runtime Environment:
SIGILL (0x4) at pc=0x00007f9541ca5383, pid=29922, tid=29923

JRE version: (9.0+160) (build )
Java VM: Java HotSpot(TM) 64-Bit Server VM (9-ea+160, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
Problematic frame:
v ~BufferBlob::Signature Handler Temp Buffer

No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

An error report file with more information is saved as:
/home/daenerys/workloads/SPECjvm2008/SPECjvm2008_v101/hs_err_pid29922.log
Loaded disassembler from /home/daenerys/tools/jdk1.9-b160/lib/server/hsdis-amd64.so

If you would like to submit a bug report, please visit:
http://bugreport.java.com/bugreport/crash.jsp

~/workloads/SPECjvm2008/SPECjvm2008_v101$ ~/tools/DynamoRIO/DynamoRIO-x86_64-Linux-7.90.17998-0/bin64/drrun -t drcachesim -offline -- ~/tools/jdk1.9-b160/bin/java -jar ~/workloads/IcyRocks-Java-Kernel-V1.0.2.jar

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

SIGILL (0x4) at pc=0x00007f1c11ca5383, pid=29991, tid=29992

JRE version: (9.0+160) (build )
Java VM: Java HotSpot(TM) 64-Bit Server VM (9-ea+160, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
Problematic frame:
v ~BufferBlob::Signature Handler Temp Buffer

No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

An error report file with more information is saved as:
/home/daenerys/workloads/SPECjvm2008/SPECjvm2008_v101/hs_err_pid29991.log
Loaded disassembler from /home/daenerys/tools/jdk1.9-b160/lib/server/hsdis-amd64.so

If you would like to submit a bug report, please visit:
http://bugreport.java.com/bugreport/crash.jsp

Segmentation fault

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the two commands using drrun with drcachesim in offline mode and the listed JDK workloads. Inspect the generated hs_err_pid*.log files and compare the SIGILL in the Signature Handler Temp Buffer with the reported segmentation fault; done means the applications run without these crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, java, linux
Domain
devtools, operating-systems, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.