http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2441 *** shadow/2441 Tue Jul 3 13:43:06 2001 --- shadow/2441.tmp.10969 Tue Jul 3 13:43:06 2001 *************** *** 0 **** --- 1,80 ---- + +============================================================================+ + | Fop 0.19 fails to shutdown when running -print | + +----------------------------------------------------------------------------+ + | Bug #: 2441 Product: Fop | + | Status: NEW Version: all | + | Resolution: Platform: PC | + | Severity: Blocker OS/Version: Windows NT/2K | + | Priority: Other Component: pdf renderer | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + We observed that Fop 0.19.0-CVS simply hangs forever when + the -print option is used. Output properly goes to + the printer, but the vm never shutsdown. + + We fixed it by tossing in an System.exit(0) - but we + assume others might prefer a more ~elegent~ solution. + + one other clue: when output goes to -pdf <file> + the output stream prints [1] and [2].... + + Thread dump follows: + + FOP 0.19.0-CVS + using SAX parser org.apache.xerces.parsers.SAXParser + building formatting object tree + setting up fonts + formatting FOs into areas + [1] + Full thread dump: + + "Thread-1" prio=5 tid=0x7a4300 nid=0x142 waiting on monitor [0..0x6fb30] + + "AWT-Windows" prio=7 tid=0x79bde0 nid=0x13d runnable [0x8f6f000..0x8f6fdc0] + at sun.awt.windows.WToolkit.eventLoop(Native Method) + at sun.awt.windows.WToolkit.run(Unknown Source) + at java.lang.Thread.run(Unknown Source) + + "SunToolkit.PostEventQueue-0" prio=7 tid=0x79a8e0 nid=0x155 waiting on monitor [ + 0x8f2f000..0x8f2fdc0] + at java.lang.Object.wait(Native Method) + at java.lang.Object.wait(Unknown Source) + at sun.awt.PostEventQueue.run(Unknown Source) + + "AWT-EventQueue-0" prio=7 tid=0x7990a0 nid=0xe5 waiting on monitor [0x8eef000..0 + x8eefdc0] + at java.lang.Object.wait(Native Method) + at java.lang.Object.wait(Unknown Source) + at java.awt.EventQueue.getNextEvent(Unknown Source) + at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) + + at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) + at java.awt.EventDispatchThread.pumpEvents(Unknown Source) + at java.awt.EventDispatchThread.run(Unknown Source) + + "Signal Dispatcher" daemon prio=10 tid=0x768050 nid=0xbe waiting on monitor [0.. + 0] + + "Finalizer" daemon prio=9 tid=0x766e30 nid=0xbd waiting on monitor [0x8d8f000..0 + x8d8fdc0] + at java.lang.Object.wait(Native Method) + at java.lang.ref.ReferenceQueue.remove(Unknown Source) + at java.lang.ref.ReferenceQueue.remove(Unknown Source) + at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source) + + "Reference Handler" daemon prio=10 tid=0x765b50 nid=0x14d waiting on monitor [0x + 8d4f000..0x8d4fdc0] + at java.lang.Object.wait(Native Method) + at java.lang.Object.wait(Unknown Source) + at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source) + + "VM Thread" prio=5 tid=0x764de0 nid=0xd7 runnable + + "VM Periodic Task Thread" prio=10 tid=0x7671d0 nid=0x49 waiting on monitor + "Suspend Checker Thread" prio=10 tid=0x768690 nid=0x37 runnable --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]