From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#15575: 24.3.50; New tty menus crash Emacs Date: Wed, 16 Oct 2013 20:45:08 +0200 Message-ID: <525EDEB4.6080201@gmx.at> 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> <5257CAF9.50307@gmx.at> <83eh7srrmu.fsf@gnu.org> <5257E42D.6000507@gmx.at> <838uxzsxi3.fsf@gnu.org> <525D891B.3020204@gmx.at> <83iowypddh.fsf@gnu.org> <525E43CA.5040408@gmx.at> <83a9i9p7gz.fsf@gnu.org> <525ED175.3090800@gmx.at> <8338o1oyj3.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1381949186 17854 80.91.229.3 (16 Oct 2013 18:46:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Oct 2013 18:46:26 +0000 (UTC) Cc: 15575@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 16 20:46:28 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 1VWW6x-0007ui-GV for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Oct 2013 20:46:23 +0200 Original-Received: from localhost ([::1]:48936 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWW6x-00065B-5R for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Oct 2013 14:46:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWW6k-0005pf-EY for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2013 14:46:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWW6c-0000WU-Vm for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2013 14:46:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWW6c-0000WO-R4 for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2013 14:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VWW6c-0002of-DF for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2013 14:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Oct 2013 18:46: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.138194912910772 (code B ref 15575); Wed, 16 Oct 2013 18:46:02 +0000 Original-Received: (at 15575) by debbugs.gnu.org; 16 Oct 2013 18:45:29 +0000 Original-Received: from localhost ([127.0.0.1]:54603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VWW64-0002nd-PI for submit@debbugs.gnu.org; Wed, 16 Oct 2013 14:45:29 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:61606) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VWW61-0002nM-99 for 15575@debbugs.gnu.org; Wed, 16 Oct 2013 14:45:26 -0400 Original-Received: from [62.47.58.166] ([62.47.58.166]) by mail.gmx.com (mrgmx101) with ESMTPA (Nemesis) id 0LcFTN-1WDa8Z1yJZ-00jbre for <15575@debbugs.gnu.org>; Wed, 16 Oct 2013 20:45:18 +0200 In-Reply-To: <8338o1oyj3.fsf@gnu.org> X-Provags-ID: V03:K0:qjNl4jZo6DbXNCwrHD+0RAjb8LVyL4shoQe5VNCIxNroHlMfp35 m8CWKomS7lKmCvin/1JQdLTricPCd64MXZmGWY4bd38L7YoP5DcdvSPvgExklaV5q9uXj0m 8nvgDzAbvU9vtCMBMhtm+Vh36j/sTMBffH8rr5iMEnz49zQMiQjhI5Mz5FH8oI6Za0yp0Se UVGnYgzX+dOuj4NP6hArQ== 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:79323 Archived-At: >> (gdb) tty /dev/pts/3 > > What is /dev/pts/3? It should name an existing terminal. It is an existing terminal where I did tty before ... >> (gdb) show inferior-tty >> Terminal for future runs of program being debugged is "/dev/pts/3". ... and the last line confirms it because it wouldn't say that if the terminal did not exist. >> (gdb) run -Q -nw >> Starting program: /home/martin/emacs/trunk/src/bootstrap-emacs -Q -nw >> [Thread debugging using libthread_db enabled] >> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". >> [New Thread 0x7fffefd46700 (LWP 4629)] >> [Thread 0x7ffff7fcd960 (LWP 4626) exited] >> (gdb) >> >> ... and it still tells me that my terminal is dumb. > > Not sure why is dumb terminal relevant here. That's what gdb told me. Probably because I used -nw. > Anyway, AFAIK the way to do this is as follows: > > gdb ./emacs > (gdb) tty /dev/SOMETHING > (gdb) r -Q -t /dev/SOMETHING > > (Not sure if -t /dev/SOMETHING is necessary.) > > But there seems to be some bug (or feature) in Emacs: it says "emacs: > Could not open file: /dev/tty" and quits. Same here. martin