unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: rgm@gnu.org
Cc: 21641@debbugs.gnu.org, larsi@gnus.org
Subject: bug#21641: 25.0.50; Emacs crash on network connection?
Date: Wed, 07 Oct 2015 20:47:31 +0300	[thread overview]
Message-ID: <838u7eefkc.fsf@gnu.org> (raw)
In-Reply-To: <83a8ruegd6.fsf@gnu.org>

> Date: Wed, 07 Oct 2015 20:30:13 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 21641@debbugs.gnu.org, larsi@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*.)





  reply	other threads:[~2015-10-07 17:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-07 13:28 bug#21641: 25.0.50; Emacs crash on network connection? Lars Magne Ingebrigtsen
2015-10-07 16:48 ` Glenn Morris
2015-10-07 17:14   ` Eli Zaretskii
2015-10-07 17:22     ` Glenn Morris
2015-10-07 17:30       ` Eli Zaretskii
2015-10-07 17:47         ` Eli Zaretskii [this message]
2015-10-07 17:55           ` Glenn Morris
2015-10-07 18:01             ` Eli Zaretskii
2015-10-08  5:46           ` Daiki Ueno
2015-10-08 15:07             ` Eli Zaretskii
2015-10-07 18:29         ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=838u7eefkc.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=21641@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).