-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JVM Crash during C2 Compilation #110
Comments
Thanks for reporting and sharing the log files. If you see this often, can you please upload a few more hs_err_pid log files so we can look for commonalities? |
thanks for the quick reply @olivergillespie. It happens a couple of times a day and when it happens it always shows Kotlin coroutines. I will provide more hs_err_pid today or next week when it happens |
Seems related to #57. We're still looking for ways to reproduce the issue. |
@olivergillespie you can download new crash reports from the links (1,2) I will remove the links from ticket once you have them. ps: I have also created AWS ticket, and the case id is 11986608411 |
Thanks, downloaded.
Just to set expectations, the crash logs will provide us useful clues but this is unlikely to be resolved quickly without a standalone reproducer we can use to debug and fix the issue. We might be able to create one with what we know so far, but if anyone has a on this we'll be glad to make use of it. |
Thanks for the investigation @olivergillespie. Unfortunately, I don't have a way of reproducing issues. It happens randomly and has always happened on the kotlin code compilation. |
hi, @umutkocasarac |
@navyxliu I have restored the links in my previous comment and you can find another crash report here (1,2). I will delete the links in a couple of days (please let me know once you downloaded them). Unfortunately, JVM is not creating core dump files during the crash, even though it says it will be stored working folder. |
I understand. I got those files. HotSpot attempts to create a coredump file by default unless you explicitly disable it using It's up to your system. There are different circumstances to block it. On Linux, you may try "ulimit -c unlimited" |
@umutkocasarac I tried to run your reproducer.
Do you know how to fix this? |
@umutkocasarac I fixed the issue by using maven 3.9.0. |
@umutkocasarac Thank you for the reproducer. I managed to get a crash. |
Last week we started to exclude some of the Kotlin coroutines classes and grpc server class from the C2 compiler as a workaround and we are not seeing any jvm crashes since then. Let us know if there is anything we can do for a permanent fix for the issue
|
I tried the project on both macos and linux. |
You need to run:
|
This is from README.md. It worked for me. |
Describe the bug
During the C2 compilation application crashes. It happens only a couple of times in a day on more than 100 instances
To Reproduce
Steps and (source) code to reproduce the behavior.
I don't have any method to reproduce the issue; it always happens during the C2 compiler phase.
Expected behavior
A clear and concise description of what you expected to happen.
JVM shouldn't crash during C2 compiler
Platform information
OS: Ubuntu 18.04.6 LTS
JDK version 17.0.6+10-LTS
hs_err_pid18002.log
replay_pid18002.log
The text was updated successfully, but these errors were encountered: