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#71223: 30.0.50; stack overflow after very fast opening and closing of frames Date: Thu, 30 May 2024 08:19:23 +0300 Message-ID: <868qzrswpw.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2488"; mail-complaints-to="usenet@ciao.gmane.io" Cc: n142857@gmail.com, cyd@stupidchicken.com, 71223@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 30 07:20: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 1sCYCx-0000Vq-KA for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 May 2024 07:20:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCYCf-0007Rx-8Y; Thu, 30 May 2024 01:19:53 -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 1sCYCe-0007RA-6t for bug-gnu-emacs@gnu.org; Thu, 30 May 2024 01:19: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 1sCYCd-0000nw-Uw for bug-gnu-emacs@gnu.org; Thu, 30 May 2024 01:19:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sCYCo-0003JX-3z for bug-gnu-emacs@gnu.org; Thu, 30 May 2024 01:20: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: Thu, 30 May 2024 05:20: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.171704638312672 (code B ref 71223); Thu, 30 May 2024 05:20:02 +0000 Original-Received: (at 71223) by debbugs.gnu.org; 30 May 2024 05:19:43 +0000 Original-Received: from localhost ([127.0.0.1]:45850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sCYCV-0003II-EK for submit@debbugs.gnu.org; Thu, 30 May 2024 01:19:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sCYCU-0003Hh-21 for 71223@debbugs.gnu.org; Thu, 30 May 2024 01:19:42 -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 1sCYCC-0000g5-JL; Thu, 30 May 2024 01:19:24 -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=hgtaDvJ6yD7Gg5xo7H6UXQsCPpZpkVXXvj5eu9crNCA=; b=ZQxXzhJhzQFi 0vErQUKPChxQOARZds7ckoZ28QtvC4v6ZkqzO5NyzMem1QI9Bl0yz2HZKXz+FhaweubQeBbOThFdL MNhjNR4ca4+VUN63DKInoN6+SJ5LnWywrSS4lH5xGaWNeLwRgPSCcB8Cw2nPfrmYL1JkOgheZsXpt kGC8+hqGamHfALwEh2MIZRD8ueMoQuU98M8UwpIkyJOFW1MLvJC9prQ8nbMz/9RJxEdqlX2L2x8TF BejkRxVtRc+cB4CEGo0KEyvzkH0PmUE0juBEKjE8c2uzjRzFVUnTao2QNqQ1QLsLDznrZT247z1h3 fAE0lQrmJmazF8LfCjavlQ==; In-Reply-To: (bug-gnu-emacs@gnu.org) 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:286195 Archived-At: > Cc: Daniel Clemente , 71223@debbugs.gnu.org > Date: Wed, 29 May 2024 17:07:34 -0400 > From: Stefan Monnier via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Why do we wait for 5s in one spot but 1s in another? Please read the bug report(s) which resulted in each line. At least some of these times were calibrated by running specific use cases where those bugs happened. AFAIR, some of the waits were already there, and I didn't change them just to follow the new waits I added, because I didn't have a reason to do so. 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); . 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. The bug(s) in question should tell the details.