Closed bentatham closed 1 year ago
@bentatham Can you attach the hs_err output?
@bentatham There's a non-0 chance this is a JRuby interaction - can you upgrade to 9.4.2.0 and post here again if you get a crash log?
Sadly, we're stuck on jruby 9.2 (because of unrelated issues with warbler). We might have to rollback to Java 11, sadly.
What's frustrating is that this issue only cropped up in the jdk 17.0.7, where it worked fine with jdk 17.0.6
I'd say for now stick to 17.0.6 until you can move up versions of JRuby. I assume it's not possible to try an upgrade in a test system?
Thanks for you help. Sadly, it will be complicated. Our CI images use the maven base images, which have already pre-selected the JDK, but we can downgrade maven as well.
And sadly, because of issues with warbler, we can't build the war from our jruby app, so can't build, let alone upgrade, test systems either. The JDK failures here are during the unit tests, so we could skip that too, I suppose, but rather not obviously, and might run into similar JDK issues when deployed anyhow.
Maybe something will magically fix itself in the next JDK release. I'm tempted to try JDK19 or 20 and see there too.
I've also been running into this duplicated predicate failed which is impossible
issue with GregorianCalendar.computeTime on both 11.0.19+9 and 17.0.7+8. A minimal reproduction can be found here: https://bugs.openjdk.org/browse/JDK-8307683
@tibco-jufernan Thanks. According to the bug, the workaround is to disable compilation of affected method or use -XX:-UseLoopPredicate
I'm glad there's a workaround. We updated to 20.0.1+9 and the problem seems to go away there as well, at least so far.
https://bugs.openjdk.org/browse/JDK-8308884 for the backports
The changes that broke this were reverted - closing
Please provide a brief summary of the bug
When running test code on jruby, we are getting a failure we have never seen before the latest java update 17.0.7+7. This does not happen on every build, but does happen on most (about 75% of the runs so far)
Please provide steps to reproduce where possible
It is unclear exactly where in our test code this is failing. It is using jruby, with sinatra, webbrick, and our own ruby code.
Expected Results
Our code continues running
Actual Results
The JVM is aborted and our test code fails.
What Java Version are you using?
openjdk version "17.0.7" 2023-04-18 OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) 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?
Docker on Bitbucket Pipelines.
How did you install Java?
Our docker image is based on
maven:3.9.1-eclipse-temurin-17
which is based oneclipse-temurin:17-jdk
.Did it work before?
Did you test with the latest update version?
Did you test with other Java versions?
Relevant log output