IBM Support

IV53752: HANG WITH AWTLOCK HELD BY FINALIZER THREAD AFTER APPLYING IV43477 (Java 7) OR IV43437 (JAVA 6)

Subscribe

You can track all active APARs for this component.

 

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

    IV53752

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-01-07

  • Closed date

    2014-01-07

  • Last modified date

    2014-01-17

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

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

    IV53894

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R700 PSY

       UP

  • R600 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022