unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: penthief <penthief@SDF.ORG>
Cc: 17875@debbugs.gnu.org
Subject: bug#17875: 24.3.92; Consistent crash running in terminal
Date: Mon, 30 Jun 2014 19:49:55 +0300	[thread overview]
Message-ID: <83simm4a18.fsf@gnu.org> (raw)
In-Reply-To: <6cbc24d788d2fdbb4701f7791982daeb@SDF.ORG>

> Date: Sun, 29 Jun 2014 14:37:56 +0100
> From: penthief <penthief@SDF.ORG>
> 
> Setting both a frame's height and width seems to put emacs in an
> inconsistent state, causing a crash when redisplaying on a terminal. 

The problem is not setting both height and width, the problem is
changing frames on a TTY after that.

> (progn
>    (let ((f (make-frame '((minibuffer . nil)))))
>      (with-selected-frame f
>        (minibuffer-window f)
>        (set-frame-width f 9)
>        (set-frame-height f 10)
>        (message "Now type M-x 12345 to crash")
>        )))

What a strange thing to do!  Out of curiosity: why did you need to do
something like that?  What did you expect to happen when you change
the size of a TTY frame?

> 1. Run emacs:
> 
> $ emacs -nw -Q -l ~/crash.el
> 
> 2. Type M-x 12345 (no carriage return).
> 
> Emacs crashes on the fifth character, and the problem may stem from:

The 5th character exceeds the 9-character width of the frame you set
inside with-selected-frame.

Fixed in revision 117327 on the emacs-24 branch.





      parent reply	other threads:[~2014-06-30 16:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-29 13:37 bug#17875: 24.3.92; Consistent crash running in terminal penthief
2014-06-29 23:26 ` Glenn Morris
2014-06-30 16:53   ` Eli Zaretskii
2014-06-30 16:49 ` Eli Zaretskii [this message]

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=83simm4a18.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=17875@debbugs.gnu.org \
    --cc=penthief@SDF.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).