Subject: Re: bug#36773: 27.0.50; Accessing a cached SVG with eww can cause Emacs to crash

From: Eli Zaretskii <[email-masked]>
Date: Wed, 24 Jul 2019 17:46:56 +0300

> From: Pip Cet <[email-masked]>
> Date: Wed, 24 Jul 2019 13:24:46 +0000
> Cc: [email-masked]
> 
> 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.