GNU bug report logs - #35725
[imagemagick] Fatal error 11: Segmentation fault; Crash on: (find-file "any.svg")

Previous Next

Package: emacs;

Reported by: Michael Pagan <pegzmasta <at> member.fsf.org>

Date: Mon, 13 May 2019 23:05:03 UTC

Severity: normal

Tags: notabug, wontfix

Merged with 29581

Found in versions 26.0.90, 26.2

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Pagan <pegzmasta <at> member.fsf.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#35725: 26.2; Fatal error 11: Segmentation fault;
 Crash on: (find-file "any.svg")
Date: Mon, 13 May 2019 23:59:02 -0400
> Paul Eggert wrote:
>> I suggest configuring --with-rsvg, so that librsvg used (instead of
>> ImageMagick) to display SVG files.

On Mon, 13 May 2019 21:21:27 -0400, Glenn Morris <rgm <at> gnu.org> spake thus:
> That's not enough (the build in the original report already has librsvg
> support, per "configured features"); --without-imagemagick would be needed.
> ImageMagick (still) has priority; https://debbugs.gnu.org/33587#19

I re-configured GNU Emacs with the proposed flag, and now: Emacs can
open SVG files just fine; however, I can’t scale images anymore.  I’d
rather have the ability to scale images in any buffer, than the
ability to display SVG files.

I have many image libraries installed (librsvg included), and it makes
sense to me to allow those libraries (e.g. libgif-dev, libjpeg-dev,
libpng-dev, etc.) to handle displaying images, but only allowing
ImageMagick to intervene when performing image manipulation routines.

Is there a way to prevent ImageMagick from handling a specific file
format (e.g. SVG) and to simply allow librsvg to do the job instead of
ImageMagick?

The following elisp does nothing for me, either:
(setq imagemagick-types-inhibit '(SVG C HTML HTM INFO M TXT PDF))
(imagemagick-register-types)

>> I vaguely remember proposing that we disable ImagicMagick by default;

I usually just stick with the defaults, and whatever the INSTALL file
recommends.  I disabled ImageMagick and I was able to view SVG files,
but image scaling is such a desirable feature to me (usable in various
buffer types).

I don’t want it disabled by default, if that means losing the ability
to scale images.  I re-installed my previous configuration of GNU
Emacs for now, even though I can’t display SVG images with it.


Thanks so far for all of your feedback!
-- 
Michael Pagan (pegzmasta) | Casual GNU Emacs user
GPG Key ID: B942 AD12 82B1 6D14 27A0  86AE 119E 451E 71B4 6D72




This bug report was last modified 5 years and 341 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.