ImageMagick convert SVG core dump

Bug #1808070 reported by Matpen
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
imagemagick (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I am experiencing the following bizarre crash when attempting to convert SVG images:

# download a sample image
wget https://upload.wikimedia.org/wikipedia/commons/6/67/Firefox_Logo%2C_2017.svg
# re-download the same image with a different name
wget https://upload.wikimedia.org/wikipedia/commons/6/67/Firefox_Logo%2C_2017.svg -O firefox.svg
# even copy the original image to a different name
cp Firefox_Logo,_2017.svg firefox2.svg

# no convert the images (recall they are identical)
convert Firefox_Logo,_2017.svg firefox.png # works
convert firefox.svg firefox.png # Aborted (core dumped)
convert firefox2.svg firefox.png # Aborted (core dumped)

The problem can be reproduced at least on two different laptops configured similarly (but based on different hardware), so it is not random and not specific to one system.

The system specs are as follows:

me@ubuntu:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS"

me@ubuntu:~$ uname -a
Linux matteo-laptop 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

me@ubuntu:~$ convert -version # installed from repo
Version: ImageMagick 6.8.9-9 Q16 x86_64 2018-09-28 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlib

I could solve the problem by installing ImageMagick from source as described here
http://www.imagemagick.org/script/install-source.php

This bug seems related, although it has slightly different symptoms:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1796815

Revision history for this message
Matpen (matpen) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in imagemagick (Ubuntu):
status: New → Confirmed
Revision history for this message
Juhani Numminen (jsonic) wrote : apport information

ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
CurrentDesktop: KDE
DistroRelease: Ubuntu 16.04
InstallationDate: Installed on 2015-05-23 (1298 days ago)
InstallationMedia: Kubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
Package: imagemagick 8:6.8.9.9-7ubuntu5.13
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 4.4.0-140.166-generic 4.4.162
Tags: xenial
Uname: Linux 4.4.0-140-generic x86_64
UpgradeStatus: Upgraded to xenial on 2016-07-17 (877 days ago)
UserGroups: adm cdrom dip lpadmin netdev plugdev sambashare sudo
_MarkForUpload: True

tags: added: apport-collected xenial
Revision history for this message
Juhani Numminen (jsonic) wrote : Dependencies.txt

apport information

Revision history for this message
Juhani Numminen (jsonic) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Juhani Numminen (jsonic) wrote : ProcEnviron.txt

apport information

Revision history for this message
Juhani Numminen (jsonic) wrote :

I tried to attach some apport-collected information and here's a manually acquired stack trace as well.

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.