OpenJDK 8 292 (and 212) SIGSEGV inInstanceKlass::method_with_orig_idnum
Gunter Ohrner
mails.mail.openjdk.java.net at gunter.ohrner.net
Sun Jul 4 14:48:01 UTC 2021
Hi everyone,
I hope I'm on the correct list here - I can't seem to get direct access
to the OpenJDK bug tracker and was pointed here to report a crash.
It's consistently reproducable on one Debian 10 "Buster" x64 machine
with as well AdoptOpenJDK-build 1.8.0 292 and Amazon Corretto builds
1.8.0 292 and 212 (always with the same stack trace).
The hs_err logfile is attached.
The crash is independend of the Garbage Collector (also tried with G1),
and also identically occurs in interpreted mode (-Xint).
Where it gets strange is that I could run the tests successfully for a
while in a Buster and a Bullseye chroot on the same machine (managed
using the schroot tool), but now it also fails in these chroots
identically. The chroots include their separate copies of the code and a
separate JVM installation, of course.
I'd be happy to provide additional information, but I'm running out of
ideas right now...
Unfortunately, I cannot provide the code which causes the crash. :-(
Stack: [0x00007f630f93d000,0x00007f630fa3e000], sp=0x00007f630fa38b00,
free space=1006k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
C=native code)
V [libjvm.so+0x64e5e2] InstanceKlass::method_with_orig_idnum(int, int)+0x42
V [libjvm.so+0x69ca48] java_lang_StackTraceElement::create(Handle, int,
int, int, int, Thread*)+0x158
V [libjvm.so+0x69cf25]
java_lang_Throwable::get_stack_trace_element(oopDesc*, int, Thread*)+0x265
V [libjvm.so+0x732ece] JVM_GetStackTraceElement+0x6e
J 3146
java.lang.Throwable.getStackTraceElement(I)Ljava/lang/StackTraceElement;
(0 bytes) @ 0x00007f6355df56e8 [0x00007f6355df5640+0xa8]
J 13697 C1
java.lang.Throwable.getOurStackTrace()[Ljava/lang/StackTraceElement; (80
bytes) @ 0x00007f63567476f4 [0x00007f63567472c0+0x434]
J 13696 C1
java.lang.Throwable.printStackTrace(Ljava/lang/Throwable$PrintStreamOrWriter;)V
(177 bytes) @ 0x00007f635674d244 [0x00007f635674cb60+0x6e4]
j java.lang.Throwable.printStackTrace(Ljava/io/PrintStream;)V+9
j org.eclipse.emf.common.EMFPlugin.log(Ljava/lang/Object;)V+23
j
org_w3_xml_1998_namespace.Org_w3_xml_1998_namespaceFactory.init()Lorg_w3_xml_1998_namespace/Org_w3_xml_1998_namespaceFactory;+28
j org_w3_xml_1998_namespace.Org_w3_xml_1998_namespaceFactory.<clinit>()V+0
v ~StubRoutines::call_stub
V [libjvm.so+0x694eaa] JavaCalls::call_helper(JavaValue*,
methodHandle*, JavaCallArguments*, Thread*)+0xe1a
V [libjvm.so+0x64f1bf]
InstanceKlass::call_class_initializer_impl(instanceKlassHandle,
Thread*)+0x10f
V [libjvm.so+0x64f6b7]
InstanceKlass::initialize_impl(instanceKlassHandle, Thread*)+0x387
V [libjvm.so+0x64f901] InstanceKlass::initialize(Thread*)+0x51
V [libjvm.so+0x814da9] LinkResolver::resolve_field(fieldDescriptor&,
KlassHandle, Symbol*, Symbol*, KlassHandle, Bytecodes::Code, bool, bool,
Thread*)+0x259
V [libjvm.so+0x815369]
LinkResolver::resolve_field_access(fieldDescriptor&, constantPoolHandle,
int, Bytecodes::Code, Thread*)+0x179
(...)
Best regards,
Gunter
--
Ohrner IT GmbH Tel.: 07031 / 202929-0
Otto-Lilienthal-Str. 36 Fax: 07031 / 202929-99
71034 Böblingen Mail: go at ohrner-it.com
Registergericht: Stuttgart, HRB 755190
Geschäftsführer: Gunter Ohrner
St-Nr.: 56463/00876 Ust-Id Nr.: DE253014984
More information about the jdk8u-dev
mailing list