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: Sat, 25 May 2024 15:43:24 +0300 Message-ID: <865xv2yscz.fsf@gnu.org> References: <86o78v0zx6.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32873"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 71177@debbugs.gnu.org To: Daniel Clemente Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 25 14:46:06 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 1sAqmj-0008J7-W6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 May 2024 14:46:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sAqme-0007Lr-3l; Sat, 25 May 2024 08:46:00 -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 1sAqmY-0007EL-V1 for bug-gnu-emacs@gnu.org; Sat, 25 May 2024 08:45: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 1sAqmY-00021L-Mn for bug-gnu-emacs@gnu.org; Sat, 25 May 2024 08:45:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sAqmg-0002jT-5L for bug-gnu-emacs@gnu.org; Sat, 25 May 2024 08:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 May 2024 12:46:02 +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.171664115310467 (code B ref 71177); Sat, 25 May 2024 12:46:02 +0000 Original-Received: (at 71177) by debbugs.gnu.org; 25 May 2024 12:45:53 +0000 Original-Received: from localhost ([127.0.0.1]:43226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAqmW-0002ik-OZ for submit@debbugs.gnu.org; Sat, 25 May 2024 08:45:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAqmU-0002iI-Qs; Sat, 25 May 2024 08:45:51 -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 1sAqkB-0001Z8-2o; Sat, 25 May 2024 08:43:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=6JToSFYa3Gh07PtXA7++hcg4HZyugPrlqc9aVhmw7e4=; b=FABP+qbV6bFn opkBGBaie9VBQCFbFy3D9jAQV5XqORM0pN94R1RUDB+Sy316SgujSSDoLPgQBDsJRVDxxOEw0vsPy U9YUhcNC6dQiTZOyNkM6Zxzoe9BsVZeIozefve83ppSzRrMEIKrFZBjVUi6+0XKrhkJETwIdMofcj BMWcy3UGCCb2ntCt+UOak+6eRZ3ZZDV5X9IFs/mSpMff2sErsxMeJLL33uECaUYCt2Ni4CwTLN+zZ g1LOyHndzzgYdWdsUP4QXkhIi2XvGoj5cxM4k2cfeIsqJkLkAu33xgIc5SOiFHyfT7fafKJDKo299 BREop+aAf/Os1RfLLJl+0A==; In-Reply-To: (message from Daniel Clemente on Sat, 25 May 2024 11:04:39 +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:285866 Archived-At: merge 71177 71176 thanks > From: Daniel Clemente > Date: Sat, 25 May 2024 11:04:39 +0000 > Cc: Eli Zaretskii , 71177@debbugs.gnu.org > > > That's a red herring. It's because Daniel is running Emacs under GDB > > that his backtrace ends with a SIGPIPE, while the backtrace for the > > crash lies elsewhere. > > True, this was a SIGPIPE (still not a crash), and gdb was stopping here. By running "cont" I could make it > continue. > After running "handle SIGPIPE noprint pass", and continuing the same behaviour for ~30 seconds, I saw the > real crash (SIGSEGV). > > The cause of the crash is the other bug I reported, bug#71176 (tty-set-up-initial-frame-faces, > face_at_buffer_position, default_face = 0x0), so I posted the new backtrace there. > > So in here we just discovered that opening+closing frames is a way to reproduce bug#71176, but I think the > bug is 71176 and this one can be closed. OK, I'm merging them.