Java crash in StubRoutines::jlong_disjoint_arraycopy
Environment
- Red Hat Enterprise Linux (RHEL) 6.10
- Tomcat 7.0.81
- OpenJDK 1.8 u232
Issue
- Tomcat crashes.
- The fatal error log shows the following:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0x00007fb4c27642b0, pid=12358, tid=0x00007fb479ede700
#
# JRE version: OpenJDK Runtime Environment (8.0_232-b09) (build 1.8.0_232-b09)
# Java VM: OpenJDK 64-Bit Server VM (25.232-b09 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# v ~StubRoutines::jlong_disjoint_arraycopy
#
# 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 visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x00007fb4d8991000): JavaThread "http-xxx-8080-exec-12" daemon [_thread_in_Java, id=12345, stack(0x00007fb479dde000,0x00007fb479edf000)]
Diagnostic Steps
- Review logging at the time of the crash to look for clues:
- JVM fatal error log
messagescatalina.out- gc logging leading up to the crash
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.