Skip to content

JDK21/riscv64 failure in serviceability/sa/TestJhsdbJstackMixed.java #6433

@sxa

Description

@sxa

This test failed in the automation during the July 2025 release cycle.

I was able to get it to work by copying libNoFramePointer.so from the testimage archive to /usr/java/packages/lib although that is not a location which the jenkins user is able to write to (other locations, also not writable by jenkins, are shows in the error message).

Noting that adding a different location to LD_LIBRARY_PATH does not allow it to pass.
Also noting that running under strace will cause a failure:

Caused by: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process: ptrace(PTRACE_ATTACH, ..) failed for 307064: Operation not permitted
[...]
java.lang.RuntimeException: 'NoFramePointerJNIFib' missing from stdout/stderr

Reproduce with make _hotspot_custom HOTSPOT_CUSTOM_TARGET=serviceability/sa/TestJhsdbJstackMixed.java once you've run a compilation of tests with BUILD_LIST=openjdk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions