[Bug 456285] Re: SIGSEGV converting multiple images to pdf

Bug Watch Updater 456285 at bugs.launchpad.net
Fri Oct 27 20:41:29 UTC 2017


Launchpad has imported 9 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=505740.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2009-06-13T10:54:02+00:00 Nickolay wrote:

Created attachment 347728
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):

convert --version
Version: ImageMagick 6.5.1-2 2009-04-13 Q16 OpenMP http://www.imagemagick.org

Nick at Atlantis:[Sat Jun 13 13:39:29]:[~/Download/pdf]$ rpm -qa | grep ImageMagick
ImageMagick-debuginfo-6.5.1.2-1.fc11.x86_64
ImageMagick-perl-6.5.1.2-1.fc11.x86_64
ImageMagick-devel-6.5.1.2-1.fc11.x86_64
ImageMagick-6.5.1.2-1.fc11.x86_64
ImageMagick-c++-6.5.1.2-1.fc11.x86_64
ImageMagick-c++-devel-6.5.1.2-1.fc11.x86_64


How reproducible:
Everytime, when trying to convert more than one image. 

Steps to Reproduce:
1. convert *.jpg allinone.pdf
  
Actual results:

Segmentation fault and one corrupted pdf file.

Expected results:

A pdf file with one image per page.

Additional info:

convert is working as expected on Fedora 10 (x86_64), with:
convert --version
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
1129            clone_image->next->previous=clone_image;
Current language:  auto; currently minimal
(gdb)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/456285/comments/0

------------------------------------------------------------------------
On 2009-06-13T10:55:06+00:00 Nickolay wrote:

Created attachment 347729
test jpg file

Reply at:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/456285/comments/1

------------------------------------------------------------------------
On 2009-06-13T10:55:31+00:00 Nickolay wrote:

Created attachment 347730
test jpg file 2

Reply at:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/456285/comments/2

------------------------------------------------------------------------
On 2009-06-15T13:17:28+00:00 Hans wrote:

I've just build 6.5.3.7 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.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/456285/comments/3

------------------------------------------------------------------------
On 2009-06-15T13:21:06+00:00 Pavel wrote:

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...

Reply at:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/456285/comments/4

------------------------------------------------------------------------
On 2009-06-15T13:25:11+00:00 Hans wrote:

(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.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/456285/comments/5

------------------------------------------------------------------------
On 2009-06-23T18:30:51+00:00 Pavel wrote:

*** Bug 507661 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/456285/comments/6

------------------------------------------------------------------------
On 2009-06-29T15:37:37+00:00 Pavel wrote:

*** Bug 508690 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/456285/comments/7

------------------------------------------------------------------------
On 2009-10-17T19:15:47+00:00 Pavel wrote:

*** Bug 529481 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/456285/comments/8


** Changed in: imagemagick (Fedora)
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to imagemagick in Ubuntu.
https://bugs.launchpad.net/bugs/456285

Title:
  SIGSEGV converting multiple images to pdf

Status in imagemagick package in Ubuntu:
  Fix Released
Status in imagemagick package in Debian:
  Fix Released
Status in imagemagick package in Fedora:
  Fix Released

Bug description:
  Binary package hint: imagemagick

  Segmentation fault with any two jpg images:

  convert 1.jpg 2.jpg out.pdf

  Adding e.g. -append works so it might have something to do with multi-
  page pdfs.

  ProblemType: Bug
  Architecture: amd64
  Date: Tue Oct 20 15:51:06 2009
  DistroRelease: Ubuntu 9.10
  Package: imagemagick 7:6.5.1.0-1.1ubuntu3
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-14.47-generic
  SourcePackage: imagemagick
  Uname: Linux 2.6.31-14-generic x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/456285/+subscriptions



More information about the foundations-bugs mailing list