IBM Support

IV53894: HANG WITH AWTLOCK HELD BY FINALIZER THREAD AFTER APPLYING JAVA 5 SR16 FP3

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:  This APAR reports a hang in an applet or an AWT
    application.
    .
    A javacore and core file show that a number of threads are
    blocked on a ReentrantLock which is held by the Finalizer Thread
    even though the finalizer is not running.
    .
    A Javacore taken during the hange will contain the following:
    3XMTHREADBLOCK Parked on:
    java/util/concurrent/locks/ReentrantLock$NonfairSync@0x000000000
    0707F88 Owned by: "Finalizer thread"
    .
    The hang is a result of a NullPointerException caused by
    AppContext.getAppContext() returning NULL. This means that an
    awtUnlock() is not called and thus the ReenterantLock is still
    held by the Finalizer thread.
    

Local fix

Problem summary

  • The awtLock isn't released when an exception is thrown after the
    awtLock is taken.
    

Problem conclusion

  • This APAR will be fixed in the following Java Releases:
       7    SR6 FP1   (7.0.6.1)
       6    SR15 FP1  (6.0.15.1)
       6 R1 SR7 FP1   (6.1.7.1)
       7 R1 SR1       (7.1.1.0)
       5    SR16 FP1  (5.0.16.1)
    .
    Put function calls after a lock into try {} and unlock into
    finally{}.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV53894

  • 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

    2014-01-10

  • Closed date

    2014-01-10

  • Last modified date

    2014-01-17

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

    IV53752

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

Fix information

  • Fixed component name

    JAVA 5 CLASS LI

  • Fixed component ID

    620500130

Applicable component levels

  • R500 PSY

       

[{"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:
17 January 2014