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

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

bug#15575: 24.3.50; New tty menus crash Emacs


From: Jan Djärv
Subject: bug#15575: 24.3.50; New tty menus crash Emacs
Date: Fri, 11 Oct 2013 13:12:50 +0200

Hello.

11 okt 2013 kl. 11:28 skrev Eli Zaretskii <eliz@gnu.org>:

>> Date: Fri, 11 Oct 2013 10:09:55 +0300
>> From: Eli Zaretskii <eliz@gnu.org>
>> Cc: 15575@debbugs.gnu.org
>> 
>> Can you give me a login on that machine, with access to a directory
>> where trunk is built?  I would like to debug this weird problem.
> 
> Sorry, no login is needed.  I was blind: the reason for the crash is
> acutely visible in your backtrace:
> 
>  #4  0x000000000046dc26 in display_tty_menu_item (item_text=0xbf5224 
> <pure+2867940> "New Frame on Display...", width=40, face_id=15, x=0, y=24, 
> submenu=0) at /home/jhd/src/emacs/current/src/xdisp.c:20648
>                                                                               
>                                                             ^^^^
> 
> Note that y's value is 24.  Your terminal window has only 25 lines,
> right?  I guess everyone else's, including mine, are taller.  The
> "File" menu is longer than 24 lines, so the code is trying to write
> beyond the end of the frame's glyph matrix, with predictably bad
> results.
> 
> I will fix that ASAP.

Confirmed that a taller window does not crash or give rise to the screen 
corruptions previously mentioned.

        Jan D.







reply via email to

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