convert crashed with SIGSEGV in WriteImage()

Bug #302454 reported by Adam Buchbinder
8
Affects Status Importance Assigned to Milestone
ImageMagick
Fix Released
Undecided
Unassigned
imagemagick (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: imagemagick

I was testing bug 37510 to see if it's still present in Intrepid; it crashes now instead of giving incorrect output. Since it works properly if I turn off verbose mode, I'm considering this a new bug.

Attached find the input file used in the command "convert -verbose small-test.psd small-test-tmp%d.tif". The PSD is a layered file.

The crash only occurs when the -verbose flag is specified; otherwise, it works properly and produces the correct output.

ProblemType: Crash
Architecture: i386
Disassembly: 0x6396e8ff:
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/convert
Package: imagemagick 7:6.3.7.9.dfsg1-2ubuntu3
ProcAttrCurrent: unconfined
ProcCmdline: convert -verbose small-test.psd small-test-tmp%d.tif
ProcEnviron:
 SHELL=/bin/bash
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
Signal: 11
SourcePackage: imagemagick
StacktraceTop:
 ?? ()
 WriteImage () from /usr/lib/libMagick.so.10
 WriteImages () from /usr/lib/libMagick.so.10
 ConvertImageCommand () from /usr/lib/libWand.so.10
 ?? ()
Title: convert crashed with SIGSEGV in WriteImage()
Uname: Linux 2.6.27-7-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy fuse kqemu lpadmin plugdev sudo video

Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :
Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

Just to be explicit about it, the following command produces the crash:

$ convert -verbose small-test.psd small-test-tmp%d.tif

The following command does not crash:

$ convert small-test.psd small-test-tmp%d.tif

Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

The bug is present in upstream SVN as of today (r13567). I've reported the bug on the ImageMagick forums:

http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=12690

Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

The ImageMagick developers have been able to reproduce the bug, and are working on a fix.

Changed in imagemagick:
status: New → In Progress
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:?? ()
WriteImage (image_info=0x82285d0, image=0x84727b0) at magick/constitute.c:955
WriteImages (image_info=0x82243f0, images=0x8455e28,
ConvertImageCommand (image_info=0x82243f0, argc=4, argv=0x8228570, metadata=0x0,
main (argc=4, argv=0xbfc60204) at utilities/convert.c:122

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
broucaries (roucaries-bastien+bugs) wrote :

Any news of the upstream status ?

Changed in imagemagick (Ubuntu):
status: New → Incomplete
Changed in imagemagick (Ubuntu):
status: Incomplete → Fix Committed
Changed in imagemagick:
status: In Progress → Fix Released
Changed in imagemagick (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.