|Anonymous | Login||2017-11-18 07:20 EST|
|Main | My View | View Issues | Change Log | Roadmap | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000749||graphviz||Dot||public||2007-07-18 12:59||2011-04-28 04:03|
|Summary||0000749: Largish labels cause undefined output|
I've just received a (quite well documented) bugreport with an
example file, leading to a dot crash when using -Tpng:
| gd warning: product of memory allocation multiplication would
| exceed INT_MAX, failing operation gracefully
| Error: gdImageCreate returned NULL. Malloc problem?
Other behaviours are detailed in the bugreport (broken PS or SVG
1. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432890 [^]
2. http://kochi.wisq.net/misc/demo/i3008_reverse.dot [^]
After some tests, it appears to me that (at least in the PNG case, that
is the only one I tested, so as to minimize combinatory explosion), some
labels are too large, and when reducing both ``Catapulse Battery'' and
``Strange Particles'' by two characters, everything goes well.
GNU/Linux, i386, graphviz 2.12 [output with -v attached]
Similar behaviour (different error message, but same cause apparently)
GNU/kFreeBSD, i386, graphviz-2.13.20070712.2001
I'm not sure whether gd is at fault, or whether its use by graphviz is,
or whether it is unrelated. Just in case it matters, graphviz 2.12 (not
the former one) depends on the following package: libgd2-xpm.
[erg] The problem is related to setting ratio. Coordinates are generated
too big to be represented.
[erg] This is the same as bug 456.
The graph ends up with coordinates of INTMAX, which can cause all sorts of bad things to happen.
This is a really subtle bug with no nice solution, though I suppose we should put in some fix.
|Tags||No tags attached.|
|STATUS-COMMENT||Fixed (11 Oct 2007)|
|2011-04-28 04:03||user1||New Issue|
|2011-04-28 04:03||user1||Assigned To||=> erg|
|MantisBT 1.2.5[^] Copyright © 2000 - 2011 MantisBT Group|