From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#15575: 24.3.50; New tty menus crash Emacs Date: Fri, 11 Oct 2013 14:06:52 +0300 Message-ID: <83fvs8rrqr.fsf@gnu.org> References: <7A5C065F-4E90-4846-80EE-650AF314DCB2@swipnet.se> <83a9iiqr49.fsf@gnu.org> <5D661800-C7B5-495B-BF9D-F2E1F16C9B93@swipnet.se> <834n8qqnfx.fsf@gnu.org> <97F9A2CA-8E08-4867-93C3-5BAE8DF80D72@swipnet.se> <83txgpp0f1.fsf@gnu.org> <5AFF19E5-0778-425A-AF0C-0C027DEFB3D6@swipnet.se> <83pprcq5nt.fsf@gnu.org> <5FC82EF1-4394-44C9-A9DB-30ED99DB186F@swipnet.se> <83fvs8p9ks.fsf@gnu.org> <83iox4rwam.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1381489695 7450 80.91.229.3 (11 Oct 2013 11:08:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Oct 2013 11:08:15 +0000 (UTC) Cc: 15575@debbugs.gnu.org To: jan.h.d@swipnet.se Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 11 13:08:18 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VUaZt-0000Fn-9p for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Oct 2013 13:08:17 +0200 Original-Received: from localhost ([::1]:53585 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUaZs-0007Gv-R6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Oct 2013 07:08:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUaZl-0007Gh-12 for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2013 07:08:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUaZf-0003s6-6P for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2013 07:08:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUaZf-0003s0-2y for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2013 07:08:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VUaZe-0007fZ-GI for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2013 07:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Oct 2013 11:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15575 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15575-submit@debbugs.gnu.org id=B15575.138148963329418 (code B ref 15575); Fri, 11 Oct 2013 11:08:02 +0000 Original-Received: (at 15575) by debbugs.gnu.org; 11 Oct 2013 11:07:13 +0000 Original-Received: from localhost ([127.0.0.1]:42663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VUaYq-0007eO-16 for submit@debbugs.gnu.org; Fri, 11 Oct 2013 07:07:12 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:36105) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VUaYl-0007eD-OR for 15575@debbugs.gnu.org; Fri, 11 Oct 2013 07:07:08 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MUI00K003U11300@a-mtaout20.012.net.il> for 15575@debbugs.gnu.org; Fri, 11 Oct 2013 14:07:06 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MUI00K9447T0F40@a-mtaout20.012.net.il>; Fri, 11 Oct 2013 14:07:06 +0300 (IDT) In-reply-to: <83iox4rwam.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79180 Archived-At: > Date: Fri, 11 Oct 2013 12:28:33 +0300 > From: Eli Zaretskii > Cc: 15575@debbugs.gnu.org > > 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 "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. Should be fixed with trunk revision 114623. Please test.