Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4358157

LockingKeyTest.java does not exit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • None
    • 1.4.0
    • hotspot
    • None
    • sparc
    • solaris_7

      The regression test: /test/java/awt/Toolkit/LockingKeyTest.java
      does not exit.

      Tested on an Ultra 10 running Solaris 7 with Merlin-beta-build25
      (well after 4030718 was integrated).

      The program reaches the last line of main, but doesn't exit.

      ^\Full thread dump:

      "SIGINT handler" daemon prio=10 tid=0x16b3c0 nid=0xf runnable [0xf7681000..0xf7681a50]
              at java.lang.Shutdown.exit(Shutdown.java:213)
              - waiting to lock <fc435a78> (a java.lang.Class)
              at java.lang.Terminator$1.handle(Terminator.java:38)
              at sun.misc.Signal$1.run(Signal.java:198)
              at java.lang.Thread.run(Thread.java:488)

      "Shutdown-Thread" prio=5 tid=0x16aa30 nid=0xe runnable [0xf7781000..0xf7781a50]
              at sun.awt.motif.MToolkit.shutdown(Native Method)
              at sun.awt.motif.MToolkit.access$000(MToolkit.java:47)
              at sun.awt.motif.MToolkit$2.run(MToolkit.java:101)
              at java.lang.Thread.run(Thread.java:488)

      "SIGINT handler" daemon prio=10 tid=0x169a98 nid=0xd waiting on monitor [0xf7881000..0xf7881a50]
              at java.lang.Object.wait(Native Method)
              - waiting on <f90d1cc8> (a java.lang.Thread)
              at java.lang.Thread.join(Thread.java:934)
              - locked <f90d1cc8> (a java.lang.Thread)
              at java.lang.Thread.join(Thread.java:987)
              at java.lang.Shutdown.runHooks(Shutdown.java:133)
              at java.lang.Shutdown.sequence(Shutdown.java:168)
              at java.lang.Shutdown.exit(Shutdown.java:213)
              - locked <fc435a78> (a java.lang.Class)
              at java.lang.Terminator$1.handle(Terminator.java:38)
              at sun.misc.Signal$1.run(Signal.java:198)
              at java.lang.Thread.run(Thread.java:488)

      "Thread-0" prio=5 tid=0x277c8 nid=0x1 runnable [0..0xffbee3a8]

      "AWT-EventQueue-0" prio=6 tid=0x149018 nid=0xc waiting on monitor [0xf7981000..0xf7981a50]
              at java.lang.Object.wait(Native Method)
              - waiting on <f90d1d10> (a java.awt.EventQueue)
              at java.lang.Object.wait(Object.java:420)
              at java.awt.EventQueue.getNextEvent(EventQueue.java:289)
              - locked <f90d1d10> (a java.awt.EventQueue)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:125)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:117)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:96)

      "AWT-Motif" daemon prio=5 tid=0x1357a8 nid=0xb runnable [0xf7a81000..0xf7a81a50]
              at sun.awt.motif.MToolkit.run(Native Method)
              at java.lang.Thread.run(Thread.java:488)

      "AWT-Shutdown" prio=5 tid=0x124948 nid=0xa waiting on monitor [0xf7b81000..0xf7b81a50]
              at java.lang.Object.wait(Native Method)
              - waiting on <f86181d8> (a java.lang.Object)
              at java.lang.Object.wait(Object.java:420)
              at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:262)
              - locked <f86181d8> (a java.lang.Object)
              at java.lang.Thread.run(Thread.java:488)

      "Signal Dispatcher" daemon prio=10 tid=0x32900 nid=0x9 runnable [0..0xf8181ab8]

      "Finalizer" daemon prio=8 tid=0x2f9a8 nid=0x7 waiting on monitor [0xf8281000..0xf8281a50]
              at java.lang.Object.wait(Native Method)
              - waiting on <f86160b0> (a java.lang.ref.ReferenceQueue$Lock)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
              - locked <f86160b0> (a java.lang.ref.ReferenceQueue$Lock)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:126)
              at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)

      "Reference Handler" daemon prio=10 tid=0x2e090 nid=0x6 waiting on monitor [0xf8381000..0xf8381a50]
              at java.lang.Object.wait(Native Method)
              - waiting on <f8610110> (a java.lang.ref.Reference$Lock)
              at java.lang.Object.wait(Object.java:420)
              at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
              - locked <f8610110> (a java.lang.ref.Reference$Lock)

      "VM Thread" prio=5 tid=0x2a868 nid=0x4 runnable

      "VM Periodic Task Thread" prio=10 tid=0x32410 nid=0x8 waiting on monitor

            jcoomes John Coomes (Inactive)
            ehawkessunw Eric Hawkes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: