unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Cc: 17386@debbugs.gnu.org
Subject: bug#17386: 24.3.90; emacs_abort in cmcheckmagic
Date: Fri, 02 May 2014 11:58:32 +0300	[thread overview]
Message-ID: <8338gslfpj.fsf@gnu.org> (raw)
In-Reply-To: <536353DA.7030901@yahoo.fr>

> Date: Fri, 02 May 2014 10:14:18 +0200
> From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
> CC: 17386@debbugs.gnu.org
> 
> Le 02/05/2014 09:28, Eli Zaretskii a écrit :
> > Which part of the condition on line 119 of cm.c caused the call to
> > emacs_abort?
> 
> The inequality :
> 
> (gdb) f 2
> #2  0x0812f8fb in cmcheckmagic (tty=0x897ee80) at cm.c:120
> 120             emacs_abort ();
> (gdb) l
> 115     cmcheckmagic (struct tty_display_info *tty)
> 116     {
> 117       if (curX (tty) == FrameCols (tty))
> 118         {
> 119           if (!MagicWrap (tty) || curY (tty) >= FrameRows (tty) - 1)
> 120             emacs_abort ();
> 121           if (tty->termscript)
> 122             putc ('\r', tty->termscript);
> 123           putc ('\r', tty->output);
> 124           if (tty->termscript)
> (gdb) p MagicWrap(tty)
> $1 = true
> (gdb) p curY(tty)
> $2 = 63
> (gdb) p FrameRows (tty)
> $3 = 23

Then I don't think this crash is interesting.  It seems like you
connected with a second emacsclient in the middle of a potentially
already confused session, which caused Emacs to be confused about the
number of rows on your terminal.  (Which one is true: 64 or 23?)





  reply	other threads:[~2014-05-02  8:58 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-02  5:08 bug#17386: 24.3.90; emacs_abort in cmcheckmagic Nicolas Richard
2014-05-02  7:28 ` Eli Zaretskii
2014-05-02  8:14   ` Nicolas Richard
2014-05-02  8:58     ` Eli Zaretskii [this message]
2014-05-02  9:45       ` Nicolas Richard
2014-05-02 12:09         ` Eli Zaretskii
2014-05-02 15:17           ` Nicolas Richard
2014-05-02 15:42             ` Eli Zaretskii
2014-05-02 16:00               ` Nicolas Richard
2014-05-02 16:17                 ` Eli Zaretskii
2014-05-03  6:56                   ` Nicolas Richard
2014-05-03  7:18                     ` Eli Zaretskii
2014-05-03  8:21                       ` Andreas Schwab
2014-05-03  8:53                         ` Eli Zaretskii
2014-05-03  8:56                           ` Andreas Schwab
2014-05-03  9:16                             ` Eli Zaretskii
2014-05-05 10:27                               ` Nicolas Richard
2014-05-05 11:11                                 ` Eli Zaretskii
2014-05-05 11:25                                   ` Nicolas Richard
2014-05-28  8:35 ` Nicolas Richard
2014-05-28 14:17   ` Eli Zaretskii
2014-05-28 14:41     ` Nicolas Richard
2014-05-28 15:24       ` Andreas Schwab
2014-05-28 16:27         ` Eli Zaretskii
2014-05-28 16:38           ` Andreas Schwab
2014-05-28 20:47           ` Nicolas Richard
2014-05-29 16:05             ` Eli Zaretskii
2022-04-26 12:56 ` Lars Ingebrigtsen
2022-04-29  7:26   ` Nicolas Richard via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-29 10:10     ` Lars 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=8338gslfpj.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=17386@debbugs.gnu.org \
    --cc=theonewiththeevillook@yahoo.fr \
    /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).