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

Investigate Oracle GraalVM translated exception issue #9481

Closed
wants to merge 2 commits into from

Conversation

Akirathan
Copy link
Member

Fixes #9457

Pull Request Description

Important Notes

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • All code has been tested:
    • Unit tests have been written where possible.
    • If GUI codebase was changed, the GUI was tested when built using ./run ide build.

@Akirathan Akirathan self-assigned this Mar 19, 2024
@Akirathan
Copy link
Member Author

Trying to reproduce

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> 
…

In the dry-run benchmarks in Oracle GraalVM Engine job

@Akirathan Akirathan added CI: Clean build required CI runners will be cleaned before and after this PR is built. CI: No changelog needed Do not require a changelog entry for this PR. labels Mar 19, 2024
@enso-bot enso-bot bot mentioned this pull request Mar 19, 2024
@Akirathan Akirathan added the CI: Keep up to date Automatically update this PR to the latest develop. label Mar 25, 2024
@Akirathan Akirathan removed the CI: Keep up to date Automatically update this PR to the latest develop. label Mar 25, 2024
@Akirathan
Copy link
Member Author

The verbose option passed to the JVM (763cdc6) does not help, i.e., nothing more is printed as can be seen in

return new CachedBindings(libraryName, bindings, Optional.empty());

@Akirathan
Copy link
Member Author

Since the problem has already been fixed on the JDK side (#9457 (comment)), let's close this PR as it adds no added value to the solution of the problem.

@Akirathan Akirathan closed this Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: Clean build required CI runners will be cleaned before and after this PR is built. CI: No changelog needed Do not require a changelog entry for this PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Random CI failure on Oracle GraalVM: jdk.internal.vm.TranslatedException: Error decoding exception
1 participant