JDK-4436970 : Printing with HotSpot Flags "-Xint" causes VM crash on Windows98 japanese
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_98
  • CPU: x86
  • Submitted: 2001-04-10
  • Updated: 2001-04-18
  • Resolved: 2001-04-17
Related Reports
Duplicate :  
Description
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
------------------------------------------------------------------------

Comments
EVALUATION ======================================== This is not reproducible when tested with Canon A309 G2 LIPS driver. I suspect that this may be specific to printer driver. I need the following information: 1. printer used and printer driver version. 2. Is it reproducible using another printer driver? jennifer.godinez@Eng 2001-04-11 ================================== This is a duplicate to 4351747: VM ERROR, EXCEPTION_FLT_INVALID_OPERATION. Using DocuPrint driver produced the same error id as the other bug. jennifer.godinez@Eng 2001-04-17 =========================================
17-04-2001