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#16479: 24.3.50; daemon freeze with tty menus Date: Fri, 17 Jan 2014 13:59:46 +0200 Message-ID: <83eh46lsy5.fsf@gnu.org> References: <87y52fgd5g.fsf@holos.localdomain> <83ha93kk5m.fsf@gnu.org> <87eh4652o0.fsf@holos.localdomain> <83fvomlv7w.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1389960023 25963 80.91.229.3 (17 Jan 2014 12:00:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Jan 2014 12:00:23 +0000 (UTC) Cc: 16479@debbugs.gnu.org To: mvoteiza@udel.edu, Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 17 13:00:29 2014 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 1W4865-0007Ay-Qv for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Jan 2014 13:00:25 +0100 Original-Received: from localhost ([::1]:37521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4865-0006lo-IV for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Jan 2014 07:00:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W485u-0006kR-43 for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 07:00:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W485k-0001q6-Ry for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 07:00:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W485k-0001pQ-OS for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 07:00:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W485j-0001Wo-DP for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 07:00:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Jan 2014 12:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16479-submit@debbugs.gnu.org id=B16479.13899599955831 (code B ref 16479); Fri, 17 Jan 2014 12:00:02 +0000 Original-Received: (at 16479) by debbugs.gnu.org; 17 Jan 2014 11:59:55 +0000 Original-Received: from localhost ([127.0.0.1]:54511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W485b-0001Vy-5j for submit@debbugs.gnu.org; Fri, 17 Jan 2014 06:59:55 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:40169) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W485Y-0001Vo-MU for 16479@debbugs.gnu.org; Fri, 17 Jan 2014 06:59:54 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MZJ00500NXSTH00@a-mtaout20.012.net.il> for 16479@debbugs.gnu.org; Fri, 17 Jan 2014 13:59:50 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MZJ005J8NZNHV80@a-mtaout20.012.net.il>; Fri, 17 Jan 2014 13:59:47 +0200 (IST) In-reply-to: <83fvomlv7w.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:83643 Archived-At: > Date: Fri, 17 Jan 2014 13:10:43 +0200 > From: Eli Zaretskii > Cc: 16479@debbugs.gnu.org > > > With menu-bar-mode (and thus the new tty menus) enabled, if I do the > > steps I outlined above, I expect to be able to return to the previous > > client and finish input. This is not the case: if I go back to the > > first client with the menu, and try an arrow key or C-{npbf}, emacs > > crashes. I think this is a bug. > > A crash is always a bug. > > I understand that you are talking about the situation where the menu > is already open on one client, and then you start another client. > > If so, this seems to have something to do with the fact that starting > a client writes something to the terminal (to query the terminal about > its features). I tried to fix this in trunk revision 116053. It is still not ideal (but what _is_ the ideal in this case?): the open menu pops down, and you need to type C-g in the client where the menu was open to get out, but at least the daemon doesn't segfault. Stefan, can you suggest a better solution?