GNU bug report logs - #21641
25.0.50; Emacs crash on network connection?

Previous Next

Package: emacs;

Reported by: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Date: Wed, 7 Oct 2015 13:31:02 UTC

Severity: normal

Tags: confirmed

Found in version 25.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: rgm <at> gnu.org
Cc: 21641 <at> debbugs.gnu.org, larsi <at> gnus.org
Subject: bug#21641: 25.0.50; Emacs crash on network connection?
Date: Wed, 07 Oct 2015 20:47:31 +0300
> Date: Wed, 07 Oct 2015 20:30:13 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 21641 <at> debbugs.gnu.org, larsi <at> gnus.org
> 
> >         initial_buffer =           "Invalid image size (see
> >     ‘\000\000\000\000\000\365\350\037\001\000\000\000\000\002\000\000\000\016\000\000\000\245\330z\001", '\000' <repeats 12 times>
> 
> Ouch!  Does the below help?
> 
> diff --git a/src/image.c b/src/image.c
> index b586c53..6add400 100644
> --- a/src/image.c
> +++ b/src/image.c
> @@ -647,7 +647,8 @@ image_error (const char *format, ...)
>  static void
>  image_size_error (void)
>  {
> -  image_error ("Invalid image size (see `%s')", "max-image-size");
> +  image_error ("Invalid image size (see `%s')",
> +	       build_string ("max-image-size"));
>  }

Btw, after making this change, I see a lot of error messages from Glib
(called by librsvg), like this:

  (emacs.exe:1624): GLib-CRITICAL **: g_error_free: assertion 'error != NULL' failed

(And, of course, a lot of "Invalid image size" errors in *Messages*.)




This bug report was last modified 9 years and 287 days ago.

Previous Next


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