From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alex =?utf-8?Q?Benn=C3=A9e?= Newsgroups: gmane.emacs.devel Subject: Terminal locked when spawning a new tty frame Date: Wed, 16 Oct 2019 10:56:02 +0100 Message-ID: <87a7a1580d.fsf@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="253918"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.3.5; emacs 27.0.50 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 16 11:56:15 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iKg2Q-0013v2-Q8 for ged-emacs-devel@m.gmane.org; Wed, 16 Oct 2019 11:56:14 +0200 Original-Received: from localhost ([::1]:40266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKg2P-00016D-NG for ged-emacs-devel@m.gmane.org; Wed, 16 Oct 2019 05:56:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59396) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKg2J-00015u-Gb for emacs-devel@gnu.org; Wed, 16 Oct 2019 05:56:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKg2I-0003uN-7i for emacs-devel@gnu.org; Wed, 16 Oct 2019 05:56:07 -0400 Original-Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:53589) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iKg2I-0003uH-0R for emacs-devel@gnu.org; Wed, 16 Oct 2019 05:56:06 -0400 Original-Received: by mail-wm1-x329.google.com with SMTP id i16so2184029wmd.3 for ; Wed, 16 Oct 2019 02:56:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=user-agent:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=LWcOHc7YGLsJQstQFxKBICOaBBQnPBAaY4C7fgZuVWo=; b=Z1HZhZCetv/L+kpieWTbNBDa4UPRCi7+Dmsjp+q+29MvI5WlIURj3og7X0B+5p37Nj /IAl4f3ftPSMvRzGw5bliyRO/6IeB7SbMvtvK0oiTuuKkvjyaNbNOUYF5U/NFBPyQz7K Z25oiqTPYczJTnceL5hQhQvgIUSTxXi6/FIZCRdmyumS2v8zVt2iUgHIPPuV1ucTgkBu z0CEy6TkpnPU+tiheQWAO8So5MYT8dJo2jE78E6wv77E6ALvf6lpxXHNB8IyoXlBQCoE 9NUaAheMlneBpG0W81MZUUQikJpFkb6WRvWHuHucdoaAGch2iPQoSxl1B1EQQZTepjMp oMXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version:content-transfer-encoding; bh=LWcOHc7YGLsJQstQFxKBICOaBBQnPBAaY4C7fgZuVWo=; b=hAdGLBYft5kK5nDe3RKkKycW5uTylkdHcxkl4yJvSsM1HHc+uHjhd25fG40/dBo+BX OzCDShD0hOapyZG7btbw88OmfOu5zyXuEehext78dp39LK6mC/0CClvdtA+A5/VklDem 8WvzL3Z+hj0pJW3qcksgN0mAvb7wQ0FgBSy/XmCxjRXm53BHagxFlL+reaIn7T0VHEWU Io7qPk53wKTfsW3UFsg8OTy33c95U8IqpJVuYDHXeoOV1yF+ejwFh4Z+cKD13Y8glKgF wZ/gX24VA+Ed4SCHjtI9NLyOU9OAJw+TdjaR69+STMSg2cNYS/do8BIpNryspf86uRHu cL+A== X-Gm-Message-State: APjAAAXETjV3DAZ0tLH1qHM6QRuMMWJPzk3r+FYCnSz98iv95a+LZyLe /IkEwrgAh2BhEjrtI3D9gFOay9u//Yw= X-Google-Smtp-Source: APXvYqwsrC/WD+75n7XxR0atOKV0j/iNKbXvS017WZbEax0aXSCePGXXOcesAL3bq9x/PvbsVae+vA== X-Received: by 2002:a1c:658a:: with SMTP id z132mr2577960wmb.174.1571219764399; Wed, 16 Oct 2019 02:56:04 -0700 (PDT) Original-Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id a204sm2841784wmh.21.2019.10.16.02.56.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2019 02:56:03 -0700 (PDT) Original-Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 28F7A1FF87 for ; Wed, 16 Oct 2019 10:56:03 +0100 (BST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::329 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241086 Archived-At: 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=C3=A9e