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

locks when invoking Print

XMLWordPrintable

    • x86
    • windows_nt

      Build : 'I'
      OS : Win32 only ( Sol ok.)
      applet : compile and Print the sample printbug.html applet (attached)

      Locks up when invoking Print using the appletviewer.

      CAVEAT: It must be within the first 1-3 launches of the appletviewer once rebooted. It seems to work after the 3rd or so process kills/launches. Furthermore, it seems on the 2nd & 3rd launch the dialog comes up but the applet overrides the dialog....another bug..

      GPF dump:
      APPLETVIEWER caused a general protection fault
      in module UNIDRV.DLL at 0003:000034f2.
      Registers:
      EAX=21277f00 CS=4477 EIP=000034f2 EFLGS=00000202
      EBX=00000000 SS=2127 ESP=00007e14 EBP=00007e22
      ECX=00007e5b DS=4447 ESI=00000001 FS=0000
      EDX=00000000 ES=0000 EDI=00000011 GS=0000
      Bytes at CS:EIP:
      26 8a 07 8e 46 fe 8b d9 41 26 88 07 0a c0 75 ea
      Stack dump:
      00000000 21277d16 7e4a0010 7f8c2127 440f05cb
      00000100 7fa60000 7e4a2127 00002127 01570000
      013f80ae 00000003 c29bdf50 654c01de 72616d78
      704f206b

      This dump was done while the above GPF dialog was up.


      Full thread dump:

      "Thread-3" prio=7 tid=0x769d30 nid=0xfffcd59b runnable [0x9b6f000..0x9b6fdbc]
      at sun.awt.windows.WGraphics.createFromPrintJob(Native Method)
      at
      sun.awt.windows.WGraphics.<init>(..\..\..\..\src\win32\classes\sun\awt\windows\W
      Graphics.java:98)
      at
      sun.awt.windows.WPrintGraphics.<init>(..\..\..\..\src\win32\classes\sun\awt\wind
      ows\WPrintGraphics.java:49)
      at
      sun.awt.windows.WPrintJob.<init>(..\..\..\..\src\win32\classes\sun\awt\windows\W
      PrintJob.java:52)
      at
      sun.awt.windows.WPrintJob.createPrintJob(..\..\..\..\src\win32\classes\sun\awt\w
      indows\WPrintJob.java:41)
      at
      sun.awt.windows.WPrintControl.createPrintJob(..\..\..\..\src\win32\classes\sun\a
      wt\windows\WPrintControl.java:174)
      at sun.awt.windows.WPrintDialogPeer._show(Native Method)
      at
      sun.awt.windows.WPrintDialogPeer.access$000(..\..\..\..\src\win32\classes\sun\aw
      t\windows\WPrintDialogPeer.java:21)
      at
      sun.awt.windows.WPrintDialogPeer$1.run(..\..\..\..\src\win32\classes\sun\awt\win
      dows\WPrintDialogPeer.java:46)
      at
      java.lang.Thread.run(..\..\..\..\..\..\src\share\classes\java\lang\Thread.java:4
      79)

      "Thread-1" prio=5 tid=0x77c100 nid=0xfffcb14f waiting on monitor [0..0x63fbec]

      "thread applet-PrintBug.class" prio=4 tid=0x773750 nid=0xfffc0fa3 waiting on
      monitor [0x9ecf000..0x9ecfdbc]
      at java.lang.Object.wait(Native Method)
      at
      java.lang.Object.wait(..\..\..\..\..\..\src\share\classes\java\lang\Object.java:
      424)
      at
      sun.applet.AppletPanel.getNextEvent(..\..\..\..\src\share\classes\sun\applet\App
      letPanel.java:263)
      at
      sun.applet.AppletPanel.run(..\..\..\..\src\share\classes\sun\applet\AppletPanel.
      java:288)
      at
      java.lang.Thread.run(..\..\..\..\..\..\src\share\classes\java\lang\Thread.java:4
      79)

      "SunToolkit.PostEventQueue-1" prio=4 tid=0x7734c0 nid=0xfffc092f waiting on
      monitor [0x9daf000..0x9dafdbc]
      at java.lang.Object.wait(Native Method)
      at
      java.lang.Object.wait(..\..\..\..\..\..\src\share\classes\java\lang\Object.java:
      424)
      at
      sun.awt.PostEventQueue.run(..\..\..\..\src\share\classes\sun\awt\SunToolkit.java
      :409)

      "AWT-EventQueue-1" prio=4 tid=0x773300 nid=0xfffcf927 waiting on monitor
      [0x9c8f000..0x9c8fdbc]
      at java.lang.Object.wait(Native Method)
      at
      java.lang.Object.wait(..\..\..\..\..\..\src\share\classes\java\lang\Object.java:
      424)
      at
      java.awt.EventQueue.getNextEvent(..\..\..\..\src\share\classes\java\awt\EventQue
      ue.java:223)
      at
      java.awt.EventDispatchThread.pumpOneEvent(..\..\..\..\src\share\classes\java\awt
      \EventDispatchThread.java:103)
      at
      java.awt.EventDispatchThread.pumpEvents(..\..\..\..\src\share\classes\java\awt\E
      ventDispatchThread.java:95)
      at
      java.awt.EventDispatchThread.run(..\..\..\..\src\share\classes\java\awt\EventDis
      patchThread.java:86)

      "AWT-Windows" prio=5 tid=0x770750 nid=0xfffce4ff runnable [0x9a4f000..0x9a4fdbc]
      at sun.awt.windows.WPrintControl._getWin32MediaAttrib(Native Method)
      at
      sun.awt.windows.WPrintControl.getWin32MediaAttrib(..\..\..\..\src\win32\classessun\awt\windows\WPrintControl.java:85)
      at sun.awt.windows.WToolkit.eventLoop(Native Method)
      at
      sun.awt.windows.WToolkit.run(..\..\..\..\src\win32\classes\sun\awt\windows\WTool
      kit.java:129)
      at
      java.lang.Thread.run(..\..\..\..\..\..\src\share\classes\java\lang\Thread.java:4
      79)

      "SunToolkit.PostEventQueue-0" prio=5 tid=0x767e60 nid=0xffe376e7 waiting on
      monitor [0x992f000..0x992fdbc]
      at java.lang.Object.wait(Native Method)
      at
      java.lang.Object.wait(..\..\..\..\..\..\src\share\classes\java\lang\Object.java:
      424)
      at
      sun.awt.PostEventQueue.run(..\..\..\..\src\share\classes\sun\awt\SunToolkit.java
      :409)

      "AWT-EventQueue-0" prio=7 tid=0x7667e0 nid=0xffe37913 waiting on monitor
      [0x980f000..0x980fdbc]
      at java.lang.Object.wait(Native Method)
      at
      java.lang.Object.wait(..\..\..\..\..\..\src\share\classes\java\lang\Object.java:
      424)
      at
      java.awt.EventQueue.getNextEvent(..\..\..\..\src\share\classes\java\awt\EventQue
      ue.java:223)
      at
      java.awt.EventDispatchThread.pumpOneEvent(..\..\..\..\src\share\classes\java\awt
      \EventDispatchThread.java:103)
      at
      java.awt.EventDispatchThread.pumpEvents(..\..\..\..\src\share\classes\java\awt\E
      ventDispatchThread.java:95)
      at
      java.awt.Dialog.show(..\..\..\..\src\share\classes\java\awt\Dialog.java:369)
      at
      sun.awt.windows.WPrintDialog.initJob(..\..\..\..\src\win32\classes\sun\awt\windo
      ws\WPrintDialog.java:55)
      at
      sun.awt.windows.WPrintControl.initJobWithNativeDialog(..\..\..\..\src\win32\clas
      ses\sun\awt\windows\WPrintControl.java:168)
      at
      sun.awt.print.PrintControl.initJob(..\..\..\..\src\share\classes\sun\awt\print\P
      rintControl.java:296)
      at
      sun.awt.windows.WToolkit.getPrintJob(..\..\..\..\src\win32\classes\sun\awt\windo
      ws\WToolkit.java:403)
      at
      sun.awt.windows.WToolkit.getPrintJob(..\..\..\..\src\win32\classes\sun\awt\windo
      ws\WToolkit.java:391)
      at
      sun.applet.AppletViewer.appletPrint(..\..\..\..\src\share\classes\sun\applet\App
      letViewer.java:598)
      at
      sun.applet.AppletViewer.processUserAction(..\..\..\..\src\share\classes\sun\appl
      et\AppletViewer.java:760)
      at
      sun.applet.AppletViewer$UserActionListener.actionPerformed(..\..\..\..\src\share
      \classes\sun\applet\AppletViewer.java:135)
      at
      java.awt.MenuItem.processActionEvent(..\..\..\..\src\share\classes\java\awt\Menu
      Item.java:525)
      at
      java.awt.MenuItem.processEvent(..\..\..\..\src\share\classes\java\awt\MenuItem.j
      ava:489)
      at
      java.awt.MenuComponent.dispatchEventImpl(..\..\..\..\src\share\classes\java\awtMenuComponent.java:270)
      at
      java.awt.MenuComponent.dispatchEvent(..\..\..\..\src\share\classes\java\awt\Menu
      Component.java:260)
      at
      java.awt.EventQueue.dispatchEvent(..\..\..\..\src\share\classes\java\awt\EventQu
      eue.java:304)
      at
      java.awt.EventDispatchThread.pumpOneEvent(..\..\..\..\src\share\classes\java\awt
      \EventDispatchThread.java:105)
      at
      java.awt.EventDispatchThread.pumpEvents(..\..\..\..\src\share\classes\java\awt\E
      ventDispatchThread.java:95)
      at
      java.awt.EventDispatchThread.run(..\..\..\..\src\share\classes\java\awt\EventDis
      patchThread.java:86)

      "Signal Dispatcher" daemon prio=10 tid=0x7651a0 nid=0xfffc3a4b waiting on
      monitor [0..0]

      "Finalizer" daemon prio=9 tid=0x763550 nid=0xfffc2163 waiting on monitor
      [0x8f8f000..0x8f8fdbc]
      at java.lang.Object.wait(Native Method)
      at
      java.lang.ref.ReferenceQueue.remove(..\..\..\..\..\..\src\share\classes\java\lan
      g\ref\ReferenceQueue.java:112)
      at
      java.lang.ref.ReferenceQueue.remove(..\..\..\..\..\..\src\share\classes\java\lan
      g\ref\ReferenceQueue.java:127)
      at
      java.lang.ref.Finalizer$FinalizerThread.run(..\..\..\..\..\..\src\share\classesjava\lang\ref\Finalizer.java:166)

      "Reference Handler" daemon prio=10 tid=0x762cc0 nid=0xfffc22ef waiting on
      monitor [0x8e6f000..0x8e6fdbc]
      at java.lang.Object.wait(Native Method)
      at
      java.lang.Object.wait(..\..\..\..\..\..\src\share\classes\java\lang\Object.java:
      424)
      at
      java.lang.ref.Reference$ReferenceHandler.run(..\..\..\..\..\..\src\share\classes
      \java\lang\ref\Reference.java:114)

      "VM Thread" prio=5 tid=0x762710 nid=0xfffcc3ab runnable

      "VM Periodic Task Thread" prio=10 tid=0x764e10 nid=0xfffc27d7 waiting on monitor


            dmendenhsunw David Mendenhall (Inactive)
            rckim Robert Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: