IBM Support

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

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
27 April 2010