You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Marcus Brubaker <au...@rogers.com> on 2002/07/23 05:51:22 UTC

Batik 1.1 Crash...

I have a (fairly) simple SVG v1.0 file that is causing a segmentation
fault in Batik version 1.1.  I am using the binary precompiled version
running on Linux with the Sun JRE version 1.3.1_03.

The SVG file itself is nothing more than a grouping of simple paths
which get filled and a few lines.  I am developing an application which
generates these SVG files.  I recently changed the boundary
approximation algorithm and that's when it started crashing.  As best I
can tell the only difference between the output of the previous boundary
approximation algorithm and the new one is that the new one tends to be
a bit bigger.

Now, I've used large SVG files with Batik and I haven't had problems
before.  This one is only 65k uncompressed.  Granted, it's large, but I
wouldn't think that it would be prohibitively large.  Sadly, the only
output I get is a core dump, not the usual Java exception back trace or
anything like that.  Does anyone have any ideas or suggestions?

If someone who wants to look at this would like a copy of the SVG files
that cause and don't cause it to crash, email me privately.

Thanks to everyone!

Regards,
Marcus Brubaker





---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Batik 1.1 Crash...Fixed...

Posted by Marcus Brubaker <ma...@utoronto.ca>.
Ok, well, I figured out the problem.  Basically, I didn't have a
!DOCTYPE node....I'm not sure why this would cause a segmentation fault,
but apparently it did.  And even more confusing why it would cause such
a fault on one document but not another one.

Anyway, I'm satisfied...sorry for this otherwise irrelevant thread.  If
anyone is still interested in tracking down the problem, just let me
know, as it is still manifesting itself in 1.5beta3 and seems like
otherwise undesirable behavior.

Thanks and sorry for the wasted bandwidth!

Regards,
Marcus

On Mon, 2002-07-22 at 23:51, Marcus Brubaker wrote:
> I have a (fairly) simple SVG v1.0 file that is causing a segmentation
> fault in Batik version 1.1.  I am using the binary precompiled version
> running on Linux with the Sun JRE version 1.3.1_03.
> 
> The SVG file itself is nothing more than a grouping of simple paths
> which get filled and a few lines.  I am developing an application which
> generates these SVG files.  I recently changed the boundary
> approximation algorithm and that's when it started crashing.  As best I
> can tell the only difference between the output of the previous boundary
> approximation algorithm and the new one is that the new one tends to be
> a bit bigger.
> 
> Now, I've used large SVG files with Batik and I haven't had problems
> before.  This one is only 65k uncompressed.  Granted, it's large, but I
> wouldn't think that it would be prohibitively large.  Sadly, the only
> output I get is a core dump, not the usual Java exception back trace or
> anything like that.  Does anyone have any ideas or suggestions?
> 
> If someone who wants to look at this would like a copy of the SVG files
> that cause and don't cause it to crash, email me privately.
> 
> Thanks to everyone!
> 
> Regards,
> Marcus Brubaker
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org