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

hotspot crash when printing to non-available network printer

XMLWordPrintable

    • 2d
    • b01
    • x86
    • windows_2000, windows_xp

      FULL PRODUCT VERSION :
      java version "1.5.0_04"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
      Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)

      FULL OS VERSION :
      Microsoft Windows XP [verziószám: 5.1.2600]


      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Hungarian windows XP
      Printer driver is a "hp LaserJet 1010 Series Driver" installed over network

      A DESCRIPTION OF THE PROBLEM :
      I was trying to print to a non available network printer (the computer the printer was connected to was shut down), when the java hotspot crashed.

      I have another driver for this network printer, that it CAN print to regardless of the printing computer being available. If I use this latter driver, windowsXP starts a printjob and tells me it couldn't print.

      In the former case, windowsXP doesn't start a printjob, the hotspot just crashes.

      What I noticed, that if the printing computer is shut down, clicking on the former driver's printer properties brings me an error message (something like resource unavailable)



      THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Did not try

      THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Did not try

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x71615885, pid=2620, tid=2676
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode, sharing)
      # Problematic frame:
      # C [IMFNT5.DLL+0x5885]
      #

      --------------- T H R E A D ---------------

      Current thread (0x02ccf740): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=2676]

      siginfo: ExceptionCode=0xc0000005, writing address 0x0000007c

      Registers:
      EAX=0x00d8e9ec, EBX=0x00000008, ECX=0x000000e9, EDX=0x00d8e9ec
      ESP=0x030ae568, EBP=0x00d8e9ec, ESI=0x00000000, EDI=0x00000000
      EIP=0x71615885, EFLAGS=0x00010206

        Top of Stack: (sp=0x030ae568)
      0x030ae568: 0d940044 000de328 00000000 00000000
      0x030ae578: 00000000 00000000 6d70414c 00000000
      0x030ae588: 00000000 00000008 00d8e9ec 00d8e9ec
      0x030ae598: 00000000 00000000 00000000 00000000
      0x030ae5a8: 00000000 00000000 00000000 716112f4
      0x030ae5b8: 00000000 00000008 00d8e9ec 00d8e9ec
      0x030ae5c8: 00000000 00000d00 00000000 00000000
      0x030ae5d8: 030ae5f8 00000002 00000000 00000000

      Instructions: (pc=0x71615885)
      0x71615875: c2 66 c1 e8 08 3a d0 75 07 c1 ea 10 3a c2 74 07
      0x71615885: c7 47 7c 01 00 00 00 8b 44 24 60 8b 4c 24 64 8b


      Stack: [0x03070000,0x030b0000), sp=0x030ae568, free space=249k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [IMFNT5.DLL+0x5885]

      [error occurred during error reporting, step 120, id 0xc0000005]

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j sun.awt.windows.WPrinterJob.fillRect(JFFFFIII)V+0
      j sun.awt.windows.WPrinterJob.fillRect(FFFFLjava/awt/Color;)V+42
      j sun.awt.windows.WPathGraphics.deviceFillRect(IIIILjava/awt/Color;)V+162
      j sun.print.PathGraphics.fillRect(IIII)V+45
      j javax.swing.plaf.ComponentUI.update(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+26
      j javax.swing.JComponent.paintComponent(Ljava/awt/Graphics;)V+26
      j javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+260
      j woodpecker.szamlaprogram.PrintUtilities.print(Ljava/awt/Graphics;Ljava/awt/print/PageFormat;I)I+431
      j sun.print.RasterPrinterJob.printPage(Ljava/awt/print/Pageable;I)I+656
      j sun.print.RasterPrinterJob.print(Ljavax/print/attribute/PrintRequestAttributeSet;)V+474
      j sun.print.RasterPrinterJob.print()V+5
      j woodpecker.szamlaprogram.PrintUtilities.print()V+58
      j woodpecker.szamlaprogram.PrintUtilities.printComponent(Ljava/awt/Component;ZLjavax/print/PrintService;Ljava/awt/print/PageFormat;)V+30
      j woodpecker.szamlaprogram.PrintHandler.printSzamla(Lwoodpecker/szamlaprogram/Szamla;I)Z+250
      j woodpecker.szamlaprogram.SzamlaGombok.szamlaNyomtat(Lwoodpecker/szamlaprogram/Szamla;I)V+2
      j woodpecker.szamlaprogram.SzamlaGombok.szamla_nyomtat_btnActionPerformed(Ljava/awt/event/ActionEvent;)V+162
      j woodpecker.szamlaprogram.SzamlaGombok.access$400(Lwoodpecker/szamlaprogram/SzamlaGombok;Ljava/awt/event/ActionEvent;)V+2
      j woodpecker.szamlaprogram.SzamlaGombok$6.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
      j javax.swing.AbstractButton.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+84
      j javax.swing.AbstractButton$Handler.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
      j javax.swing.DefaultButtonModel.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+35
      j javax.swing.DefaultButtonModel.setPressed(Z)V+117
      j javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Ljava/awt/event/MouseEvent;)V+35
      j java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+64
      j javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V+23
      j java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V+81
      j java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V+18
      j java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+477
      j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
      J java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V
      j java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent;)Z+139
      j java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent;)Z+50
      j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+12
      j java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
      J java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V
      J java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z
      v ~RuntimeStub::alignment_frame_return Runtime1 stub
      j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26
      j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
      j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
      j java.awt.EventDispatchThread.run()V+9
      v ~StubRoutines::call_stub

      --------------- P R O C E S S ---------------

      Java Threads: ( => current thread )
        0x02d0e9a0 JavaThread "TimerQueue" daemon [_thread_blocked, id=3124]
        0x00035f20 JavaThread "DestroyJavaVM" [_thread_blocked, id=3812]
      =>0x02ccf740 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=2676]
        0x02cc70f0 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2856]
        0x00ad98c8 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3736]
        0x00ad9390 JavaThread "AWT-Shutdown" [_thread_blocked, id=3304]
        0x00a7e5a0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2388]
        0x00a7d170 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2420]
        0x00a7c408 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3744]
        0x0003f7b0 JavaThread "Finalizer" daemon [_thread_blocked, id=1944]
        0x0003e328 JavaThread "Reference Handler" daemon [_thread_blocked, id=2944]

      Other Threads:
        0x00a77320 VMThread [id=3860]
        0x00a7f7f0 WatcherThread [id=2424]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap
       def new generation total 704K, used 75K [0x22ad0000, 0x22b90000, 0x22fb0000)
        eden space 640K, 1% used [0x22ad0000, 0x22ad2f50, 0x22b70000)
        from space 64K, 99% used [0x22b80000, 0x22b8fff8, 0x22b90000)
        to space 64K, 0% used [0x22b70000, 0x22b70000, 0x22b80000)
       tenured generation total 8352K, used 5754K [0x22fb0000, 0x237d8000, 0x26ad0000)
         the space 8352K, 68% used [0x22fb0000, 0x2354e920, 0x2354ea00, 0x237d8000)
       compacting perm gen total 8192K, used 3045K [0x26ad0000, 0x272d0000, 0x2aad0000)
         the space 8192K, 37% used [0x26ad0000, 0x26dc94f0, 0x26dc9600, 0x272d0000)
          ro space 8192K, 66% used [0x2aad0000, 0x2b029dc0, 0x2b029e00, 0x2b2d0000)
          rw space 12288K, 46% used [0x2b2d0000, 0x2b867e98, 0x2b868000, 0x2bed0000)

      Dynamic libraries:
      0x00400000 - 0x0040c000 C:\Program Files\Java\jdk1.5.0_04\jre\bin\java.exe
      0x7c900000 - 0x7c9b2000 C:\WINDOWS\system32\ntdll.dll
      0x7c800000 - 0x7c8f9000 C:\WINDOWS\system32\kernel32.dll
      0x77dc0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
      0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
      0x77c00000 - 0x77c58000 C:\WINDOWS\system32\MSVCRT.dll
      0x6d6b0000 - 0x6d839000 C:\Program Files\Java\jdk1.5.0_04\jre\bin\client\jvm.dll
      0x77d30000 - 0x77dc0000 C:\WINDOWS\system32\USER32.dll
      0x77f10000 - 0x77f56000 C:\WINDOWS\system32\GDI32.dll
      0x76b20000 - 0x76b4e000 C:\WINDOWS\system32\WINMM.dll
      0x6d2f0000 - 0x6d2f8000 C:\Program Files\Java\jdk1.5.0_04\jre\bin\hpi.dll
      0x76be0000 - 0x76beb000 C:\WINDOWS\system32\PSAPI.DLL
      0x6d680000 - 0x6d68c000 C:\Program Files\Java\jdk1.5.0_04\jre\bin\verify.dll
      0x6d370000 - 0x6d38d000 C:\Program Files\Java\jdk1.5.0_04\jre\bin\java.dll
      0x6d6a0000 - 0x6d6af000 C:\Program Files\Java\jdk1.5.0_04\jre\bin\zip.dll
      0x6d070000 - 0x6d1d7000 C:\Program Files\Java\jdk1.5.0_04\jre\bin\awt.dll
      0x72f90000 - 0x72fb6000 C:\WINDOWS\system32\WINSPOOL.DRV
      0x76360000 - 0x7637d000 C:\WINDOWS\system32\IMM32.dll
      0x774d0000 - 0x7760d000 C:\WINDOWS\system32\ole32.dll
      0x5b1d0000 - 0x5b208000 C:\WINDOWS\system32\uxtheme.dll
      0x736f0000 - 0x73739000 C:\WINDOWS\system32\ddraw.dll
      0x73b50000 - 0x73b56000 C:\WINDOWS\system32\DCIMAN32.dll
      0x738d0000 - 0x739a0000 C:\WINDOWS\system32\D3DIM700.DLL
      0x746d0000 - 0x7471b000 C:\WINDOWS\system32\MSCTF.dll
      0x7c9c0000 - 0x7d1d9000 C:\WINDOWS\system32\shell32.dll
      0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
      0x773c0000 - 0x774c2000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
      0x5d520000 - 0x5d5b7000 C:\WINDOWS\system32\comctl32.dll
      0x6d2b0000 - 0x6d2ed000 C:\Program Files\Java\jdk1.5.0_04\jre\bin\fontmanager.dll
      0x6d530000 - 0x6d543000 C:\Program Files\Java\jdk1.5.0_04\jre\bin\net.dll
      0x71a50000 - 0x71a67000 C:\WINDOWS\system32\WS2_32.dll
      0x71a40000 - 0x71a48000 C:\WINDOWS\system32\WS2HELP.dll
      0x6d550000 - 0x6d559000 C:\Program Files\Java\jdk1.5.0_04\jre\bin\nio.dll
      0x719f0000 - 0x71a30000 C:\WINDOWS\System32\mswsock.dll
      0x76f10000 - 0x76f37000 C:\WINDOWS\system32\DNSAPI.dll
      0x76fa0000 - 0x76fa8000 C:\WINDOWS\System32\winrnr.dll
      0x76f50000 - 0x76f7d000 C:\WINDOWS\system32\WLDAP32.dll
      0x76fb0000 - 0x76fb6000 C:\WINDOWS\system32\rasadhlp.dll
      0x66780000 - 0x667d8000 C:\WINDOWS\system32\hnetcfg.dll
      0x71a30000 - 0x71a38000 C:\WINDOWS\System32\wshtcpip.dll
      0x031c0000 - 0x03274000 C:\Program Files\LeechGet 2004\DownloadManager.dll
      0x77110000 - 0x7719c000 C:\WINDOWS\system32\oleaut32.dll
      0x77bf0000 - 0x77bf8000 C:\WINDOWS\system32\version.dll
      0x771a0000 - 0x77246000 C:\WINDOWS\system32\wininet.dll
      0x77a70000 - 0x77b05000 C:\WINDOWS\system32\CRYPT32.dll
      0x77b10000 - 0x77b22000 C:\WINDOWS\system32\MSASN1.dll
      0x71a70000 - 0x71a7a000 C:\WINDOWS\system32\wsock32.dll
      0x76d50000 - 0x76d69000 C:\WINDOWS\system32\IPHLPAPI.DLL
      0x76d30000 - 0x76d48000 C:\WINDOWS\system32\MPRAPI.dll
      0x77cb0000 - 0x77ce2000 C:\WINDOWS\system32\ACTIVEDS.dll
      0x76e00000 - 0x76e25000 C:\WINDOWS\system32\adsldpc.dll
      0x5b0e0000 - 0x5b134000 C:\WINDOWS\system32\NETAPI32.dll
      0x76b00000 - 0x76b11000 C:\WINDOWS\system32\ATL.DLL
      0x76e70000 - 0x76e7e000 C:\WINDOWS\system32\rtutils.dll
      0x71ba0000 - 0x71bb3000 C:\WINDOWS\system32\SAMLIB.dll
      0x77910000 - 0x77a06000 C:\WINDOWS\system32\SETUPAPI.dll
      0x10000000 - 0x10007000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\SDNT5UI.DLL
      0x71000000 - 0x71011000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\SDDM32.DLL
      0x71130000 - 0x71145000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\ZSPOOL.dll
      0x03290000 - 0x0329a000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\ZGDI32.dll
      0x715d0000 - 0x715d6000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\ZTAG32.dll
      0x71060000 - 0x71080000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\SDDMUI.DLL
      0x71020000 - 0x71046000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\SR32.dll
      0x76380000 - 0x763c9000 C:\WINDOWS\system32\comdlg32.dll
      0x71610000 - 0x7161e000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\IMFNT5.DLL
      0x71600000 - 0x71607000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\Imf32.dll
      0x76820000 - 0x76853000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\UNIDRVUI.DLL
      0x778c0000 - 0x77903000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\UNIDRV.DLL
      0x6a900000 - 0x6a913000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\2\STUI131.DLL
      0x03800000 - 0x03814000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\2\RASDDUI.DLL
      0x60600000 - 0x6067a000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\hpzpm309.dll
      0x0de50000 - 0x0de84000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\hpz2ku09.dll
      0x769a0000 - 0x76a55000 C:\WINDOWS\system32\USERENV.dll
      0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
      0x5e680000 - 0x5e6a3000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\PS5UI.DLL
      0x5e5f0000 - 0x5e664000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\PSCRIPT5.DLL
      0x73ac0000 - 0x73ad5000 C:\WINDOWS\system32\mscms.dll
      0x6d230000 - 0x6d253000 C:\Program Files\Java\jdk1.5.0_04\jre\bin\dcpr.dll

      VM Arguments:
      java_command: woodpecker.szamlaprogram.Main

      Environment Variables:
      JAVA_HOME=C:\Program Files\Java\jdk1.5.0_04CLASSPATH="C:\Program Files\Java\j2re1.4.2_07\lib\ext\QTJava.zip"
      PATH=c:\utils\texttools\miktex\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Java\jdk1.5.0_04\bin;C:\utils\internet\phpUSERNAME=Sean
      OS=Windows_NT
      PROCESSOR_IDENTIFIER=x86 Family 6 Model 10 Stepping 0, AuthenticAMD



      --------------- S Y S T E M ---------------

      OS: Windows XP Build 2600 Szervizcsomag 2

      CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse

      Memory: 4k page, physical 523760k(57140k free), swap 1280052k(737776k free)

      vm_info: Java HotSpot(TM) Client VM (1.5.0_04-b05) for windows-x86, built on Jun 3 2005 02:10:41 by "java_re" with MS VC++ 6.0



      REPRODUCIBILITY :
      This bug can be reproduced always.

            jgodinez Jennifer Godinez (Inactive)
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: