From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#36773: 27.0.50; Accessing a cached SVG with eww can cause Emacs to crash Date: Wed, 24 Jul 2019 17:46:56 +0300 Message-ID: <83zhl3o5gf.fsf@gnu.org> References: Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="192402"; mail-complaints-to="usenet@blaine.gmane.org" Cc: plaiceadam@gmail.com, 36773@debbugs.gnu.org To: Pip Cet Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 24 16:48:11 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hqIYt-000ntq-Lm for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Jul 2019 16:48:11 +0200 Original-Received: from localhost ([::1]:52334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqIYs-0002MJ-Km for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Jul 2019 10:48:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35756) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqIYm-0002Gc-Gj for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2019 10:48:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hqIYl-00075P-Ja for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2019 10:48:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57259) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hqIYk-00075H-VH for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2019 10:48:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hqIYk-0007gx-QT for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2019 10:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Jul 2019 14:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36773 X-GNU-PR-Package: emacs Original-Received: via spool by 36773-submit@debbugs.gnu.org id=B36773.156397963929512 (code B ref 36773); Wed, 24 Jul 2019 14:48:01 +0000 Original-Received: (at 36773) by debbugs.gnu.org; 24 Jul 2019 14:47:19 +0000 Original-Received: from localhost ([127.0.0.1]:37847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqIY0-0007ft-GQ for submit@debbugs.gnu.org; Wed, 24 Jul 2019 10:47:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqIXw-0007ff-Oz for 36773@debbugs.gnu.org; Wed, 24 Jul 2019 10:47:13 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hqIXr-0006ly-Hz; Wed, 24 Jul 2019 10:47:07 -0400 Original-Received: from [176.228.60.248] (port=3223 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hqIXr-00067H-2B; Wed, 24 Jul 2019 10:47:07 -0400 In-reply-to: (message from Pip Cet on Wed, 24 Jul 2019 13:24:46 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:163665 Archived-At: > From: Pip Cet > Date: Wed, 24 Jul 2019 13:24:46 +0000 > Cc: 36773@debbugs.gnu.org > > As for the other bug, it's a little tricky: shr calls > url-store-in-cache after url-http-parse-headers has decompressed the > file, while url-http-parse-headers itself would (correctly) cache the > uncompressed file if it were configured to do so. It's not quite clear > who's at fault here. What's more, this problem doesn't happen in Emacs 26.2.90. Can you see why it started happening in Emacs 27? Maybe that will provide a hint as to how to fix it. Btw, I see the same behavior as you, Pip: g_object_unref error messages and no crash. librasvg returns a NULL handle, but it also returns a non-zero err. My librsvg version is 2.40.1.