IBM Support

IV48158: JPEGIMAGEREADER.READ CAUSES TRACEASSERT ON PARTICULAR IMAGES

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: The following error occurs on executing
    JPEGImageReader.read() on a particular image.
    03:06:44.067 0x31c6f100 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 :
    coredump(??) at 0x9000000002c433c
    j9dump_create() at 0x900000004e7b214
    doSystemDump() at 0x900000004eae064
    protectedDumpFunction() at 0x900000004eb2678
    j9sig_protect() at 0x900000004e61f90
    runDumpFunction() at 0x900000004eb261c
    runDumpAgent() at 0x900000004eb23d0
    triggerDumpAgents() at 0x900000004ecef20
    twAssertion() at 0x900000004ef12b0
    logTracePoint() at 0x90000000665b344
    utsTraceV() at 0x90000000665b52c
    j9Trace() at 0x900000004ef26bc
    internalReleaseVMAccessNoMutex() at 0x900000004de6dac
    internalReleaseVMAccess(), line 213 in "access.s"
    releasePrimitiveArrayCritical(), line 213 in "jnisup.s"
    unpinStreamBuffer@AF56_33(??, ??, ??), line 234 in
    "imageioJPEG.c"
    imageioJPEG.RELEASE_ARRAYS(env = 0x000001001b30ec00, data =
      0x09001000a0a6ae18, next_byte = ""), line 479 in
    "imageioJPEG.c"
    Java_com_sun_imageio_plugins_jpeg_JPEGImageReader_readImageHeade
    r
      (env = 0x0000000031c19800, this = 0x000001001ae3c008,
       ptr = 1264725888, clearFirst = '<HAT>01A', reset = '\0'),
       line 1742 in "imageioJPEG.c"
    .
    

Local fix

Problem summary

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

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR15
    6.0.1 SR7
    .
    JVM code is corrected, avoiding this situation of execution of
    JNI calls in critical section.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV48158

  • 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

    2013-09-11

  • Closed date

    2013-09-23

  • Last modified date

    2013-09-23

  • 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

[{"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:
23 September 2013