unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Terminal locked when spawning a new tty frame
@ 2019-10-16  9:56 Alex Bennée
  2019-10-16 10:25 ` Andreas Schwab
  2019-10-16 15:12 ` rrandresf
  0 siblings, 2 replies; 12+ messages in thread
From: Alex Bennée @ 2019-10-16  9:56 UTC (permalink / raw)
  To: emacs-devel


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



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-11-06 17:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-16  9:56 Terminal locked when spawning a new tty frame Alex Bennée
2019-10-16 10:25 ` 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

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).