Red Hat Bugzilla – Bug 505740
ImageMagick convert segfault
Last modified: 2009-10-17 15:15:47 EDT
Created attachment 347728 [details]
strace convert output
Description of problem:
convert segfault when trying to convert more than one jpg file to pdf.There is no problem when converting only one image to pdf.
Version-Release number of selected component (if applicable):
Version: ImageMagick 6.5.1-2 2009-04-13 Q16 OpenMP http://www.imagemagick.org
Nick@Atlantis:[Sat Jun 13 13:39:29]:[~/Download/pdf]$ rpm -qa | grep ImageMagick
Everytime, when trying to convert more than one image.
Steps to Reproduce:
1. convert *.jpg allinone.pdf
Segmentation fault and one corrupted pdf file.
A pdf file with one image per page.
convert is working as expected on Fedora 10 (x86_64), with:
Version: ImageMagick 6.4.0 07/27/08 Q16 http://www.imagemagick.org
(gdb) run *.jpg to.pdf
Starting program: /usr/bin/convert *.jpg to.pdf
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
0x0000003e0f8dea63 in CloneImage (image=0x61fc80, columns=0, rows=0, orphan=MagickFalse, exception=0x622ef8) at magick/image.c:1129
Current language: auto; currently minimal
Created attachment 347729 [details]
test jpg file
Created attachment 347730 [details]
test jpg file 2
I've just build 22.214.171.124 for rawhide / F-12 development, and that fixes this. Unfortunately I cannot do an F-11 update with this version in as the ABI is changed.
Hans de Goede, I'm also make this update...
But shouldn't me inspire dependency-rebuild on this case? Segfault is critical bug, and closing this bug do not care reported problem, as I understood...
(In reply to comment #4)
> Hans de Goede, I'm also make this update...
> But shouldn't me inspire dependency-rebuild on this case? Segfault is critical
> bug, and closing this bug do not care reported problem, as I understood...
This is a bug which almost no-one will hit, so it is not critically enough
to force a rebuild of all packages depending on ImageMagick.
*** Bug 507661 has been marked as a duplicate of this bug. ***
*** Bug 508690 has been marked as a duplicate of this bug. ***
*** Bug 529481 has been marked as a duplicate of this bug. ***