-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[GR-60772] Java applications crashing with error SIGSEGV #10386
Comments
Thank you for sharing this, we'll take a look into it |
Based on our team's analysis, this is an issue with G1GC. We'll continue investigating this to get to the root cause. |
Two days ago, I decreased the RAM speed from 4600 MHz to 3600 MHz and disabled AMD's EXPO functionality to test if the issue was caused by AMD. After that, I ran Memtest86+ with 12 passes on all memory (test took 42hrs). No errors were logged by the software. However, today another hs_err file was generated by my JVM application. edit: The hs_err below is taken on Debian 12.8 (kernel 6.11) I'll try to change GC now. Thank you |
Your command line includes quite a few G1 specific configuration options. Have you tried leaving those out? It's possible those options are accidentally exposing you to some bug that would otherwise be rare. I think setting max and min heap to the same value is probably not great in general so maybe drop the Are you using virtual threads? Problems like this are exceedingly hard to track down. One thing I'd suggest is to keep all your hs_err_pid files and look for some commonality between them. Crashes in the depths of the collector itself are often inscrutable so I'd focus on crashes in normal execution. The
Keep an eye on the functions you are crashing in but also the values in the Could this be a problem with usage of JNA? Are there any debug options you can use with it? Is there some JDK release where you don't have this problem? |
Describe the issue
Hello,
I'm experiencing a SIGSEGV crash issue on my Minecraft server, which is running OpenJDK Runtime Environment GraalVM CE 23.0.1+11.
This issue also occurs with Temurin 21/23 and the default OpenJDK versions. While this might not be a GraalVM-specific issue (since other JVMs exhibit the same behavior), I've been trying to resolve it for months. I wanted to open an issue with my favorite JVM distribution in hopes of receiving insights or potential solutions.
My Java servers crash randomly and consistently due to SIGSEGV errors. The event stack (crash address and reason) changes each time, but the main cause—SIGSEGV (segmentation fault)—remains the same.
Steps to reproduce the issue
Unfortunately, I don't have a clear way to reproduce the issue. It happens randomly—sometimes after an hour or a day of runtime, other times within minutes. While there must be an underlying cause, I haven't been able to identify it.
Describe GraalVM and your environment:
More details
I've tried numerous troubleshooting steps to resolve the issue, including:
I can't experiment with Ubuntu 24 because kernel 6.8 causes boot issues on my system. I previously opened a thread about it on Reddit.
Due to the size of the crash logs, I've uploaded them as attachments instead of including them directly in this report.
hs_err_pid2496996.log
_usr_lib_jvm_jdk-23.0.1+11_bin_java.0.txt
hs_err_pid105125.log
The text was updated successfully, but these errors were encountered: