Bug 508690 - "convert" segfaults while trying to convert multiple jpeg files to pdf
Summary: "convert" segfaults while trying to convert multiple jpeg files to pdf
Keywords:
Status: CLOSED DUPLICATE of bug 505740
Alias: None
Product: Fedora
Classification: Fedora
Component: ImageMagick
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-29 14:13 UTC by Stefan Assmann
Modified: 2009-06-29 15:37 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-06-29 15:37:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stefan Assmann 2009-06-29 14:13:11 UTC
Description of problem:
convert file1.jpeg file2.jpeg output.pdf 
The above command segfaults

(gdb) run
Starting program: /usr/bin/convert file1.jpeg file2.jpeg test.pdf
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x0000003da5edea63 in CloneImage (image=0x61faa0, columns=0, rows=0, orphan=MagickFalse, exception=0x622d18) at magick/image.c:1129
1129            clone_image->next->previous=clone_image;

(gdb) bt
#0  0x0000003da5edea63 in CloneImage (image=0x61faa0, columns=0, rows=0, orphan=MagickFalse, exception=0x622d18) at magick/image.c:1129
#1  0x0000003da5e41152 in InjectImageBlob (image_info=0x6564e0, image=0x61faa0, inject_image=0x61faa0, format=0x7ffff6c5eba8 "jpeg", exception=0x622d18)
    at magick/blob.c:1789
#2  0x00007ffff6c5d547 in WritePDFImage (image_info=<value optimized out>, image=0x61faa0) at coders/pdf.c:1559
#3  0x0000003da5e699a6 in WriteImage (image_info=0x612060, image=0x61faa0) at magick/constitute.c:1168
#4  0x0000003da5e6a120 in WriteImages (image_info=<value optimized out>, images=0x61faa0, filename=<value optimized out>, exception=0x603050)
    at magick/constitute.c:1287
#5  0x0000003da643feb6 in ConvertImageCommand (image_info=<value optimized out>, argc=<value optimized out>, argv=0x6069e0, metadata=<value optimized out>, 
    exception=0x603050) at wand/convert.c:2777
#6  0x0000000000400dab in main (argc=4, argv=0x7fffffffe6a8) at utilities/convert.c:122


Version-Release number of selected component (if applicable):
ImageMagick-6.5.1.2-1.fc11.x86_64

How reproducible:
always

Steps to Reproduce:
1. convert file1.jpeg file2.jpeg output.pdf
2.
3.
  
Actual results:
segfault

Expected results:
no segfault

Additional info:

Comment 1 Pavel Alexeev 2009-06-29 15:37:36 UTC
Thank you for the report.
I think it is duplicate of: https://bugzilla.redhat.com/show_bug.cgi?id=505740
Please reopen, If you think it is another problem.

*** This bug has been marked as a duplicate of bug 505740 ***


Note You need to log in before you can comment on or make changes to this bug.