From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tomas Hlavaty Newsgroups: gmane.emacs.help Subject: Re: /usr/local/bin/emacs: writing to child signal FD: Bad file descriptor Date: Sat, 04 Dec 2021 13:05:44 +0100 Message-ID: <87r1aslgmf.fsf@logand.com> References: <87k0glw14b.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12899"; mail-complaints-to="usenet@ciao.gmane.io" To: Hongyi Zhao , Emanuel Berg , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 04 13:06:48 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtToW-0003Dq-2l for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 04 Dec 2021 13:06:48 +0100 Original-Received: from localhost ([::1]:59242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtToS-0005mi-Te for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 04 Dec 2021 07:06:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtTnf-0005mZ-U8 for help-gnu-emacs@gnu.org; Sat, 04 Dec 2021 07:05:55 -0500 Original-Received: from logand.com ([37.48.87.44]:49066) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtTne-0002lZ-FB for help-gnu-emacs@gnu.org; Sat, 04 Dec 2021 07:05:55 -0500 Original-Received: by logand.com (Postfix, from userid 1001) id 69C6019EC2A; Sat, 4 Dec 2021 13:05:46 +0100 (CET) X-Mailer: emacs 27.2 (via feedmail 11-beta-1 I) In-Reply-To: Received-SPF: pass client-ip=37.48.87.44; envelope-from=tom@logand.com; helo=logand.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:134833 Archived-At: On Sat 04 Dec 2021 at 11:26, Hongyi Zhao wrote: > I try to compile vterm module with `M-x vterm-module-compile RET`, but > Emacs freezes. Then I killed the process by hitting `C-g` twice, at > this moment the message reported here occured. There is something seriously wrong with C-g. It is very dangerous. Emacs often crashes for me after trying to break blocking operation using C-g twice. It just prints a list of threads and crashes. This has been happening for a long time; I guess since introduction of threads. It probably has something to do with disruption of blocking network operations or garbage collection. Two weeks ago, it even truncated ~/.emacs to 0 size. This happened once so far. All with emacs -nw. Tomas