Bug#374631: imagemagick: display segfaults after crop's + undo

2006-06-20 Thread Vincent Lefevre
On 2006-06-20 13:02:08 +0200, Vincent Lefevre wrote:
> Package: imagemagick
> Version: 7:6.2.4.5.dfsg1-0.9
> Severity: important
> 
> With "display", I did several crop's on a PNG image. The last one only
> reduced the height of the image and the resulting image was something
> completely different. So, I did an "undo", but display crashed:
[...]

I now remember I also did a "Trim Edges" then "Undo", and this may be
the cause of the crash, since "Trim Edges" on

  http://www.vinc17.org/test/cwt.png

yields random images.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Bug#374631: imagemagick: display segfaults after crop's + undo

2006-06-20 Thread Vincent Lefevre
Package: imagemagick
Version: 7:6.2.4.5.dfsg1-0.9
Severity: important

With "display", I did several crop's on a PNG image. The last one only
reduced the height of the image and the resulting image was something
completely different. So, I did an "undo", but display crashed:

$ gdb =display core
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
[...]
Core was generated by `display cwt.png'.
Program terminated with signal 11, Segmentation fault.
#0  0xb79ee366 in realloc () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb79ee366 in realloc () from /lib/tls/libc.so.6
#1  0xb7c56e34 in ResizeMagickMemory () from /usr/lib/libMagick.so.9
#2  0xb7cb3aad in CloneString () from /usr/lib/libMagick.so.9
#3  0xb7c27ef0 in ThrowMagickExceptionList () from /usr/lib/libMagick.so.9
#4  0xb7c27fb1 in ThrowMagickException () from /usr/lib/libMagick.so.9
#5  0xb7c34ac2 in ParsePageGeometry () from /usr/lib/libMagick.so.9
#6  0xb7ce160e in XMakeImage () from /usr/lib/libMagick.so.9
#7  0xb7be0377 in RemoteDisplayCommand () from /usr/lib/libMagick.so.9
#8  0xb7be5e6c in RemoteDisplayCommand () from /usr/lib/libMagick.so.9
#9  0xb7bf0fa8 in RemoteDisplayCommand () from /usr/lib/libMagick.so.9
#10 0xb7bfb1de in DisplayImageCommand () from /usr/lib/libMagick.so.9
#11 0x080489e6 in ?? ()
#12 0x0804afc8 in ?? ()
#13 0x0002 in ?? ()
#14 0x0804f0c0 in ?? ()
#15 0x in ?? ()
(gdb)

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.4-20051215
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)

Versions of packages imagemagick depends on:
ii  libbz2-1.0   1.0.3-2 high-quality block-sorting file co
ii  libc62.3.6-15GNU C Library: Shared libraries
ii  libfreetype6 2.2.1-2 FreeType 2 font engine, shared lib
ii  libice6  1:1.0.0-3   X11 Inter-Client Exchange library
ii  libjasper-1.701-11.701.0-2   The JasPer JPEG-2000 runtime libra
ii  libjpeg626b-13   The Independent JPEG Group's JPEG 
ii  liblcms1 1.15-1  Color management library
ii  libmagick9   7:6.2.4.5.dfsg1-0.9 Image manipulation library
ii  libpng12-0   1.2.8rel-5.1PNG library - runtime
ii  libsm6   1:1.0.0-4   X11 Session Management library
ii  libtiff4 3.8.2-4 Tag Image File Format (TIFF) libra
ii  libx11-6 2:1.0.0-6   X11 client-side library
ii  libxext6 1:1.0.0-4   X11 miscellaneous extension librar
ii  libxml2  2.6.26.dfsg-1   GNOME XML library
ii  zlib1g   1:1.2.3-11  compression library - runtime

imagemagick recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]