bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17875: 24.3.92; Consistent crash running in terminal


From: Eli Zaretskii
Subject: bug#17875: 24.3.92; Consistent crash running in terminal
Date: Mon, 30 Jun 2014 19:49:55 +0300

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]