DO NOT REPLY [Bug 49060] New: File Descriptor leak in AFP renderer

2010-04-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49060

   Summary: File Descriptor leak in AFP renderer
   Product: Fop
   Version: 1.0dev
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: general
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: peter.hanc...@gmail.com


When rendering AFP, FOP creates a temp file with name beginning with
AFPDataStream_.  This file is deleted during the 'document end' cleanup,
however a the outputstream to the file is not currently closed first.  

The attached patch addresses this.

-- 
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 49060] File Descriptor leak in AFP renderer

2010-04-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49060

--- Comment #1 from Peter Hancock peter.hanc...@gmail.com 2010-04-07 08:21:59 
UTC ---
Created an attachment (id=25238)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=25238)
patch of fix

-- 
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 49060] [PATCH] File Descriptor leak in AFP renderer

2010-04-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49060

Peter Hancock peter.hanc...@gmail.com changed:

   What|Removed |Added

Summary|File Descriptor leak in AFP |[PATCH] File Descriptor
   |renderer|leak in AFP renderer

-- 
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 49055] setting svg attributes with xsl only works if intermediate fo is created

2010-04-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49055

--- Comment #3 from sven sven_victo...@deltalloyd.nl 2010-04-07 13:41:30 UTC 
---
Created an attachment (id=25241)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=25241)
2nd testcase

-- 
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 49055] setting svg attributes with xsl only works if intermediate fo is created

2010-04-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49055

sven sven_victo...@deltalloyd.nl changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |

--- Comment #4 from sven sven_victo...@deltalloyd.nl 2010-04-07 13:44:18 UTC 
---
I have tried both suggestions but could not get the desired result.
The first one seems to generate the correct fo but neither direct or indirectly
can I produce the correct output.

With the second option I get a ns0:points in my fo, which seems odd to me.

Testcases are attached as 2nd attachement.

-- 
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 44965] NPE in FopPDFImage

2010-04-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44965

--- Comment #11 from Robin Bramley a...@rbramley.com 2010-04-07 17:52:22 UTC 
---
(In reply to comment #10)
 (In reply to comment #9)
  Note that upgrading to FOP 0.95 didn't work in our situation; instead it 
  caused
  a StackOverflowError (infinite loop seemingly linked to flowing a table).
 
 Dear Robin,
 
 you said your using openjdk 1.6.0b9. Could you check with a later version (b10
 worked for me)

Hi Max,

I still see the same stack overflow error with FOP 0.95 (plus upgraded
dependencies e.g. Batik 1.7) and a later OpenJDK 1.6.0 build

# cat /etc/redhat-release
CentOS release 5.4 (Final)
# uname -srvo
Linux 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 GNU/Linux
# java -version
java version 1.6.0_0
OpenJDK Runtime Environment (IcedTea6 1.6) (6b16-Argeo-5)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)


at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuffer.append(StringBuffer.java:236)
at org.apache.fop.datatypes.LengthBase.toString(LengthBase.java:135)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuffer.append(StringBuffer.java:236)
at
org.apache.fop.fo.properties.PercentLength.toString(PercentLength.java:121)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuffer.append(StringBuffer.java:236)
at
org.apache.fop.fo.flow.table.TableColumn.toString(TableColumn.java:233)

-- 
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 44965] NPE in FopPDFImage

2010-04-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44965

Robin Bramley a...@rbramley.com changed:

   What|Removed |Added

 Status|NEEDINFO|NEW

--- Comment #12 from Robin Bramley a...@rbramley.com 2010-04-07 17:58:50 UTC 
---
Though the patched version of 0.94 works as expected with the newer OpenJDK
build.

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