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

Printing with HotSpot Flags "-Xint" causes VM crash on Windows98 japanese

XMLWordPrintable

    • 2d
    • x86
    • windows_98

      Tested with Merlin b59 on Windows98 japanese.

      Printing with "-Xint" HotSpot Flags causes VM crash and
      the following messages are displayed on console;
              at java.awt.font.TextLayout.fastInit(TextLayout.java:556)
              at java.awt.font.TextLayout.<init>(TextLayout.java:344)
              at sun.print.PeekGraphics.drawString(PeekGraphics.java:853)
              at PrintTest$Printer.print(PrintTest.java:63)
              at sun.print.RasterPrinterJob.printPage(RasterPrinterJob.java:1427)
              at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1036)
              at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:937)
              at PrintTest.actionPerformed(PrintTest.java:129)
              at java.awt.Button.processActionEvent(Button.java:376)
              at java.awt.Button.processEvent(Button.java:349)
              at java.awt.Component.dispatchEventImpl(Component.java:3476)
              at java.awt.Component.dispatchEvent(Component.java:3343)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

      Dynamic libraries:
      0x7C760000 - 0x7C77D000 C:\WINDOWS\SYSTEM\IMAGEHLP.DLL

      Local Time = Tue Apr 10 16:29:49 2001
      Elapsed Time = 12
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.0-beta-b59 interpreted mode)
      #
      # An error report file has been saved as hs_err_pid4293008999.log.
      # Please refer to the file for further information.
      #


      To reproduce,

      1. Compile and run attachecd test case (PrintTest.java)
          % java -Xint PrintTest
      2. Click "print"


      This test case works correctly with non option, however, with -Xint option it does not work.
      Please see attached log file(hs_err_pid4293008999.log) which was created automaticaly.

      This phenomenon is not seen in Windows NT.

      ---------------------------------------------------------------------------
      Information to Evaluation:

      1. printer used and printer driver version.

         printer: Fuji Xerox DocuPrint 400 Version 3.2.0
         printer driver : Adobe PostScript Printer Driver Version 4.3.1(059)

      2. Is it reproducible using another printer driver?

         Japan Team have only one kind of printer.
         Therefore, we can't be reproducible using another printer.

      [rieko.suzuki@Japan 2001-04-12]
      ---------------------------------------------------------------------------

      I tried this on various Japanese printers with the following machines
      and reproducing process.
      However, Hotspot crash did not occurred.

      1. Printers

       1) Canon LBP LASER SHOT A309 GII (Page Printer)
           (Canon LIPS3 Printer Driver for Windows95/98 Version 6.02)
       2) Fuji Xerox LASER PRESS 4150 PSII (Genuine Postscript Printer)
           ( Adobe Postscript Printer Driver Version 4.3.1(059) )
       3) LexMark Optra S2450 (Postscript Clone Printer)
           ( Universal Printer Driver Version 4.00 )


      2. PC configration
        - OS : Windows98 (Second Edition, Japanese)
        - MPU : Pentium II 400[MHz]
        - Mem.: 256[MBytes]

      3. JDK Version

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

      4. Reproducing process

       1) Compile the atthached sample program "PrintTest.java"
       2) Invoke "java -Xint PrintTest"

        --> A dialogue panel showed up and clicked "Plain".
            Next, print dialogues appeared and clicked "OK" button.
            And then I got the following messages,

      J:\work\hotspot-crash-Xint>java -Xint PrintTest
      --- PrinterJob.setJobName()
      JobName = jdk1.4 test
      --- PrinterJob.getUserName()
      UserName = tbaba
      --- PrinterJob.pageDialog()
      --- PrinterJob.setPageable()
      --- PrinterJob.printDialog()
      --- PrinterJob.print()
      00

       3) A sheet of paper was printed with the message,
          "Test1 using java.awt.p[rint"


      It seemed that the print job terminated normally.

      tbaba@japan 2001-04-16
      ------------------------------------------------------------------------

            jgodinez Jennifer Godinez (Inactive)
            rsuzukisunw Rieko Suzuki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: