Public bug reported:

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

** Affects: imagemagick (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Firefox_Logo,_2017.svg"
   
https://bugs.launchpad.net/bugs/1808070/+attachment/5221506/+files/Firefox_Logo%2C_2017.svg

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

Title:
  ImageMagick convert SVG core dump

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to