Skip to content
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

Random CI failure on Oracle GraalVM: jdk.internal.vm.TranslatedException: Error decoding exception #9457

Closed
mwu-tow opened this issue Mar 18, 2024 · 9 comments
Assignees

Comments

@mwu-tow
Copy link
Contributor

mwu-tow commented Mar 18, 2024

I think I see this failure like this popping here and there:

https:/enso-org/enso/actions/runs/8301012063/job/22720189516#step:8:3770 (Dry-run benchmark Sieve.Without_Types in Oracle GraalVM Engine job)

Execution finished with an error: java.lang.RuntimeException: jdk.internal.vm.TranslatedException: Error decoding exception: [B@71cdcc63
        at <java> org.graalvm.jniutils/org.graalvm.jniutils.JNIExceptionWrapperEntryPoints.createException(JNIExceptionWrapperEntryPoints.java:89)
        at <java> org.graalvm.truffle.runtime/com.oracle.truffle.runtime.hotspot.libgraal.TruffleToLibGraalCalls.newCompiler(Native Method)
        at <java> org.graalvm.truffle.runtime/com.oracle.truffle.runtime.hotspot.libgraal.LibGraalHotSpotTruffleCompiler.lambda$getOrCreateIsolate$0(LibGraalHotSpotTruffleCompiler.java:72)
        at <java> org.graalvm.truffle.runtime/com.oracle.truffle.runtime.hotspot.libgraal.LibGraalIsolate.getSingleton(LibGraalIsolate.java:99)
        at <java> org.graalvm.truffle.runtime/com.oracle.truffle.runtime.hotspot.libgraal.LibGraalHotSpotTruffleCompiler.resolveIsolateHandleImpl(LibGraalHotSpotTruffleCompiler.java:80)
        at <java> org.graalvm.truffle.runtime/com.oracle.truffle.runtime.hotspot.libgraal.LibGraalHotSpotTruffleCompiler.getOrCreateIsolate(LibGraalHotSpotTruffleCompiler.java:70)
        at <java> org.graalvm.truffle.runtime/com.oracle.truffle.runtime.hotspot.libgraal.LibGraalHotSpotTruffleCompiler.installTruffleCallBoundaryMethod(LibGraalHotSpotTruffleCompiler.java:119)
        at <java> org.graalvm.truffle.runtime/com.oracle.truffle.runtime.hotspot.HotSpotTruffleRuntime.installCallBoundaryMethods(HotSpotTruffleRuntime.java:529)
        at <java> org.graalvm.truffle.runtime/com.oracle.truffle.runtime.hotspot.HotSpotTruffleRuntime.bypassedInstalledCode(HotSpotTruffleRuntime.java:451)
        at <java> org.graalvm.truffle.runtime/com.oracle.truffle.runtime.OptimizedCallTarget.interpreterCall(OptimizedCallTarget.java:609)
        at <java> 
…
@mwu-tow mwu-tow added the -ci label Mar 18, 2024
@Akirathan Akirathan changed the title Random CI failure: jdk.internal.vm.TranslatedException: Error decoding exception Random CI failure on Oracle GraalVM: jdk.internal.vm.TranslatedException: Error decoding exception Mar 19, 2024
@JaroslavTulach
Copy link
Member

Raised the issue to OracleLabs guys.

@JaroslavTulach
Copy link
Member

JaroslavTulach commented Apr 3, 2024

@JaroslavTulach
Copy link
Member

The bug has been fixed on the JDK side. What can we do to close it here as well, @Akirathan?

@Akirathan
Copy link
Member

The bug has been fixed on the JDK side. What can we do to close it here as well, @Akirathan?

@JaroslavTulach Wait until openjdk/jdk#18591 gets into JDK release, and then update to it? And ensure that it does not happen anymore in the dry-run benchmarks in the Oracle GraalVM job.

How does one figure out that openjdk/jdk#18591 got pushed to a release?

@JaroslavTulach
Copy link
Member

The bug has been fixed on the JDK side. What can we do to close it here as well, @Akirathan?
How does one figure out that openjdk/jdk#18591 got pushed to a release?

We can observe the JDK Jira issue and/or we can ask @tzezula. As far as I can see, the fix will be available in JDK 23.

@JaroslavTulach Wait until openjdk/jdk#18591 gets into JDK release, and then update to it?

Do we want to update to JDK 23? I'd rather prefer to stick with LTS JDK 21 and got a bugfix. At the end we have Oracle GraalVM license...

@JaroslavTulach
Copy link
Member

JaroslavTulach commented May 2, 2024

The bug has been fixed on the JDK side.
We can observe the JDK Jira issue ...

According to @tzezula, the bug hasn't yet made it to labsjdk-23

Do we want to update to JDK 23? I'd rather prefer to stick with LTS JDK 21 and got a bugfix. At the end we have Oracle GraalVM license...

According to Mohamed Ez-zarghili from Oracle GraalVM support team Enso should:

  • renew our Oracle Java SE Subscription
  • file a MOS ticket

Mohamed wrote:

we can take it from there

but:

... as the fix is in the JDK, a follow up is possible, ... but no guarantee ... the JVMCI interface is experimental in JDK

@tzezula
Copy link

tzezula commented May 2, 2024

I think we should be able to catch the problem on our builders. I've seen the problem in our JKD-23 graalvm ee gate.

@JaroslavTulach
Copy link
Member

Anybody seen this failure recently?

@JaroslavTulach
Copy link
Member

Request for backport of JDK-8329564 into JDK 21 has been entered into My Oracle Support:

3-37944867291

as SR 3-37944867291.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🟢 Accepted
Development

Successfully merging a pull request may close this issue.

4 participants