unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Glenn Morris <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:30:13 +0300	[thread overview]
Message-ID: <83a8ruegd6.fsf@gnu.org> (raw)
In-Reply-To: <3rio6i7fvr.fsf@fencepost.gnu.org>

> From: Glenn Morris <rgm@gnu.org>
> Cc: larsi@gnus.org,  21641@debbugs.gnu.org
> Date: Wed, 07 Oct 2015 13:22:32 -0400
> 
> Eli Zaretskii wrote:
> 
> > Can you show the details of the error message?
> 
> #1  0x00000000005da170 in styled_format (nargs=2, args=0x7ffffffd9800, 
>     message=true) at editfns.c:4060
>         minus_flag = false
>         space_flag = false
>         conversion = 115 's'
>         num_end = 0x6cca19 "s')"
>         raw_field_width = 0
>         precision_given = false
>         plus_flag = false
>         sharp_flag = false
>         zero_flag = false
>         field_width = 0
>         precision = 18446744073709551615
>         n0 = 0
>         format0 = 0x6cca18 "%s')"
>         convbytes = 1
>         convsrc = 0x6cca18 "%s')"
>         format_char = 37 '%'
>         used = 0
>         n = 1
>         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"));
 }
 
 \f





  reply	other threads:[~2015-10-07 17:30 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 [this message]
2015-10-07 17:47         ` Eli Zaretskii
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=83a8ruegd6.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).