GNU bug report logs -
#17875
24.3.92; Consistent crash running in terminal
Previous Next
Reported by: penthief <penthief <at> SDF.ORG>
Date: Sun, 29 Jun 2014 17:48:03 UTC
Severity: normal
Tags: confirmed
Found in versions 23.1, 24.3.92
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Sun, 29 Jun 2014 14:37:56 +0100
> From: penthief <penthief <at> 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.
This bug report was last modified 11 years and 21 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.