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

VM crash while printing in Win2000

XMLWordPrintable

    • 2d
    • beta3
    • x86
    • windows_nt, windows_2000
    • Verified

      32.dll
      0x70090000 - 0x70097000 C:\WINNT\System32\spool\DRIVERS\W32X86\3\FAXDRV.DLL
      0x6D2B0000 - 0x6D2CE000 C:\Program Files\JavaSoft\JRE\1.4\bin\jpeg.dll
      0x6D130000 - 0x6D153000 C:\Program Files\JavaSoft\JRE\1.4\bin\cmm.dll
      0x76060000 - 0x76107000 C:\WINNT\System32\spool\DRIVERS\W32X86\3\pcl5eres.dll
      0x77920000 - 0x77942000 C:\WINNT\system32\imagehlp.dll
      0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
      0x690A0000 - 0x690AB000 C:\WINNT\System32\PSAPI.DLL

      Local Time = Fri Jul 13 15:36:50 2001
      Elapsed Time = 5541
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.0-beta-b65 mixed mode)
      #

      ###@###.### 2001-08-14
      ========================================================

      Name: ddT132432 Date: 10/02/2001


      java version "1.4.0-beta2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta2-b77)
      Java HotSpot(TM) Client VM (build 1.4.0-beta2-b77, mixed mode)

      Run the following class and you will get an EXCEPTION_ACCESS_VIOLATION outside
      the VM:

      /*
      * Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
      *
      * This software is the proprietary information of Sun Microsystems, Inc.
      * Use is subject to license terms.
      *
      */

      import java.io.*;
      import javax.print.*;
      import javax.print.attribute.*;
      import javax.print.attribute.standard.*;

      /*
      * Use the Java(TM) Print Service API to locate a print service which
      * can print a GIF-encoded image. A GIF image is printed according to
      * a job template specified as a set of printing attributes.
      */
      public class PrintJPEG {

      public static void main (String args[]) {
      for (int k=0; k< 100; k++)
      {
      PrintJPEG p = new PrintJPEG();
      p.print();
      }
      }

      public void print() {

      /* Use the pre-defined flavor for a GIF from an InputStream */
      DocFlavor flavor = DocFlavor.INPUT_STREAM.JPEG;

      /* Create a set which specifies how the job is to be printed */
      PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
      //aset.add(MediaSizeName.NA_LETTER);
      aset.add(new Copies(1));

      /* Locate print services which can print a GIF in the manner specified */
      PrintService[] pservices =
      PrintServiceLookup.lookupPrintServices(flavor, aset);

      if (pservices.length > 0) {
      /* Create a Print Job */
      DocPrintJob printJob = pservices[0].createPrintJob();

      /* Create a Doc implementation to pass the print data */
      Doc doc = new InputStreamDoc("image.jpg", flavor);

      /* Print the doc as specified */
      try {
      printJob.print(doc, aset);
      } catch (PrintException e) {
      System.err.println(e);
      }
      } else {
      System.err.println("No suitable printers");
      }
      }
      }

      class InputStreamDoc implements Doc {
      private String filename;
      private DocFlavor docFlavor;
      private InputStream stream;

      public InputStreamDoc(String name, DocFlavor flavor) {
      filename = name;
      docFlavor = flavor;
      }
         
      public DocFlavor getDocFlavor() {
      return docFlavor;
      }

      /* No attributes attached to this Doc - mainly useful for MultiDoc */
      public DocAttributeSet getAttributes() {
      return null;
      }

      /* Since the data is to be supplied as an InputStream delegate to
      * getStreamForBytes().
      */
      public Object getPrintData() throws IOException {
      return getStreamForBytes();
      }

      /* Not possible to return a GIF as text */
      public Reader getReaderForText()
      throws UnsupportedEncodingException, IOException {
          return null;
      }

      /* Return the print data as an InputStream.
      * Always return the same instance.
      */
      public InputStream getStreamForBytes() throws IOException {
      synchronized(this) {
      if (stream == null) {
      stream = new FileInputStream(filename);
      }
      return stream;
      }
      }
      }


      You will need a jpeg-file "image.jpg", take any "large" (>500k) jpeg file you
      have.

      This is the result after a while (some printouts make it):


      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x77F4A400
      Function=GdiConvertToDevmodeW+0x117
      Library=C:\WINNT\system32\GDI32.DLL

      Current Java thread:
              at sun.awt.windows.WPrinterJob._startDoc(Native Method)
              at sun.awt.windows.WPrinterJob.startDoc(WPrinterJob.java:1004)
              at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1024)
              at sun.print.Win32PrintJob.printableJob(Win32PrintJob.java:440)
              at sun.print.Win32PrintJob.print(Win32PrintJob.java:305)
              at PrintGIF.print(PrintGIF.java:52)
              at PrintGIF.main(PrintGIF.java:25)

      Dynamic libraries:
      0x00400000 - 0x00406000 C:\WINNT\system32\java.exe
      0x77F80000 - 0x77FFB000 C:\WINNT\System32\ntdll.dll
      0x77DB0000 - 0x77E0B000 C:\WINNT\system32\ADVAPI32.dll
      0x77E80000 - 0x77F35000 C:\WINNT\system32\KERNEL32.DLL
      0x77D40000 - 0x77DB0000 C:\WINNT\system32\RPCRT4.DLL
      0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
      0x6D330000 - 0x6D446000 C:\Program Files\JavaSoft\JRE\1.4
      \bin\client\jvm.dll
      0x77E10000 - 0x77E74000 C:\WINNT\system32\USER32.dll
      0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
      0x77570000 - 0x775A0000 C:\WINNT\system32\WINMM.dll
      0x6D1D0000 - 0x6D1D7000 C:\Program Files\JavaSoft\JRE\1.4\bin\hpi.dll
      0x6D300000 - 0x6D30D000 C:\Program Files\JavaSoft\JRE\1.4\bin\verify.dll
      0x6D210000 - 0x6D227000 C:\Program Files\JavaSoft\JRE\1.4\bin\java.dll
      0x6D320000 - 0x6D32D000 C:\Program Files\JavaSoft\JRE\1.4\bin\zip.dll
      0x6D000000 - 0x6D0F1000 C:\Program Files\JavaSoft\JRE\1.4\bin\awt.dll
      0x77800000 - 0x7781D000 C:\WINNT\system32\WINSPOOL.DRV
      0x75E60000 - 0x75E7A000 C:\WINNT\system32\IMM32.dll
      0x77A50000 - 0x77B46000 C:\WINNT\system32\ole32.dll
      0x76020000 - 0x76053000 C:\WINNT\System32\spool\DRIVERS\W32X86\3
      \UNIDRVUI.DLL
      0x76EF0000 - 0x76F1B000 C:\WINNT\System32\spool\DRIVERS\W32X86\3
      \UNIDRV.DLL
      0x775A0000 - 0x775B4000 C:\WINNT\System32\spool\DRIVERS\W32X86\2
      \RASDDUI.DLL
      0x6A900000 - 0x6A90C000 C:\WINNT\System32\spool\DRIVERS\W32X86\2
      \acpdfui159.dll
      0x782F0000 - 0x78532000 C:\WINNT\system32\SHELL32.dll
      0x77C70000 - 0x77CBA000 C:\WINNT\system32\SHLWAPI.DLL
      0x77B50000 - 0x77BD9000 C:\WINNT\system32\COMCTL32.DLL
      0x6FF40000 - 0x6FF64000 C:\WINNT\System32\spool\DRIVERS\W32X86\3
      \FAXUI.DLL
      0x77530000 - 0x77552000 C:\WINNT\System32\TAPI32.dll
      0x70090000 - 0x70097000 C:\WINNT\System32\spool\DRIVERS\W32X86\3
      \FAXDRV.DLL
      0x68F00000 - 0x68F37000 C:\WINNT\System32\spool\DRIVERS\W32X86\3
      \E_DU10KE.DLL
      0x76B30000 - 0x76B6E000 C:\WINNT\system32\comdlg32.dll
      0x4C780000 - 0x4C78C000 C:\WINNT\System32\spool\DRIVERS\W32X86\3
      \E_DMAI10.DLL
      0x6D280000 - 0x6D29E000 C:\Program Files\JavaSoft\JRE\1.4\bin\jpeg.dll
      0x6D100000 - 0x6D123000 C:\Program Files\JavaSoft\JRE\1.4\bin\cmm.dll
      0x6E420000 - 0x6E426000 C:\WINNT\System32\INDICDLL.dll
      0x63000000 - 0x63014000 C:\WINNT\System32\SynTPFcs.dll
      0x77820000 - 0x77827000 C:\WINNT\system32\VERSION.dll
      0x759B0000 - 0x759B6000 C:\WINNT\system32\LZ32.DLL
      0x6D180000 - 0x6D1D0000 C:\Program Files\JavaSoft\JRE\1.4
      \bin\fontmanager.dll
      0x6D2E0000 - 0x6D2E7000 C:\Program Files\JavaSoft\JRE\1.4\bin\nio.dll
      0x75030000 - 0x75043000 C:\WINNT\system32\WS2_32.dll
      0x75020000 - 0x75028000 C:\WINNT\system32\WS2HELP.DLL
      0x6D2D0000 - 0x6D2DE000 C:\Program Files\JavaSoft\JRE\1.4\bin\net.dll
      0x75050000 - 0x75058000 C:\WINNT\system32\WSOCK32.dll
      0x76060000 - 0x76107000 C:\WINNT\System32\spool\DRIVERS\W32X86\3
      \pcl5eres.dll
      0x77920000 - 0x77943000 C:\WINNT\system32\imagehlp.dll
      0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
      0x690A0000 - 0x690AB000 C:\WINNT\system32\PSAPI.DLL

      Local Time = Thu Sep 27 19:07:01 2001
      Elapsed Time = 158
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.0-beta2-b77 mixed mode)
      #
      # An error report file has been saved as hs_err_pid1368.log.
      # Please refer to the file for further information.
      #
      (Review ID: 132742)
      ======================================================================

      Name: rmT116609 Date: 10/02/2001


      java version "1.4.0-beta2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta2-b77)
      Java HotSpot(TM) Client VM (build 1.4.0-beta2-b77, mixed mode)


      Reopen bug #4470606, please.

      Printing large volumes makes the VM crash causing an Exception Access Violation.
      (Review ID: 132907)
      ======================================================================

      Name: rmT116609 Date: 10/02/2001


      java version "1.4.0-beta2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta2-b77)
      Java HotSpot(TM) Client VM (build 1.4.0-beta2-b77, mixed mode)

      Run these classes and you will after a while get a crash
      (EXCEPTION_ACCESS_VIOLATION):

      -----
      import java.awt.*;
      import javax.print.*;
      import java.awt.print.*;
      public class Test {

        public static void main(String[] args){
      Test t = new Test();
      for (int i=0; i < 100; i++)
      {
      t.print();
      }
        }

        public void print() {
      MyData myData = new MyData();

      try
      {
      PrinterJob printerJob = PrinterJob.getPrinterJob();
      printerJob.setPrintable( new MyPrintable(myData ));
      printerJob.print();
      }
      catch(Exception e)
      {
      System.out.println(e.getMessage());
      e.printStackTrace();
      }
        }
      }
      -------
      import java.awt.*;
      import java.awt.print.*;
      import javax.print.*;

      public class MyData extends Canvas {

        public void paint(Graphics graphics){

      Graphics2D graphics2d = (Graphics2D) graphics;
      for(int i = 0; i < 200; i++)
      {
      graphics2d.drawString("I am writing this several times just
      to increase the size of what should be printed...",0,i*10);
      }
        }
      }
      -------
      import java.awt.*;
      import java.awt.print.*;

      public class MyPrintable implements java.awt.print.Printable
      {
            private MyData _myData;

            public MyPrintable(MyData myData)
            {
      _myData = myData;
            }

            public int print(Graphics graphics, PageFormat pageFormat, int page)
            {
      if (page == 0) {
      java.awt.Graphics2D graphics2D = (java.awt.Graphics2D)graphics;
      _myData.paint( graphics );
      return java.awt.print.Printable.PAGE_EXISTS;

      } else {
      return Printable.NO_SUCH_PAGE;
      }
            }
      }


      Here is the error:

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x77F4A400
      Function=GdiConvertToDevmodeW+0x117
      Library=C:\WINNT\system32\GDI32.DLL

      Current Java thread:
              at sun.awt.windows.WPrinterJob._startDoc(Native Method)
              at sun.awt.windows.WPrinterJob.startDoc(WPrinterJob.java:1004)
              at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1024)
              at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:966)
              at Test.print(Test.java:21)
              at Test.main(Test.java:10)

      Dynamic libraries:
      0x00400000 - 0x00406000 C:\WINNT\system32\java.exe
      0x77F80000 - 0x77FFB000 C:\WINNT\System32\ntdll.dll
      0x77DB0000 - 0x77E0B000 C:\WINNT\system32\ADVAPI32.dll
      0x77E80000 - 0x77F35000 C:\WINNT\system32\KERNEL32.DLL
      0x77D40000 - 0x77DB0000 C:\WINNT\system32\RPCRT4.DLL
      0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
      0x6D330000 - 0x6D446000 C:\Program Files\JavaSoft\JRE\1.4
      \bin\client\jvm.dll
      0x77E10000 - 0x77E74000 C:\WINNT\system32\USER32.dll
      0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
      0x77570000 - 0x775A0000 C:\WINNT\system32\WINMM.dll
      0x6D1D0000 - 0x6D1D7000 C:\Program Files\JavaSoft\JRE\1.4\bin\hpi.dll
      0x6D300000 - 0x6D30D000 C:\Program Files\JavaSoft\JRE\1.4\bin\verify.dll
      0x6D210000 - 0x6D227000 C:\Program Files\JavaSoft\JRE\1.4\bin\java.dll
      0x6D320000 - 0x6D32D000 C:\Program Files\JavaSoft\JRE\1.4\bin\zip.dll
      0x6D000000 - 0x6D0F1000 C:\Program Files\JavaSoft\JRE\1.4\bin\awt.dll
      0x77800000 - 0x7781D000 C:\WINNT\system32\WINSPOOL.DRV
      0x75E60000 - 0x75E7A000 C:\WINNT\system32\IMM32.dll
      0x77A50000 - 0x77B46000 C:\WINNT\system32\ole32.dll
      0x6E420000 - 0x6E426000 C:\WINNT\System32\INDICDLL.dll
      0x63000000 - 0x63014000 C:\WINNT\System32\SynTPFcs.dll
      0x77820000 - 0x77827000 C:\WINNT\system32\VERSION.dll
      0x759B0000 - 0x759B6000 C:\WINNT\system32\LZ32.DLL
      0x76020000 - 0x76053000 C:\WINNT\System32\spool\DRIVERS\W32X86\3
      \UNIDRVUI.DLL
      0x76EF0000 - 0x76F1B000 C:\WINNT\System32\spool\DRIVERS\W32X86\3
      \UNIDRV.DLL
      0x76060000 - 0x76107000 C:\WINNT\System32\spool\DRIVERS\W32X86\3
      \pcl5eres.dll
      0x6D180000 - 0x6D1D0000 C:\Program Files\JavaSoft\JRE\1.4
      \bin\fontmanager.dll
      0x6D2E0000 - 0x6D2E7000 C:\Program Files\JavaSoft\JRE\1.4\bin\nio.dll
      0x75030000 - 0x75043000 C:\WINNT\system32\WS2_32.dll
      0x75020000 - 0x75028000 C:\WINNT\system32\WS2HELP.DLL
      0x6D2D0000 - 0x6D2DE000 C:\Program Files\JavaSoft\JRE\1.4\bin\net.dll
      0x75050000 - 0x75058000 C:\WINNT\system32\WSOCK32.dll
      0x77920000 - 0x77943000 C:\WINNT\system32\imagehlp.dll
      0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
      0x690A0000 - 0x690AB000 C:\WINNT\system32\PSAPI.DLL

      Local Time = Thu Sep 27 19:50:43 2001
      Elapsed Time = 17
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.0-beta2-b77 mixed mode)
      #
      # An error report file has been saved as hs_err_pid388.log.
      # Please refer to the file for further information.
      #
      (Review ID: 132744)
      ======================================================================

      Verified on win2000 with HP laserjet 4si driver
      Generated pcl file without getting exceptions.

      ###@###.### 2001-12-12
      PrintJob fails to print to a file under J2SDK 1.4 beta.

      Here are the details to reproduce the problem:

      0. run PrintFontIsRaster.java (the same test program for bugid #4291377).
         I've also attached a copy of PrintFontIsRaster.java to this bug report.
      1. use network printer then set checkbox for "Print To File" when JVM pops
      up native print dialog on call to .getPrintJob()
      2. Attached file (hs_err_pid1688.log) was then generated by JVM
      (VM process terminated after OK on print dialog, no dialog asking for
      filename came up)
      3. This is on Win2000, HP LaserJet 4Si

      We then tried defaulting to an HP LaserJet 4Si on "FILE:" port and it seemed
      to have created a PCL file (PrintFontIsRaster.13.pcl and PrintFontIsRaster.14.pcl, on JDK 1.3 and 1.4 VM respectively, even though
      bugid #4291377 is listed as fixed in 1.4). I've attached the PCL files
      to the bug report for your review.

      Name: rmT116609 Date: 08/08/2001


      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b
      Java HotSpot(TM) Client VM (build 1.4.0-beta-b65, mixed mode)

      Let the program below run for a little while, and the virtual machine should
      crash. Sometimes it takes longer, sometimes i crashes after the third printing.
      It only appears to crash when run against the HP LaserJet4 M Plus (not sure if
      the 'M' is part of the name), with the DLL Hpblaf2.dll. At least none of the
      other printers in the building crashes it. And no, that printer is not in the
      habit of crashing programs on a regular basis. Interesting is also that
      although I set the color to white (so I wouldn't waste too much paper),
      sometimes it was black anyway.

      import java.awt.*;
      import javax.print.*;
      import java.awt.print.*;
      public class TestPrint extends Frame{

      public static void main(String[] args){
      TestPrint tp = new TestPrint();
      }

      public TestPrint() {
      AwbForm myAwbForm = null;
      myAwbForm = new AwbForm();

      while (true){
      System.out.println("Printing");

      try
      {
      PrinterJob pj = PrinterJob.getPrinterJob();
      pj.setPrintable( new AWBFormPrintable(myAwbForm ));
      pj.print(); //This is where the log puts theproblem
      }
      catch(Exception e)
      {
      System.out.println(e.getClass().getName());
      System.out.println(e.getMessage());
      e.printStackTrace();
      }
      } // End of never ending loop
      }
      }


      import java.awt.*;
      import java.awt.print.*;

      public class AWBFormPrintable implements java.awt.print.Printable
      {
      private AwbForm myForm;

      public AWBFormPrintable(AwbForm inForm)
      {
      myForm = inForm;
      }
      public int print(Graphics graphics, PageFormat pageFormat, int pageIndex)
      {
      if (pageIndex == 0) {
      java.awt.Graphics2D g2D = (java.awt.Graphics2D)graphics;
      myForm.paint( graphics );
      return java.awt.print.Printable.PAGE_EXISTS;

      } else {
      return Printable.NO_SUCH_PAGE;
      }
      }
      }



      public class AwbForm extends Canvas {

              public AwbForm() {
              }

              public void paint(Graphics g1){

                      Graphics2D g= (Graphics2D) g1;

                      g.setColor(new Color (Color.white.getRGB(), true));

                      for(int i = 0; i < 200; i++)
                      {
                              g.drawLine(i*2, 0, 445, 530);
                              g.drawString("Specify",0, 0+i*8);
                              g.setFont(new Font("Roman", Font.PLAIN, 7));
                              g.drawString("destination",40, 0+i*8);
                              g.setFont(new Font("Arial Black", Font.PLAIN, 10));
                              g.drawString("approved ",80, 0+i*8);
                              g.setFont(new Font("Arial Narrow", Font.BOLD, 6));
                              g.drawString("account",120, 0+i*8);
                              g.setFont(new Font("Arial", Font.BOLD, 11));
                              g.drawString("Better",160, 0+i*8);
                              g.setFont(new Font("Arial Narrow", Font.PLAIN, 6));
                              g.drawString("Living",200, 0+i*8);
                              g.setFont(new Font("Arial", Font.PLAIN, 11));
                              g.drawString("Through",240, 0+i*8);
                      }
              }



      Something generated the following log, which was also the error message that
      appeared:

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x77EE872C
      Function=GdiConvertToDevmodeW+0x110
      Library=D:\WINNT\system32\GDI32.dll

      Current Java thread:
      at sun.awt.windows.WPrinterJob._startDoc(Native Method)
      at sun.awt.windows.WPrinterJob.startDoc(WPrinterJob.java:986)
      at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:995)
      at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:937)
      at TestPrint.<init>(TestPrint.java:21)
      at TestPrint.main(TestPrint.java:7)

      Dynamic libraries:
      0x00400000 - 0x00405000 D:\jdk1.4\bin\java.exe
      0x77F60000 - 0x77FBE000 D:\WINNT\System32\ntdll.dll
      0x77DC0000 - 0x77DFF000 D:\WINNT\system32\ADVAPI32.dll
      0x77F00000 - 0x77F5E000 D:\WINNT\system32\KERNEL32.dll
      0x77E70000 - 0x77EC5000 D:\WINNT\system32\USER32.dll
      0x77ED0000 - 0x77EFC000 D:\WINNT\system32\GDI32.dll
      0x77E10000 - 0x77E67000 D:\WINNT\system32\RPCRT4.dll
      0x78000000 - 0x78040000 D:\WINNT\system32\MSVCRT.dll
      0x6D400000 - 0x6D503000 D:\jdk1.4\jre\bin\hotspot\jvm.dll
      0x77FD0000 - 0x77FFA000 D:\WINNT\System32\WINMM.dll
      0x6BD00000 - 0x6BD0F000 D:\WINNT\System32\ctpcint4.dll
      0x77A90000 - 0x77A9B000 D:\WINNT\system32\VERSION.dll
      0x77C40000 - 0x77D7C000 D:\WINNT\system32\SHELL32.dll
      0x71700000 - 0x7178A000 D:\WINNT\system32\COMCTL32.dll
      0x779C0000 - 0x779C8000 D:\WINNT\system32\LZ32.dll
      0x10000000 - 0x10022000 D:\WINNT\System32\ctpcir32.dll
      0x6D200000 - 0x6D207000 D:\jdk1.4\jre\bin\hpi.dll
      0x6D3D0000 - 0x6D3DD000 D:\jdk1.4\jre\bin\verify.dll
      0x6D240000 - 0x6D255000 D:\jdk1.4\jre\bin\java.dll
      0x6D3F0000 - 0x6D3FD000 D:\jdk1.4\jre\bin\zip.dll
      0x6D010000 - 0x6D0FB000 D:\jdk1.4\jre\bin\awt.dll
      0x77C00000 - 0x77C18000 D:\WINNT\System32\WINSPOOL.DRV
      0x76AB0000 - 0x76AB5000 D:\WINNT\System32\IMM32.dll
      0x77B20000 - 0x77BD7000 D:\WINNT\system32\ole32.dll
      0x6D1B0000 - 0x6D1FF000 D:\jdk1.4\jre\bin\fontmanager.dll
      0x6D350000 - 0x6D357000 D:\jdk1.4\jre\bin\nio.dll
      0x776B0000 - 0x776C4000 D:\WINNT\system32\WS2_32.dll
      0x776A0000 - 0x776A7000 D:\WINNT\system32\WS2HELP.dll
      0x6D340000 - 0x6D34E000 D:\jdk1.4\jre\bin\net.dll
      0x776D0000 - 0x776D8000 D:\WINNT\system32\WSOCK32.dll
      0x74FF0000 - 0x74FFE000 D:\WINNT\System32\rnr20.dll
      0x2A420000 - 0x2A494000 D:\WINNT\System32\spool\DRIVERS\W32X86\2
      \mtl7aum.dll
      0x780A0000 - 0x780B5000 D:\WINNT\System32\MSVCIRT.dll
      0x2A4A0000 - 0x2A56F000 D:\WINNT\System32\spool\DRIVERS\W32X86\2
      \HPBLAF3.DLL
      0x2A570000 - 0x2A58A000 D:\WINNT\System32\spool\DRIVERS\W32X86\2
      \HPBLAF1.DLL
      0x771A0000 - 0x771D0000 D:\WINNT\System32\COMPSTUI.dll
      0x6D160000 - 0x6D182000 D:\jdk1.4\jre\bin\dcpr.dll
      0x76AC0000 - 0x76ADD000 D:\WINNT\System32\imagehlp.dll
      0x731B0000 - 0x731BA000 D:\WINNT\System32\PSAPI.DLL

      Local Time = Tue Aug 07 16:19:29 2001
      Elapsed Time = 17
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.0-beta-b65 mixed mode)
      #

      As far as trace information goes, I have the program printing "Printing" for
      every printing it does.
      (Review ID: 129532)
      ======================================================================


      BlueStone/HP had reported the same problem. It was very hard to duplicate,
      but randomly it would crash. Attached is an error log from one of those
      crashes.


      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x77F576D4
      Function=GdiConvertToDevmodeW+0x118
      Library=C:\WINNT\system32\GDI32.DLL

      Current Java thread:
      at sun.awt.windows.WPrinterJob._startDoc(Native Method)
      at sun.awt.windows.WPrinterJob.startDoc(Unknown Source)
      at sun.print.RasterPrinterJob.print(Unknown Source)
      at sun.print.Win32PrintJob.printableJob(Unknown Source)
      at sun.print.Win32PrintJob.print(Unknown Source)
      at print.printjob.CreatePrintJobTag.execute(CreatePrintJobTag.java:79)
      at print.printjob.PrintJobExecuteTag.doEndTag(PrintJobExecuteTag.java:18)
      at printer.JspPage_print0x2dit_jsp_Impl._jspService(JspPage_print0x2dit_jsp_Impl.java:178)
      at com.hp.mwlabs.j2ee.containers.servlet.jsp.AbstractJspPage.service(AbstractJspPage.java:495)
      at com.hp.mwlabs.j2ee.containers.servlet.jsp.JspServlet._service(JspServlet.java:378)
      at com.hp.mwlabs.j2ee.containers.servlet.jsp.JspServlet.service(JspServlet.java:294)
      at com.hp.mwlabs.j2ee.containers.servlet.WebApplicationBean$ServicePrivilegedAction.run(WebApplicationBean.java:3710)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Unknown Source)
      at com.hp.mwlabs.j2ee.containers.servlet.WebApplicationBean.service(WebApplicationBean.java:1721)
      at com.hp.mwlabs.j2ee.containers.servlet.RequestDispatcherImpl.forwardOrInclude(RequestDispatcherImpl.java:499)
      at com.hp.mwlabs.j2ee.containers.servlet.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:284)
      at com.hp.mwlabs.j2ee.containers.servlet.ServletContainerBean.processRequest(ServletContainerBean.java:410)
      at com.hp.mwlabs.as.services.servlet.ServletContainerService.processRequest(ServletContainerService.java:1031)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.InflatableMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at com.hp.mw.common.util.PolymorphicInvocationHandler.invoke(PolymorphicInvocationHandler.java:223)
      at com.hp.mwlabs.csf.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:184)
      at $Proxy25.processRequest(Unknown Source)
      at com.hp.mwlabs.as.services.listeners.http.HttpRequestHandler.executeImpl(HttpRequestHandler.java:153)
      at com.hp.mw.as.services.listeners.BaseRequestHandler.execute(BaseRequestHandler.java:115)
      at com.hp.mwlabs.common.util.ExecutorPool$Entry.execute(ExecutorPool.java:402)
      at com.hp.mwlabs.common.util.PeriodicExecutor.run(PeriodicExecutor.java:630)
      at java.lang.Thread.run(Unknown Source)

      Dynamic libraries:
      0x00400000 - 0x00413000 C:\hpmw\hp-is-rc9\bin\hpisw.exe
      0x77F80000 - 0x77FFA000 C:\WINNT\System32\ntdll.dll
      0x77E80000 - 0x77F35000 C:\WINNT\system32\KERNEL32.dll
      0x77DB0000 - 0x77E0A000 C:\WINNT\system32\ADVAPI32.dll
      0x77D40000 - 0x77DB0000 C:\WINNT\system32\RPCRT4.DLL
      0x6D400000 - 0x6D503000 C:\Program Files\JavaSoft\JRE\1.4\bin\hotspot\jvm.dll
      0x77E10000 - 0x77E74000 C:\WINNT\system32\USER32.dll
      0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
      0x77570000 - 0x775A0000 C:\WINNT\System32\WINMM.dll
      0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
      0x6D200000 - 0x6D207000 C:\Program Files\JavaSoft\JRE\1.4\bin\hpi.dll
      0x6D3D0000 - 0x6D3DD000 C:\Program Files\JavaSoft\JRE\1.4\bin\verify.dll
      0x6D240000 - 0x6D255000 C:\Program Files\JavaSoft\JRE\1.4\bin\java.dll
      0x6D3F0000 - 0x6D3FD000 C:\Program Files\JavaSoft\JRE\1.4\bin\zip.dll
      0x6D010000 - 0x6D0FB000 C:\Program Files\JavaSoft\JRE\1.4\bin\awt.dll
      0x77800000 - 0x7781D000 C:\WINNT\System32\WINSPOOL.DRV
      0x75E60000 - 0x75E7A000 C:\WINNT\System32\IMM32.dll
      0x77A50000 - 0x77B45000 C:\WINNT\system32\ole32.dll
      0x6D1B0000 - 0x6D1FF000 C:\Program Files\JavaSoft\JRE\1.4\bin\fontmanager.dll
      0x6D350000 - 0x6D357000 C:\Program Files\JavaSoft\JRE\1.4\bin\nio.dll
      0x75030000 - 0x75044000 C:\WINNT\System32\WS2_32.dll
      0x75020000 - 0x75028000 C:\WINNT\System32\WS2HELP.DLL
      0x6D340000 - 0x6D34E000 C:\Program Files\JavaSoft\JRE\1.4\bin\net.dll
      0x75050000 - 0x75058000 C:\WINNT\System32\WSOCK32.dll
      0x78280000 - 0x7828C000 C:\WINNT\System32\rnr20.dll
      0x77980000 - 0x779A4000 C:\WINNT\System32\DNSAPI.DLL
      0x777E0000 - 0x777E8000 C:\WINNT\System32\winrnr.dll
      0x77950000 - 0x77979000 C:\WINNT\system32\WLDAP32.DLL
      0x72800000 - 0x72846000 C:\WINNT\System32\ddraw.dll
      0x728A0000 - 0x728A6000 C:\WINNT\System32\DCIMAN32.dll
      0x777F0000 - 0x777F5000 C:\WINNT\System32\rasadhlp.dll
      0x77830000 - 0x7783E000 C:\WINNT\System32\RTUTILS.DLL
      0x74FD0000 - 0x74FED000 C:\WINNT\system32\msafd.dll
      0x77340000 - 0x77353000 C:\WINNT\System32\IPHLPAPI.DLL
      0x77520000 - 0x77525000 C:\WINNT\System32\ICMP.DLL
      0x77320000 - 0x77337000 C:\WINNT\System32\MPRAPI.DLL
      0x75150000 - 0x7515F000 C:\WINNT\System32\SAMLIB.DLL
      0x75170000 - 0x751BF000 C:\WINNT\System32\NETAPI32.DLL
      0x77BE0000 - 0x77BEF000 C:\WINNT\System32\SECUR32.DLL
      0x751C0000 - 0x751C6000 C:\WINNT\System32\NETRAP.DLL
      0x779B0000 - 0x77A45000 C:\WINNT\system32\OLEAUT32.DLL
      0x773B0000 - 0x773DE000 C:\WINNT\System32\ACTIVEDS.DLL
      0x77380000 - 0x773A2000 C:\WINNT\System32\ADSLDPC.DLL
      0x77880000 - 0x7790D000 C:\WINNT\System32\SETUPAPI.DLL
      0x77C10000 - 0x77C6D000 C:\WINNT\System32\USERENV.DLL
      0x774E0000 - 0x77512000 C:\WINNT\System32\RASAPI32.DLL
      0x774C0000 - 0x774D1000 C:\WINNT\System32\RASMAN.DLL
      0x77530000 - 0x77552000 C:\WINNT\System32\TAPI32.DLL
      0x71730000 - 0x717BA000 C:\WINNT\system32\COMCTL32.DLL
      0x70BD0000 - 0x70C20000 C:\WINNT\system32\SHLWAPI.DLL
      0x77360000 - 0x77379000 C:\WINNT\System32\DHCPCSVC.DLL
      0x691D0000 - 0x69255000 C:\WINNT\System32\CLBCATQ.DLL
      0x75010000 - 0x75017000 C:\WINNT\System32\wshtcpip.dll
      0x10040000 - 0x10047000 C:\WINNT\System32\spool\DRIVERS\W32X86\2\hpbfff0.dll
      0x0C540000 - 0x0C5B3000 C:\WINNT\System32\spool\DRIVERS\W32X86\2\HPBFFF7.dll
      0x780A0000 - 0x780B2000 C:\WINNT\System32\MSVCIRT.dll
      0x0C5C0000 - 0x0C6C1000 C:\WINNT\System32\spool\DRIVERS\W32X86\2\HPBFFF3.DLL
      0x10020000 - 0x1003C000 C:\WINNT\System32\spool\DRIVERS\W32X86\2\HPBFFF1.DLL
      0x73280000 - 0x732B7000 C:\WINNT\System32\COMPSTUI.dll
      0x6B2C0000 - 0x6B2C5000 C:\WINNT\System32\MSIMG32.dll
      0x77820000 - 0x77827000 C:\WINNT\system32\VERSION.dll
      0x759B0000 - 0x759B6000 C:\WINNT\system32\LZ32.DLL
      0x775A0000 - 0x775B4000 C:\WINNT\System32\spool\DRIVERS\W32X86\2\RASDDUI.DLL
      0x0C6E0000 - 0x0C729000 C:\WINNT\System32\spool\DRIVERS\W32X86\3\hpzntp01.dll
      0x10000000 - 0x1001B000 C:\WINNT\System32\spool\DRIVERS\W32X86\3\hpz2ku01.dll
      0x6A900000 - 0x6A941000 C:\WINNT\System32\spool\DRIVERS\W32X86\2\CNGP60UI.DLL
      0x4F500000 - 0x4F521000 C:\WINNT\System32\spool\DRIVERS\W32X86\3\PS5UI.DLL
      0x4CE00000 - 0x4CE75000 C:\WINNT\System32\spool\DRIVERS\W32X86\3\PSCRIPT5.DLL
      0x6B770000 - 0x6B783000 C:\WINNT\System32\mscms.dll
      0x0CE20000 - 0x0CE26000 C:\WINNT\System32\spool\DRIVERS\W32X86\3\HPBF411E.DLL
      0x0CE30000 - 0x0CEA3000 C:\WINNT\System32\spool\DRIVERS\W32X86\3\HPBF411K.dll
      0x0CEB0000 - 0x0CFB9000 C:\WINNT\System32\spool\DRIVERS\W32X86\3\HPBF411H.DLL
      0x0CFC0000 - 0x0CFDB000 C:\WINNT\System32\spool\DRIVERS\W32X86\3\HPBF411F.DLL
      0x0CFE0000 - 0x0D139000 C:\WINNT\System32\spool\DRIVERS\W32X86\3\HPBF411G.DLL
      0x76020000 - 0x76053000 C:\WINNT\System32\spool\DRIVERS\W32X86\3\UNIDRVUI.DLL
      0x76EF0000 - 0x76F1B000 C:\WINNT\System32\spool\DRIVERS\W32X86\3\UNIDRV.DLL
      0x6FF40000 - 0x6FF64000 C:\WINNT\System32\spool\DRIVERS\W32X86\3\FAXUI.DLL
      0x69800000 - 0x69A42000 C:\WINNT\system32\SHELL

            prr Philip Race
            mhmccart Mary Mccarthy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: