Skip to main content

IZ66721: *JAVA 5*AIX*CRASH IN LIBZIP.A NATIVE LIBRARY


Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: J9Generic_Signal_Number=00000004
    Signal_Number=0000000b
    Segmentation Error
    .
    Stack Trace: Java Stack Frame:
    java.util.zip.ZipFile.open()
    
      java.util.zip.ZipFile.<init>(ZipFile.java:241)
    
      java.util.zip.ZipFile.<init>(ZipFile.java:122)
    Native Stack Frame:
    
    /usr/lib/libc.a(shr.o)::.leftmost+0x2c
    
    /usr/lib/libc.a(shr.o)::_$STATIC+0x4
    
    /usr/WebSphere/AppServer/java/jre/bin/libwrappers.a::malloc+0x44
    
    /usr/WebSphere/AppServer/java/jre/bin/libzip.a::+0x28
           java::_$STATIC_BSS+0x1705b98
    .
    N/A
    

Local fix

Problem summary

  • It is found that static 256-byte string buffer used by
    JVM_GetLastErrorString() then by dbgStrdup
    () inside ZIP_Put_In_Cache() is simultaneously accessed by
    multiple threads, causing static string buffer modifie
    d by another thread during dbgStrdup().
    

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR11 FP1
    .
    The fix provided here is to allocate 256-byte string buffer on
    stack instead of using common s
    tatic 256-byte string buffer.
    .
    To obtain the fix:
    Install build 20100110 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ66721

  • Reported component name

    JAVA 5 CLASS LI

  • Reported component ID

    620500130

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-12-15

  • Closed date

    2010-04-27

  • Last modified date

    2010-04-27

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

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

    IZ66875

Fix information

  • Fixed component name

    JAVA 5 CLASS LI

  • Fixed component ID

    620500130

Applicable component levels

  • R500 PSN

       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:
5.0


Reference #:
IZ66721


Modified date:
2010-04-27

Translate my page

Content navigation