Last active
April 17, 2020 18:58
-
-
Save navyxliu/9390bc5fcf5f4bb9488fcb7760fe1478 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. git clone https://github.com/navyxliu/JavaGCworkload.git | |
2. sh -x ./runJava.sh 4g gc.log -XX:+UnlockExperimentalVMOptions -XX:G1LogLevel=finest -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=8 -XX:GCLogFileSize=16k $* | |
3. the testcase itself is in infinite mode(-1). Usually, hotspot crashes in 4 hours. | |
I found jdk8u/hotspot could crash on a varienty of systems. | |
eg. I got this hs_err_report on AL2012. it has glibc 2.12. btw, AL2012 is similar to RHEL6 | |
The message looks very similiar to JDK-8190798 and JDK-8191393 | |
# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# SIGSEGV (0xb) at pc=0x00007f1c607d58cc, pid=17634, tid=0x00007f1c486fe700 | |
# | |
# JRE version: OpenJDK Runtime Environment (8.0_242-b08) (build 1.8.0_242-b08) | |
# Java VM: OpenJDK 64-Bit Server VM (25.242-b08 mixed mode linux-amd64 compressed oops) | |
# Problematic frame: | |
# C [libc.so.6+0x7b8cc] cfree+0x1c | |
# | |
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again | |
# | |
# If you would like to submit a bug report, please include | |
# instructions on how to reproduce the bug and visit: | |
# http://bugreport.java.com/bugreport/crash.jsp | |
# | |
--------------- T H R E A D --------------- | |
Current thread (0x00007f1c58049800): ConcurrentGCThread [stack: 0x00007f1c485fe000,0x00007f1c486ff000] [id=17653] | |
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x00007f1c6111cff8 | |
Registers: | |
RAX=0x0000000000000000, RBX=0x00007f1be408a450, RCX=0x0000000000000001, RDX=0x00007f1c6111d000 | |
RSP=0x00007f1c486fdbd8, RBP=0x00000000ffffffff, RSI=0x00007f1c6111d000, RDI=0x00007f1c6111d000 | |
R8 =0x00000000ffffffff, R9 =0x0000000000000000, R10=0x0000000000000022, R11=0x0000000000000246 | |
R12=0x0000000000000000, R13=0x0000000000000007, R14=0x00007f1c60727328, R15=0x00007f1c486fdcc0 | |
RIP=0x00007f1c607d58cc, EFLAGS=0x0000000000010206, CSGSFS=0x002b000000000033, ERR=0x0000000000000004 | |
TRAPNO=0x000000000000000e | |
I got this error on ubuntu 18.04. the glibc is 2.17. | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# SIGSEGV (0xb) at pc=0x00007fa5d6a34536, pid=2827, tid=0x00007fa51f7ff700 | |
# | |
# JRE version: OpenJDK Runtime Environment (8.0_242-b08) (build 1.8.0_242-b08) | |
# Java VM: OpenJDK 64-Bit Server VM (25.242-b08 mixed mode linux-amd64 compressed oops) | |
free(): invalid next size (fast) | |
# Problematic frame: | |
# C [libc.so.6+0x8e536] _IO_default_xsputn+0x116Aborted (core dumped) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
link to the JDK-8191393