eclipse-openj9 / openj9

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
Other
3.29k stars 723 forks source link

Unexpcted JVM Crash with OpenJ9 VM 21.0.4.1 (build openj9-0.46.1) #20723

Closed c-koell closed 11 hours ago

c-koell commented 1 day ago

Java -version output

IBM Semeru Runtime Open Edition 21.0.4.1 (build 21.0.4+7-LTS) Eclipse OpenJ9 VM 21.0.4.1 (build openj9-0.46.1, JRE 21 Linux amd64-64-Bit Compressed References 20240716_264 (JIT enabled, AOT enabled) OpenJ9 - 4760d5d320 OMR - 840a9adba JCL - db3fffb417c based on jdk-21.0.4+7)

Summary of problem

Unexpected JVM Crash

Diagnostic files

We have get a core dump on opur production system today. We have seen only following log in the journal log

Dec 02 08:37:19 xxx.srv.at systemd[1]: Created slice Slice /system/systemd-coredump.
Dec 02 08:37:19 xxx.srv.at systemd[1]: Started Process Core Dump (PID 2611631/UID 0).
Dec 02 08:37:24 xxx.srv.at systemd-coredump[2611632]: [🡕] Process 2611630 (Default Executo) of user 3002 dumped core.

                                                                   Stack trace of thread 2611630:
                                                                   #0  0x00007fd97c88ba6c n/a (n/a + 0x0)
                                                                   ELF object binary architecture: AMD x86-64
Dec 02 08:37:24 xxx.srv.at systemd[1]: systemd-coredump@0-2611631-0.service: Deactivated successfully.
Dec 02 08:37:24 xxx.srv.at systemd[1]: systemd-coredump@0-2611631-0.service: Consumed 4.653s CPU time.

I have attached the coredump file generated by linux.

github-actions[bot] commented 1 day ago

Issue Number: 20723 Status: Open Recommended Components: comp:vm, comp:jit, comp:gc

c-koell commented 1 day ago

You can find the dump under following cloud storage https://tbox.tirol.gv.at/index.php/s/srQEFMk5iin4k9i with "oddMTFdTa5" as password

pshipton commented 1 day ago

I can't open the zip file.

c-koell commented 1 day ago

Oh sorry @pshipton. I have re-uploaded a new zip file. (2611630.zip)

pshipton commented 1 day ago

I can't extract any information from the core (No JRE). The core is truncated which is likely the reason.

FYI the first warning is because jpackcore should be run on a core file, in order to be able to look at the core in gdb on a different machine from where it was produced.

Warning: native libraries are not available for 2611630.core
Warning: dump file is truncated. Extracted information may be incomplete.

For a list of commands, type "help"; for how to use "help", type "help help"
Available contexts (* = currently selected context) :

Source : file:///home/peter/2611630.core
        *0 : PID: 2611630 : No JRE
c-koell commented 1 day ago

Oh that sounds not good. @pshipton Can i do anything here on the machine where the core dump was produced ?

pshipton commented 1 day ago

This article might be helpful. https://community.ibm.com/community/user/wasdevops/blogs/kevin-grigorenko1/2022/11/14/lessons-from-the-field-23-linux-core-dumps

c-koell commented 11 hours ago

I will close this issue until we have a valid Core Dump

github-actions[bot] commented 11 hours ago

Issue Number: 20723 Status: Closed Actual Components: userRaised Actual Assignees: No one :( PR Assignees: No one :(

pshipton commented 11 hours ago

I don't know if it would make a difference, but there is one newer release, 0.48.