IBM Support

IZ81255: JPEGIMAGEDECODER.DECODEASBUFFEREDIMAGE() CAUSES TRACEASSERT ON P ARTICULAR IMAGES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: The following error occurs on executing
    JPEGImageDecoder.decodeAsBufferedImage() on particular messages
    and particular scenarios.
    JVMDUMP006I Processing dump event "traceassert", detail "" -
    please wait.
    11:52:49.918 0x116ad1f00    j9vm.227    *   ** ASSERTION FAILED
    ** at vmaccess.c:271: ((vmThread)->publicFlags &
    J9_PUBLIC_FLAGS_VM_ACCESS)
    .
    Stack Trace: The native stack of the application thread will be
    as below
    (dbx) where
    coredump(??) at 0x9000000002a21bc
    j9dump_create() at 0x900000001860304
    doSystemDump() at 0x9000000019a7fe0
    protectedDumpFunction() at 0x9000000019ac4e0
    j9sig_protect() at 0x90000000184abb0
    runDumpFunction() at 0x9000000019ac484
    runDumpAgent() at 0x9000000019ac270
    triggerDumpAgents() at 0x9000000019c85d4
    twAssertion() at 0x9000000019ea948
    logTracePoint() at 0x9000000022b784c
    utsTraceV() at 0x9000000022b7a28
    j9Trace() at 0x9000000019ebd54
    internalReleaseVMAccessNoMutex() at 0x9000000017badb4
    internalReleaseVMAccess(), line 73 in "access.s"
    releasePrimitiveArrayCritical(), line 73 in "jnisup.s"
    jpegimagedecoderimpl.RELEASE_ARRAYS(env = 0x0900000002d53778,
    src = 0x0000000000001b20), line 186 in "jpegimagedecoderimpl.c"
    Java_sun_awt_image_codec_JPEGImageDecoderImpl_readJPEGStream(env
    = 0x00000000301bb300, javaDecoderObj = 0x000000011370f810,
    hInputStream = 0x000000011370f808, jpegParamObj = (nil), colCvt
    = '<HAT>01A'), line 1020 in "jpegimagedecoderimpl.c"
    VMprJavaSendNative(), line 73 in "jnisend.s"
    .
    

Local fix

Problem summary

  • There are some JNI calls made in the critical section. This can
    illegally change the VM states causing the traceassert by the
    VM.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR9
    .
    JVM code is corrected, avoiding this situation of execution of
    JNI calls in critical section.
    .
    To obtain the fix:
    Install build 20100903 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ81255

  • 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

    2010-08-06

  • Closed date

    2010-09-06

  • Last modified date

    2010-09-06

  • 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 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":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
06 September 2010