From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Pagan Newsgroups: gmane.emacs.bugs Subject: bug#35725: 26.2; Fatal error 11: Segmentation fault; Crash on: (find-file "any.svg") Date: Mon, 13 May 2019 23:59:02 -0400 Message-ID: <87imudfzzt.wl-pegzmasta@member.fsf.org> References: <87zhnq567e.wl-pegzmasta@member.fsf.org> <1ac79901-d3a1-3c3f-1590-d3fc753e4bac@cs.ucla.edu> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="203348"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL/10.8 EasyPG/1.0.0 Emacs/26 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Cc: 35725@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 14 06:00:23 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQOc2-000qmv-Uc for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 May 2019 06:00:23 +0200 Original-Received: from localhost ([127.0.0.1]:38660 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQOc1-00033G-Sg for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 May 2019 00:00:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQObo-000319-PL for bug-gnu-emacs@gnu.org; Tue, 14 May 2019 00:00:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQObm-0004iB-Q0 for bug-gnu-emacs@gnu.org; Tue, 14 May 2019 00:00:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33317) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQObj-0004fM-G7 for bug-gnu-emacs@gnu.org; Tue, 14 May 2019 00:00:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hQObj-0000Jh-BA for bug-gnu-emacs@gnu.org; Tue, 14 May 2019 00:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Pagan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 May 2019 04:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35725 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15578063631080 (code B ref -1); Tue, 14 May 2019 04:00:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 May 2019 03:59:23 +0000 Original-Received: from localhost ([127.0.0.1]:46857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQOb2-0000HI-8f for submit@debbugs.gnu.org; Mon, 13 May 2019 23:59:23 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50715) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQOaz-0000H4-SS for submit@debbugs.gnu.org; Mon, 13 May 2019 23:59:18 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:59903) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hQOau-0003m7-0W for submit@debbugs.gnu.org; Mon, 13 May 2019 23:59:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQOas-0002WH-PT for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 23:59:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQOar-0003hA-Ix for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 23:59:10 -0400 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:38975) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hQOar-0003bE-Cp; Mon, 13 May 2019 23:59:09 -0400 X-Originating-IP: 73.120.126.96 Original-Received: from Technoethical-T500.gandi.net (c-73-120-126-96.hsd1.tn.comcast.net [73.120.126.96]) (Authenticated sender: ministry@escapedarknessforever.bible) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 38FD31BF205; Tue, 14 May 2019 03:59:04 +0000 (UTC) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159241 Archived-At: > 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 spake thus: > That's not enough (the build in the original report already has librsvg > support, per "configured features"); --without-imagemagick would be neede= d. > 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=A2t scale images anymore. I=A2d 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=A2t 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=A2t display SVG images with it. Thanks so far for all of your feedback! --=20 Michael Pagan (pegzmasta) | Casual GNU Emacs user GPG Key ID: B942 AD12 82B1 6D14 27A0 86AE 119E 451E 71B4 6D72