Java crash when JFR event class is transformed
Issue
Java crashes with the following in the fatal error log:
# SIGSEGV (0xb) at pc=0x00007f939a14f7f7, pid=501, tid=0x00007f9366039700
#
# JRE version: OpenJDK Runtime Environment (8.0_265-b01) (build 1.8.0_265-b01)
# Java VM: OpenJDK 64-Bit Server VM (25.265-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x6b67f7] JfrEventClassTransformer::on_klass_creation(InstanceKlass*&, ClassFileParser&, Thread*)+0xa17
...
Stack: [0x00007f9365ff9000,0x00007f936603a000], sp=0x00007f9366034fb0, free space=239k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x6b67f7] JfrEventClassTransformer::on_klass_creation(InstanceKlass*&, ClassFileParser&, Thread*)+0xa17
V [libjvm.so+0x476f5c] ClassLoader::load_classfile(Symbol*, Thread*)+0x68c
...
Environment
- OpenJDK 8
- Red Hat build of OpenJDK 8
- u262
- u265
- u272
- u275
- Red Hat build of OpenJDK 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.