From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#71177: 30.0.50; crash when opening and closing many TTY frames in succession Date: Fri, 24 May 2024 22:31:49 +0300 Message-ID: <86o78v0zx6.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7448"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71177@debbugs.gnu.org To: Daniel Clemente Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 24 21:33:11 2024 Return-path: Envelope-to: geb-bug-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 1sAaf9-0001mn-FY for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 May 2024 21:33:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sAaev-0000Ny-6M; Fri, 24 May 2024 15:32:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sAaes-0000Na-SK for bug-gnu-emacs@gnu.org; Fri, 24 May 2024 15:32:54 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sAaes-0000DM-HL for bug-gnu-emacs@gnu.org; Fri, 24 May 2024 15:32:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sAaez-0005wA-JC for bug-gnu-emacs@gnu.org; Fri, 24 May 2024 15:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 May 2024 19:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71177 X-GNU-PR-Package: emacs Original-Received: via spool by 71177-submit@debbugs.gnu.org id=B71177.171657912622804 (code B ref 71177); Fri, 24 May 2024 19:33:01 +0000 Original-Received: (at 71177) by debbugs.gnu.org; 24 May 2024 19:32:06 +0000 Original-Received: from localhost ([127.0.0.1]:38784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAae5-0005vk-Sx for submit@debbugs.gnu.org; Fri, 24 May 2024 15:32:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAae4-0005vN-Te for 71177@debbugs.gnu.org; Fri, 24 May 2024 15:32:05 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sAads-000086-1G; Fri, 24 May 2024 15:31:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=as6yi0W9FtCKJ7uJo2VHUeYH2zoiC8uTsRaAR7wkabU=; b=bUQSpReFPmNEn9Ed+EUt GXwQRMQ5wr529US2t50FjMJq7Ay4IFy2sWdThlaRgq2Rsg+9cg2GQhPRLh286yTkmmtfUnGJIYoqU QX1wmlLMoxwoelsKe9Fscq1i6bzXRMWNPtJyGp7vDLr80Joc9YvZtci/W6mqjOuft+VB3ZihvfFFi iOwFHLG61SNFQwMbgtSvYaVb3vkCpV1nK5rXWXc939Rq297R0bes1TJUj/d3/V5maseRQjyCi5+jL ShC+s7OPWI7AiiQTgsjfEkXSX8F+G1+mo57dqRWrUUP+5MFhmmbkeANk4fK+OKGJxuZPL1Xuu+1XE jm8DTC608LcqCA==; In-Reply-To: (message from Daniel Clemente on Fri, 24 May 2024 17:47:27 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:285794 Archived-At: > From: Daniel Clemente > Date: Fri, 24 May 2024 17:47:27 +0000 > > Emacs compiled without X. > I can launch a new emacsclient with a keypress and I can kill it with another keypress. > I held down the key to launch many emacsclient (around 20), then killed them, then launched a few more, > killed them, … Less than 10 seconds of this behaviour are enough to crash the server. > This doesn't happen during normal usage. I was intentionally trying to find the bug. I don't expect the daemon > to crash only by opening/closing frames. > The command I run to launch the emacsclient is: emacsclient -c -e "(progn (dired "~"))" > I use rxvt-unicode. > > Program received signal SIGPIPE, Broken pipe. I think it crashes because of this SIGPIPE. I hope some Unix expert will be able to explain why Emacs gets get SIGPIPE in this scenario. Perhaps because you kill emacsclient too quickly? It might help if you post the details of how you "launch a new emacsclient with a keypress and kill it with another keypress". IOW, please describe the recipe to reproduce the problem starting from "emacs -Q -nw --daemon". Thanks.