From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Richard Newsgroups: gmane.emacs.bugs Subject: bug#17170: 24.3.50; debug: Terminal 3 is locked, cannot read from it Date: Sun, 06 Apr 2014 12:08:31 +0200 Message-ID: <87r45aepnk.fsf@yahoo.fr> References: <87vbusouwu.fsf@yahoo.fr> <83r45fbsur.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1396778965 21447 80.91.229.3 (6 Apr 2014 10:09:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Apr 2014 10:09:25 +0000 (UTC) Cc: Nicolas Richard , 17170@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 06 12:09:18 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 1WWk0r-0002mw-HJ for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Apr 2014 12:09:17 +0200 Original-Received: from localhost ([::1]:57463 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWk0r-0006DU-15 for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Apr 2014 06:09:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWk0i-0006DP-Oq for bug-gnu-emacs@gnu.org; Sun, 06 Apr 2014 06:09:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WWk0c-0002hj-QE for bug-gnu-emacs@gnu.org; Sun, 06 Apr 2014 06:09:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36261) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWk0c-0002hf-Mq for bug-gnu-emacs@gnu.org; Sun, 06 Apr 2014 06:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WWk0c-0007Ft-G3 for bug-gnu-emacs@gnu.org; Sun, 06 Apr 2014 06:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas Richard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Apr 2014 10:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17170 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 17170-submit@debbugs.gnu.org id=B17170.139677889027819 (code B ref 17170); Sun, 06 Apr 2014 10:09:02 +0000 Original-Received: (at 17170) by debbugs.gnu.org; 6 Apr 2014 10:08:10 +0000 Original-Received: from localhost ([127.0.0.1]:37443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWjzl-0007Ec-Lf for submit@debbugs.gnu.org; Sun, 06 Apr 2014 06:08:10 -0400 Original-Received: from mxin.ulb.ac.be ([164.15.128.112]:64198) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WWjzj-0007EP-5P for 17170@debbugs.gnu.org; Sun, 06 Apr 2014 06:08:07 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap4EAJAmQVOkD4Xx/2dsb2JhbABQCMgogSt0giYBAQR5EAgDISUPAQRJEx6HRgEUq2GZTgGHWheHaIYzVgeEOAEDmFuGOowFgzI7gSwj Original-Received: from mathsrv4.ulb.ac.be (HELO geodiff-mac3) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 06 Apr 2014 12:08:06 +0200 In-Reply-To: <83r45fbsur.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 02 Apr 2014 19:26:20 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) 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:87793 Archived-At: Eli Zaretskii writes: > Please try "C-h l" next time, and report the commands that cause this. It just happened again. Again, I'm in emacs -nw through gdb through tmux through ssh. Again, I apparently have left one GUI frame open on my remote box. When I saw the error, I did: C-x C-k e ;; edit-kbd-macro C-h l ;; view-lossage The output isn't very interesting because most command names are wrong (everytime I hit an arrow key, it reports "ESC O" then one of A B C D separately), but here's the last bits : C-c NUL ;; rcirc-next-active-buffer C-x K C-u C-u C-c NUL ;; rcirc-next-active-buffer C-z ;; suspend-frame C-x C-k e ;; edit-kbd-macro C-h l ;; view-lossage The error appeared when I did C-z for suspend-frame. "C-x K" kills current buffer. Note that suspend-frame makes an error: x-win-suspend-error: Cannot suspend Emacs while running under X If I do M-: (debug) RET, I get the "Terminal locked" message, and enter another level of recursive edit and can't exit it (because of "No catch for tag: exit"). At this moment I have three pairs of brackets in the modeline. Now, I deleted the distant graphical frame (with (delete-frame (car (frame-list)))) At this point M-: (debug) doesn't throw the terminal locked error anymore and enter the debugger correctly (entering a 4th pair of brackets ), and I can exit the debugger correctly too, but I'm stuck within those 3 pairs of brackets. So it seems that the remote graphical frame really was a problem and entered me into a weird state. -- Nico.