-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
fatal error: DEBUG MESSAGE: duplicated predicate failed which is impossible #788
Comments
Could be related to https://bugs.openjdk.org/browse/JDK-8305428?jql=text%20~%20%22duplicated%20predicate%20failed%20which%20is%20impossible%22 Also, what version of Groovy are you using? |
Further debugging advice from GPT-4 which I've edited for your use. case: The error message you're seeing is a JVM crash related to the macro assembler in the HotSpot Just-In-Time (JIT) compiler on x86 platforms. The specific error is raised when a duplicated predicate fails, which should be an impossible condition according to the code comment. This kind of error is usually caused by one or more of the following factors:
To troubleshoot the issue, you can take the following steps:
|
Tests (without the -Xbatch flag). The tests were done individually i.e. reverting to the original setup after each test.
We are not using any native libraries. In your opinion, is it logical that the JVM flag -Xbatch would prevent the crash from happening or is this just a fluke? |
-Xbatch means the JIT spends more time compiling and will backtrack less often. Chances are it's a backtrack (deopt) in the regular mode that's causing this crash. I'll submit the log to JBS. |
Thank you very much! |
As a follow-up, unfortunately, the -Xbatch flag does not solve the problem. The JVM takes longer to crash but still crashes after several hours. |
We are marking this issue as stale because it has not been updated for a while. This is just a way to keep the support issues queue manageable. |
@claudia-schmid Just reveisting this one. Have you tried the latest 17.0.8 release? |
@karianna We are currently testing 17.0.8. So far so good. No more crashes have occurred. If it ok with you I would like to keep this issue open for a few more weeks until we have completed our tests. Many thanks! |
@karianna with 17.0.8 we have not observed any more crashes. I am going to close this issue. |
Please provide a brief summary of the bug
When starting our application we load about 700mb of data into memory and then do various calculations on this data (including running several Groovy scripts). Since upgrading to 17.0.7+7 we are seeing frequent JVM crashes. This happens both in Eclipse (both Debug and Run) as well as in an installation environment. The crash is always due to
fatal error: DEBUG MESSAGE: duplicated predicate failed which is impossible
Since adding the JVM flag -Xbatch the error has not occurred again.
Note that the attached hs_err file is for a smaller data set than mentioned above.
hs_err_pid159836.log
Please provide steps to reproduce where possible
I have more hs_err files that I could provide. I am also open to trying out things that could help to localize the problem. However, I am unable to create a minimal, reproducible example.
Expected Results
Normal processing
Actual Results
JVM crash
What Java Version are you using?
OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing)
What is your operating system and platform?
Windows 10 , 64 bit Build 19041 (10.0.19041.2913)
How did you install Java?
binary archive
Did it work before?
Did you test with the latest update version?
Did you test with other Java versions?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: