Skip to main content

IV09391: JVM CRASHES IF LIBPATH IS SET TO SHARED LIBRARIES OF OTHER JVM O N AIX PPC32


Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: (dbx) where
    pthdb_session.c, 833: 0 PTHDB_INTERNAL (internal error)
    pthreaded.c, 1949: PTHDB_INTERNAL (internal error)
    monitor_allocate() at 0xd2e80580 from libj9thr24.so
    monitor_alloc_and_init() at 0xd2e8021c from libj9thr24.so
    j9thread_monitor_init_with_name() at 0xd2e802c8 from
    libj9thr24.so
    hystub_shsem_getVal() at 0xd2ec29c4 from libhyprtshim24.so
    createHarmonyPortLibrary() at 0xd0b173c4 from libjvm.so
    addHarmonyPortLibToVMArgs() at 0xd0b1752c from libjvm.so
    JNI_CreateJavaVM() at 0xd0b1908c from libjvm.so
    InitializeJVM(pvm = (nil), penv = (nil), ifn = (nil)), line 1707
    in
    "java.c"
    main(argc = 0, argv = (nil)), line 742 in "java.c"
    .
    When the LIBPATH value is set to shared libraries of other JVM ,
    then even java -version dumps core on AIX PPC32 systems
    

Local fix

  • The problem can be work around by:
        1) Setting the LIBPATH to the current JVM shared libraries.
         OR
        2) Remove the LIBPATH to other JVM shared libraries.
         OR
        3) Unsettiing the env varaiable LDR_CNTRL.
    

Problem summary

  • When JVM identified the LIBPATH to other JVM shared libraries,
    it consider them as its own shared libraries and did not include
    the path to its actual shared libraries.
    

Problem conclusion

  • The java launcher has been updated to make sure that the
    environment for the java process is set correctly before
    launching the JVM.
    .
    This defect will be fixed in:
    6.0.0 SR11
    6.0.1 SR3
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV09391

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-10-20

  • Closed date

    2011-12-31

  • Last modified date

    2012-09-02

  • 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

  • R600 PSY

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Runtimes for Java Technology

Java Class Libraries


Software version:
6.0


Reference #:
IV09391


Modified date:
2012-09-02

Translate my page

Content navigation