all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: emacs-devel@gnu.org
Subject: Terminal locked when spawning a new tty frame
Date: Wed, 16 Oct 2019 10:56:02 +0100	[thread overview]
Message-ID: <87a7a1580d.fsf@linaro.org> (raw)


Hi,

On the current master I seem to be running into a semi-intermittent
problem spawning terminal frames. I'm usually running an emacs --daemon
with a GUI frame but from time to time I shell into my box and issue a:

  emacsclient -a '' -t

The frame gets created and comes up on the *scratch* buffer but it's not
responsive to keyboard input. I end up having to kill the emacsclient or
kill-window'ing my tmux frame it's in. If I SIGUSR2 the main emacs pid I
get the message:

  "Terminal 5 is locked, cannot read from it"

So far SO points out that this is because something is trying to read
the minibuffer on another tty although I'm not sure which tty this might
be as I've both a) left the GUI frame alone and b) ensured I've closed
any GUI frames before working remotely.

This doesn't happen all the time because after killing emacs and
restarting the daemon I have a working session again and can launch GUI
frames when I get back home.

So any ideas on how I can debug this next time it occurs?

--
Alex Bennée



             reply	other threads:[~2019-10-16  9:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-16  9:56 Alex Bennée [this message]
2019-10-16 10:25 ` Terminal locked when spawning a new tty frame Andreas Schwab
2019-10-23 13:31   ` Alex Bennée
2019-10-23 15:38     ` Andreas Schwab
2019-10-23 16:43       ` Alex Bennée
2019-10-23 16:58         ` Andreas Schwab
2019-10-23 17:48           ` Alex Bennée
2019-11-06 17:17             ` Alex Bennée
2019-10-16 15:12 ` rrandresf
2019-10-16 15:48   ` Eli Zaretskii
2019-10-17  4:47     ` opening an emacs frame on another display (was: Terminal locked when spawning a new tty frame) andrés ramírez
2019-10-17  8:24       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a7a1580d.fsf@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.