IBM Support

IV78314: UNSATISFIEDLINKERROR THROWN IN JAVA.UTIL.ARRAYS.SORT()

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: An UnsatisfiedLinkError is thrown with the JDK
    for Linux on PPC64(little endian) when either a GPU or the CUDA
    library is unavailable.
    .
    Stack Trace: Exception in thread "main"
    java.lang.UnsatisfiedLinkError: ibmgpu (libcudart.so.5.5: cannot
    open shared object file: No such file or directory)
            at
    java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1256)
            at
    java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.jav
    a:1220)
            at java.lang.System.loadLibrary(System.java:537)
            at com.ibm.gpu.CUDAManager$4.run(CUDAManager.java:213)
            at com.ibm.gpu.CUDAManager$4.run(CUDAManager.java:211)
            at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:360)
            at
    com.ibm.gpu.CUDAManager.getInstance(CUDAManager.java:211)
            at java.util.Arrays.tryIntSortOnGPU(Arrays.java:104)
            at java.util.Arrays.sort(Arrays.java:264)
            at Test.main(Test.java:10)
    .
    This exception is thrown with the -Dcom.ibm.gpu.disable option
    as well.
    

Local fix

Problem summary

  • GPU related classes do not handle UnsatisfiedLinkError
    instances, passing them to the calling methods.
    

Problem conclusion

  • The Java 7 class library has been updated to handle the
    UnsatisfiedLinkError.
    .
    This APAR will be fixed in the following Java Releases:
       7 R1 SR3 FP30  (7.1.3.30)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV78314

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-10-23

  • Closed date

    2016-01-19

  • Last modified date

    2016-01-19

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022