[Pkg-gmagick-im-team] Bug#533704: imagemagick: identify crashes on non-image XML files

Justin B Rye jbr at edlug.org.uk
Fri Jun 19 21:22:16 UTC 2009


Package: imagemagick
Version: 7:6.3.7.9.dfsg2-1
Severity: minor

(Also found in Lenny's 7:6.3.7.9.dfsg2-1~lenny1.)

Running "identify *" on a directory that contains non-imagefiles
can't be expected to work well, but I was expecting "no decode
delegate for this image format", not this:

 (process:3100): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GObject'

 (process:3100): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
 identify: Memory allocation failed `eg.rdf'.

The above happens with any RDF file, while XHTML gives me:

 (process:3111): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
 This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
 The overwriting error message was: Error parsing XML data

 (process:3111): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
 This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
 The overwriting error message was: Error parsing XML data

 (process:3111): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
 This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
 The overwriting error message was: Error parsing XML data

 (process:3111): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
 This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
 The overwriting error message was: Error parsing XML data

 (process:3111): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
 This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
 The overwriting error message was: Error parsing XML data

 (process:3111): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GObject'

 (process:3111): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
 identify: Memory allocation failed `eg.html'.

There's an obvious workaround ("don't do that then"), so I'm only
calling it "minor"; but it claims it's buggy, and who am I to argue?
With imagemagick-dbg I don't get the WARNING messages, just:

 identify: Memory allocation failed `eg.rdf' @ svg.c/ReadSVGImage/2827.

 identify: Memory allocation failed `eg.html' @ svg.c/ReadSVGImage/2827.

Looks like for a start it's seeing all XML as SVG...

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i586)

Kernel: Linux 2.6.30.custom
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages imagemagick depends on:
ii  libbz2-1.0             1.0.5-1           high-quality block-sorting file co
ii  libc6                  2.9-12            GNU C Library: Shared libraries
ii  libfontconfig1         2.6.0-3           generic font configuration library
ii  libfreetype6           2.3.9-4.1         FreeType 2 font engine, shared lib
ii  libice6                2:1.0.5-1         X11 Inter-Client Exchange library
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG 
ii  liblcms1               1.18.dfsg-1       Color management library
ii  libmagick10            7:6.3.7.9.dfsg2-1 image manipulation library
ii  libsm6                 2:1.1.0-2         X11 Session Management library
ii  libtiff4               3.8.2-11          Tag Image File Format (TIFF) libra
ii  libx11-6               2:1.2.1-1         X11 client-side library
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  libxt6                 1:1.0.5-3         X11 toolkit intrinsics library
ii  zlib1g                 1:1.2.3.3.dfsg-13 compression library - runtime

imagemagick recommends no packages.

imagemagick suggests no packages.

-- no debconf information
-- 
JBR
Ankh kak! (Ancient Egyptian blessing)





More information about the Pkg-gmagick-im-team mailing list