DO NOT REPLY [Bug 46360] New: Thread-safety issue rendering SVG

2008-12-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46360

   Summary: Thread-safety issue rendering SVG
   Product: Fop
   Version: 1.0dev
  Platform: All
   URL: http://markmail.org/message/2dk2ib4e5t6vfsrl
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: svg
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: [EMAIL PROTECTED]


FOP reuses/caches SVG documents to improve performance. But as we had to learn,
this approach is not thread-safe as Batik attaches some facilities (like the
CSS engine) to the DOM which are not thread-safe. The detailed discussion of
the issue can be found here:
http://markmail.org/message/2dk2ib4e5t6vfsrl

The safest approach is to clone the SVG DOM prior to passing it to Batik.

Obviously that will cost a bit of performance and increase memory usage a bit.
If we're careful and have the resources to implement that we can improve
performance by caching Batik's GVT tree. Ideas can also be found in the thread
indicated above.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 46360] Thread-safety issue rendering SVG

2008-12-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46360


Jeremias Maerki [EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |ASSIGNED




--- Comment #1 from Jeremias Maerki [EMAIL PROTECTED]  2008-12-07 10:04:39 
PST ---
Issue fixed as discussed on batik-users.
http://svn.apache.org/viewvc?rev=724163view=rev
http://svn.apache.org/viewvc?rev=724164view=rev

I'll keep this open for a bit since I'll have to do the same in the IF branch.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 46360] Thread-safety issue rendering SVG

2008-12-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46360





--- Comment #2 from Jeremias Maerki [EMAIL PROTECTED]  2008-12-07 10:07:08 
PST ---
One more note to self: Need to introduce a flag to indicate whether we're
working off a potentially cached SVG DOM or off a DOM that comes from an
fo:instream-foreign-object in which the cloning is unnecessary.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[g...@vmgump]: Project xml-fop (in module xml-fop) failed

2008-12-07 Thread Jeremias Maerki
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project xml-fop has an issue affecting its community integration.
This issue affects 1 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- xml-fop :  XSL-FO (Formatting Objects) processor


Full details are available at:
http://vmgump.apache.org/gump/public/xml-fop/xml-fop/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -INFO- Made directory [/srv/gump/public/workspace/xml-fop/build/classes]
 -INFO- Made directory 
[/srv/gump/public/workspace/xml-fop/build/codegen-classes]
 -INFO- Failed with reason build failed
 -DEBUG- Extracted fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/xml-fop/xml-fop/gump_work/build_xml-fop_xml-fop.html
Work Name: build_xml-fop_xml-fop (Type: Build)
Work ended in a state of : Failed
Elapsed: 32 secs
Command Line: /usr/lib/jvm/java-1.5.0-sun/bin/java -Djava.awt.headless=true 
-Xbootclasspath/p:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/srv/gump/public/workspace/xml-xalan/build/serializer.jar:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar
 org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only package 
[Working Directory: /srv/gump/public/workspace/xml-fop]
CLASSPATH: 
/usr/lib/jvm/java-1.5.0-sun/lib/tools.jar:/srv/gump/public/workspace/xml-fop/build/classes:/srv/gump/public/workspace/xml-fop/build/codegen-classes:/srv/gump/public/workspace/xml-fop/lib/build/retroweaver-2.0.5.jar:/srv/gump/public/workspace/xml-fop/lib/build/retroweaver-rt-2.0.5.jar:/srv/gump/public/workspace/xml-fop/lib/build/asm-3.1.jar:/srv/gump/public/workspace/xml-fop/lib/build/asm-commons-3.1.jar:/srv/gump/public/workspace/xml-fop/lib/build/asm-util-3.1.jar:/srv/gump/public/workspace/xml-fop/lib/build/backport-util-concurrent-3.1.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/
 
workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/xmlgraphics-commons/build/xmlgraphics-commons-07122008.jar:/srv/gump/public/workspace/xml-batik/batik-07122008/lib/batik-util.jar:/srv/gump/public/workspace/xml-batik/batik-07122008/lib/batik-swing.jar:/srv/gump/public/workspace/xml-batik/batik-07122008/lib/batik-css.jar:/srv/gump/public/workspace/xml-batik/batik-07122008/lib/batik-bridge.jar:/srv/gump/public/workspace/xml-batik/batik-07122008/lib/batik-xml.jar:/srv/gump/public/workspace/xml-batik/batik-07122008/lib/batik-svg-dom.jar:/srv/gump/public/workspace/xml-batik/batik-07122008/lib/batik-awt-util.jar:/srv/gump/public/workspace/xml-batik/batik-07122008/lib/batik-transcoder.jar:/srv/gump/public/workspace/xml-batik/batik-07122008/lib/batik-gui-util.jar:
 
/srv/gump/public/workspace/xml-batik/batik-07122008/lib/batik-dom.jar:/srv/gump/public/workspace/xml-batik/batik-07122008/lib/batik-ext.jar:/srv/gump/public/workspace/xml-batik/batik-07122008/lib/batik-script.jar:/srv/gump/public/workspace/xml-batik/batik-07122008/lib/batik-svggen.jar:/srv/gump/public/workspace/xml-batik/batik-07122008/lib/batik-parser.jar:/srv/gump/public/workspace/xml-batik/batik-07122008/lib/batik-extension.jar:/srv/gump/public/workspace/xml-batik/batik-07122008/lib/batik-gvt.jar:/srv/gump/public/workspace/excalibur/framework/api/target/excalibur-framework-api-07122008.jar:/srv/gump/public/workspace/excalibur/framework/impl/target/excalibur-framework-impl-07122008.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-07122008.jar:/srv/gump/public/workspace/apache-commons/io/target/commons-io-07122008.jar:/srv/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/srv/gump/packages/qdox-1.6.3/qdox-1.6.3.jar:/srv/gump/public/w
 orkspace/xmlunit/build/lib/xmlunit-07122008.jar
-
[javac] public class Java2DGraphics2DAdapter extends 
AbstractGraphics2DAdapter {
[javac]^
[javac] 

Bug report for Fop [2008/12/07]

2008-12-07 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
| 1063|New|Nor|2001-03-21|fop does not handle large fo files|
| 3824|New|Blk|2001-09-25|MIF option with tables|
| 5010|New|Enh|2001-11-21|Better error reporting needed |
| 6305|New|Nor|2002-02-07|Using fo:table-and-caption results in empty output|
| 6427|New|Enh|2002-02-13|Type 1 CID fonts are not supported|
| 8003|Ass|Maj|2002-04-12|FopImageFactory never releases cached images  |
| 8463|New|Nor|2002-04-24|SVG clipping in external.fo example doc when rende|
| 9379|New|Nor|2002-05-24|MIF Renderer generates incorrect MIF code |
|12610|New|Enh|2002-09-13|[PATCH] onLoad Action for PDF documents or how to |
|14356|New|Nor|2002-11-07|*NOT* embedding TrueTypeFont in PDF causes Acrobat|
|16713|New|Nor|2003-02-03|Hyphenation error in tables   |
|17369|New|Nor|2003-02-25|Footnote duplication  |
|17380|New|Nor|2003-02-25|Batik Component will not recognize fe SVG elem|
|17921|New|Nor|2003-03-12|Kerning is broken for standard fonts  |
|18292|New|Nor|2003-03-24|24 bit PNG not displayed correctly|
|18801|New|Nor|2003-04-08|visibility property is not implemented  |
|19228|New|Blk|2003-04-22|[PATCH] Child LayoutContext is null in certain cir|
|19341|Ver|Nor|2003-04-26|leader doesn't work since 0.20.5.rc2  |
|19695|New|Enh|2003-05-06|[PATCH] Allow fox:destination as child of fox:outl|
|19717|New|Enh|2003-05-07|Lets add support for JimiClassesPro.zip to build.x|
|19769|Ass|Enh|2003-05-08|Indefinite page size is not implemented   |
|20280|Ass|Enh|2003-05-27|text-align and text-align-last only partially impl|
|20407|New|Enh|2003-06-02|[PATCH] Configure image caching using the configur|
|20827|New|Enh|2003-06-17|Derive other font styles and weights from normal T|
|21265|Opn|Nor|2003-07-02|referencing a custom font (TTF or Adobe Type 1) fo|
|21905|New|Nor|2003-07-26|large list-item-label bleeds into following block |
|21982|New|Maj|2003-07-30|NullPointer Exception in LazyFont with embedded fo|
|22450|New|Maj|2003-08-15|Unterminated iteration in JPEGReader class|
|22627|Opn|Nor|2003-08-21|Update mirror/download page HEADER  README (was [|
|24148|New|Nor|2003-10-27|Kerning upsets text-align=end   |
|24171|New|Nor|2003-10-28|[PATCH] 1st Attempt at Whole Site PDF |
|24378|New|Nor|2003-11-04|Minor problem in sample code for embedding|
|24663|New|Nor|2003-11-12|fo:block space-after property needs fixing|
|24804|New|Nor|2003-11-18|SVG Text to PS Output generates incorrect outlines|
|25022|New|Nor|2003-11-26|XSL-FO to PCL : images not included   |
|25341|New|Nor|2003-12-08|percentage resolution not being recalculated on di|
|25411|New|Nor|2003-12-10|[WARNING] Error while constructing image from XML |
|25432|Ass|Maj|2003-12-11|Cannot embed the User Defined Characters into the |
|26047|New|Nor|2004-01-11|Space-after value remembered and used on second do|
|26590|New|Nor|2004-02-02|last character width in winansi font is missed|
|26848|New|Nor|2004-02-11|PNG images using JIMI instead JAI |
|27107|New|Maj|2004-02-20|TTF Reader fails  |
|27727|New|Maj|2004-03-17|problem displaying Japanese fonts in PDF. |
|27890|New|Min|2004-03-24|fop.sh doesn't set exit status|
|29632|New|Maj|2004-06-17|Rendered reads fonts from disk everytime it render|
|30006|New|Nor|2004-07-09|eps doesn't show up in recent GhostScript versions|
|30214|New|Nor|2004-07-20|PSGraphics2D.drawImage incorrect matrix generated |
|31039|New|Nor|2004-09-03|URL in basic-link is scrambled by encryption  |
|31225|New|Nor|2004-09-14|Need embedded page sequence functionality |
|31301|New|Nor|2004-09-19|FOP limitation-Summary of columns value at Table F|
|31674|New|Enh|2004-10-12|Allow Print Renderer to select Printer and Tray.  |