all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Nicolas Richard <theonewiththeevillook@yahoo.fr>, 17386@debbugs.gnu.org
Subject: bug#17386: 24.3.90; emacs_abort in cmcheckmagic
Date: Fri, 02 May 2014 11:45:23 +0200	[thread overview]
Message-ID: <87oazgwm30.fsf@geodiff-mac3.ulb.ac.be> (raw)
In-Reply-To: <8338gslfpj.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 02 May 2014 11:58:32 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> 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.

Sorry about that.

> 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?)

63 is the exact number of lines I can put in a buffer when
gnome-terminal is maximized on the computer where emacs is running.

If I run gnome-terminal on my laptop (from which I was ssh'ing when the
crash happened), I count 22 lines at the default window size, and 41
when the window is maximized (window, in the "X window" sense).

-- 
Nico.





  reply	other threads:[~2014-05-02  9:45 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
2014-05-02  9:45       ` Nicolas Richard [this message]
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

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

  git send-email \
    --in-reply-to=87oazgwm30.fsf@geodiff-mac3.ulb.ac.be \
    --to=theonewiththeevillook@yahoo.fr \
    --cc=17386@debbugs.gnu.org \
    --cc=eliz@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.