JDK-6573948 : DocPrintJob.print(Doc, PrintRequestAttributeSet) crashes JVM in certain conditions
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: jt4.1.1
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2007-06-26
  • Updated: 2011-01-26
  • Resolved: 2007-06-26
Related Reports
Duplicate :  
Description
This issue has been detected when QA was testing a JDTS 2.0.3 product that is based on Javatest Harness 4.1.1. It's original description can be found in 6571773

The issue is that JVM 1.5.0_07 crashes when user tries to print XML report that is opened in a JEditorPane. Hotspot logs are attached.

More information can be found in Comments.

Comments
EVALUATION All the logs look like this : ***************************** Stack: [0x02c30000,0x02c70000), sp=0x02c6f6e0, free space=253k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [ntdll.dll+0x10f3] J java.awt.Font.pDispose()V J java.awt.Font.finalize()V v ~RuntimeStub::alignment_frame_return Runtime1 stub v ~StubRoutines::call_stub V [jvm.dll+0x86401] V [jvm.dll+0xdb172] V [jvm.dll+0x862d2] V [jvm.dll+0x8b623] C [java.dll+0x2006] J java.lang.ref.Finalizer.runFinalizer()V J java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;)V v ~RuntimeStub::alignment_frame_return Runtime1 stub j java.lang.ref.Finalizer$FinalizerThread.run()V+11 v ~StubRoutines::call_stub V [jvm.dll+0x86401] V [jvm.dll+0xdb172] V [jvm.dll+0x862d2] V [jvm.dll+0x8602f] V [jvm.dll+0xa0bcb] V [jvm.dll+0x10bdad] V [jvm.dll+0x10bd7b] C [MSVCRT.dll+0x2a3b0] C [kernel32.dll+0xb50b] *************************** So I think the reason this isn't reproducible any more is due to the fix for 6186524 which went into 5u10 and the principal element of that fix is to minimise the creation of fonts which were using up GDI handles and leading to crashes.
26-06-2007