From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#71223: 30.0.50; stack overflow after very fast opening and closing of frames Date: Thu, 30 May 2024 12:09:30 -0400 Message-ID: References: <868qzrswpw.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22883"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: n142857@gmail.com, cyd@stupidchicken.com, 71223@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 30 18:10: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 1sCiLx-0005fY-J1 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 May 2024 18:10:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCiLj-0003fg-4w; Thu, 30 May 2024 12:09:55 -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 1sCiLg-0003eV-UP for bug-gnu-emacs@gnu.org; Thu, 30 May 2024 12:09:52 -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 1sCiLg-00082b-FH for bug-gnu-emacs@gnu.org; Thu, 30 May 2024 12:09:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sCiLq-0004wx-TQ for bug-gnu-emacs@gnu.org; Thu, 30 May 2024 12:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 May 2024 16:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71223 X-GNU-PR-Package: emacs Original-Received: via spool by 71223-submit@debbugs.gnu.org id=B71223.171708539118985 (code B ref 71223); Thu, 30 May 2024 16:10:02 +0000 Original-Received: (at 71223) by debbugs.gnu.org; 30 May 2024 16:09:51 +0000 Original-Received: from localhost ([127.0.0.1]:44829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sCiLf-0004w9-B3 for submit@debbugs.gnu.org; Thu, 30 May 2024 12:09:51 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:40561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sCiLc-0004vo-Oa for 71223@debbugs.gnu.org; Thu, 30 May 2024 12:09:49 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 43D06808EE; Thu, 30 May 2024 12:09:32 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1717085371; bh=JkjiGpRjtspSs39inQzrKPx/ss5X1h/5f0gY0vKGfIs=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=OuxEjRvmdtyKtQwziTvnREa97yDJZPhifoSlndisPSG0hl6GDD4iOgLhxo4FwgRjP 5n23okx/JuKeVZZA7M7NEVdNDH02irh0n0l4G1R06CQS0lhIq1wHE9NV9P0FAPnn8n Pnnevt/lowmT4ixSOTJPzSXz/cMcKiia1LaQBoWvZJPva/URKs24EIcGzTnM6Nurh8 Nc4XVp1ad/JYxjZreD/ZYXuT060+oZFL1HxvUUGYTcV2IXuVxIKmD/Dn0gFrmG+2TN itmYHUwFBuATnEmWvhSjlOn+kEca/OsSaiLl61d+3SXdPUjTcWXojDrW2NfdoWPwfd DisFWK/iFu1Ow== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 2AA6C8062B; Thu, 30 May 2024 12:09:31 -0400 (EDT) Original-Received: from pastel (unknown [24.140.236.196]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id F1A8B1207A7; Thu, 30 May 2024 12:09:30 -0400 (EDT) In-Reply-To: <868qzrswpw.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 30 May 2024 08:19:23 +0300") 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:286234 Archived-At: > AFAIR, the waits are for 2 purposes: > > . let the user of emacsclient see the error messages sent by the > server (because deleting the process clears the terminal); In my patch these are mostly kept except they are short-circuited when there's already some other emacsclient process filtering pending. In practice this should rarely make a difference: you need to have at least 3 more-or-less-concurrent emacsclients for the difference to show up (the first is processed normally, and if there's no 3rd, then by the time we process the second there's no other thing pending). > . let the server and the client have enough time to undo the > terminal settings they did when the session started, so that the > terminal is left in workable condition after the client exits. These are kept in the form of timers instead of `sit-for`. > The bug(s) in question should tell the details. I don't know which bugs these are, sadly. [ I must say I don't understand why we need to wait and then call `delete-process`. ] Stefan