Package: graphviz
Version: 2.12-3
Severity: normal

While attempting to regenerate some old graphs, I found that 'dot' was
producing corrupted PostScript output for a certain .dot file.

The offending file is available at the following URL (2700 bytes):

        http://kochi.wisq.net/misc/demo/i3008_reverse.dot

PostScript creation (-Tps2) raises no errors, but 'convert'
(ImageMagick), 'gv', and 'kghostscript' are all unable to parse
the result.

Attempting to create a PNG (-Tpng) raises errors but does not exit with
a non-zero status:

        gd warning: product of memory allocation multiplication would
                exceed INT_MAX, failing operation gracefully
        Error: gdImageCreate returned NULL. Malloc problem?

Creating an SVG file (-Tsvg) works, but the file cannot be opened with
the Gimp ('unknown reason') nor converted with 'convert':

        pwrite64(4, "\0", 1, 14791876266719) = -1 EFBIG (File too large)
        --- SIGXFSZ (File size limit exceeded) @ 0 (0) ---

Creating an imagemap file (-Tcmapx) results in an empty <map> element.

This file worked previously, and downgrading to version 2.8-2.6 made
it work fine again, so this is apparently a regression issue.
Oversized allocation seems to be the overall error theme.

I have not verified if this is the only file that fails with 2.12-3;
'make' simply stopped at the first error.  If it helps, I can
catalogue the .dot files that fail.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (400, 'testing'), (300, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.16-2-686
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages graphviz depends on:
ii  libgraphviz3                  2.12-3     rich set of graph drawing tools

graphviz recommends no packages.

-- no debconf information

Attachment: signature.asc
Description: Digital signature

Reply via email to