From unknown Sat Jun 21 03:24:34 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#53871 <53871@debbugs.gnu.org> To: bug#53871 <53871@debbugs.gnu.org> Subject: Status: 29.0.50; Emacs freezes with new child-frame option Reply-To: bug#53871 <53871@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:24:34 +0000 retitle 53871 29.0.50; Emacs freezes with new child-frame option reassign 53871 emacs submitter 53871 Arash Esbati severity 53871 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 03:42:37 2022 Received: (at submit) by debbugs.gnu.org; 8 Feb 2022 08:42:37 +0000 Received: from localhost ([127.0.0.1]:45177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHM57-0000sE-9R for submit@debbugs.gnu.org; Tue, 08 Feb 2022 03:42:37 -0500 Received: from lists.gnu.org ([209.51.188.17]:55106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHM54-0000s6-N9 for submit@debbugs.gnu.org; Tue, 08 Feb 2022 03:42:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHM54-0004kl-6R for bug-gnu-emacs@gnu.org; Tue, 08 Feb 2022 03:42:34 -0500 Received: from [2001:470:142:3::e] (port=52258 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHM53-0005Ly-TS for bug-gnu-emacs@gnu.org; Tue, 08 Feb 2022 03:42:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=gXGXEWNxrBySnNkNkmVm0L0JSkT9EF2hHqATQZInRxM=; b=OugqTUScdeljpr whq/KcePxDwdf8BcWEaNjrVopQ3mwJom7+S+e3fDm0mhlUTPQ0i53rXTqD6SZxXfkzbwT7YaYDUer 9T1lQO7Bul6yz0L2YHU0Tcc9k8/fKKRh3a9QVU6qKU4jaXeSHjK2A+aQOQjWk3sW8IxRm5xNxqaRT dTStiabKggc+ht+nISkap97TvM8hyVbiv0AqIA6cBjk78lI2Ea9V76+mjzJOdSeyc1CZ1tFVAlBND yPbwn76Hy+hfO+YmwEl0oWPfNVcqDXN9rgYKu/v3PhC1qchpdmEJXAXjqFgdpSTC87lBsbc5gfaoo TgyjFbmNkn7k2wJ7LxBg==; Received: from p4fe3e9f7.dip0.t-ipconnect.de ([79.227.233.247]:55648 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHM53-0005jo-8u for bug-gnu-emacs@gnu.org; Tue, 08 Feb 2022 03:42:33 -0500 From: Arash Esbati To: emacs-bugs Subject: 29.0.50; Emacs freezes with new child-frame option Date: Tue, 08 Feb 2022 09:42:22 +0100 Message-ID: <86leylvjf5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi all, I'm trying the new option child-frame available for `show-paren-context-when-offscreen' (introduced in 6e5d79c048) and I'm running into an issue where Emacs freezes. Steps to trigger: 1) emacs -Q 2) eval (setq show-paren-context-when-offscreen t) in scratch 3) M-x find-library RET paren RET 4) M-g c 13902 RET 5) With the mouse cursor, grab the scroll bar and move down so far to get the context 'Matches (defun show-paren--show-context-in-child-frame (text)' in the echo area. 6) eval (setq show-paren-context-when-offscreen 'child-frame) in scratch 7) Repeat 5) and Emacs freezes This is with repo-version 90eb6a7fe4 on Win10. Best, Arash From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 05:35:33 2022 Received: (at 53871) by debbugs.gnu.org; 8 Feb 2022 10:35:34 +0000 Received: from localhost ([127.0.0.1]:45475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHNqP-0002SP-HS for submit@debbugs.gnu.org; Tue, 08 Feb 2022 05:35:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHNqN-0002SC-1E for 53871@debbugs.gnu.org; Tue, 08 Feb 2022 05:35:32 -0500 Received: from [2001:470:142:3::e] (port=53976 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHNqF-0007Eg-Qh for 53871@debbugs.gnu.org; Tue, 08 Feb 2022 05:35:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=8pbJdUoG5fDTLaryarsaLJ9b1EItA3ph5/CyIfg9SsA=; b=q/LjZSNHAkSvdTuXFrZC /MBHi+Wo1hKDriY7QsWAhQRsE8KYw//mUGWH68SZWrW1ygPwi5FyW1ABgr6aEuN12x6aopfKLtLfe CjO7etL4ILX6vIr+xKtm8AuSGBo0rCQVF/5C2pOLoEmwbMDDcEqZtiCkOxmj+wX4qeLvMA63gfC+v 7krGDmPreBqjZ+1/cDVsnphtbSy+ch7PZKGKA045fFz1AmDvZnTQPxpK5i21zJ5L2p6iKHSJJCKLs X3gK8X6/+1kcbpYVLEyFqOc5w/GsRPcpho0XoqcfQKwxHVJ1/iyW9PkD1wlsJ0Umj5W3d5qHx4Vxp wN5L08WRcVDL5w==; Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:49125) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHNqC-0007eI-Q9; Tue, 08 Feb 2022 05:35:22 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailauth.nyi.internal (Postfix) with ESMTP id 4432427C005B; Tue, 8 Feb 2022 05:35:20 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 08 Feb 2022 05:35:20 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrheejgdduhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufhffjgfkfgggtgesthdtredttdertdenucfhrhhomhepvfgrshhsihhl ohcujfhorhhnuceothhsughhsehgnhhurdhorhhgqeenucggtffrrghtthgvrhhnpedtle eiffekueffudeufeefhfeitdejuedtueevgeffgfdtjeelkeehgeekteekveenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhorhhnodhmvg hsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdekieejfeekjeekgedqieefhedvleek qdhtshguhheppehgnhhurdhorhhgsehfrghsthhmrghilhdrfhhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 8 Feb 2022 05:35:19 -0500 (EST) From: Tassilo Horn To: Arash Esbati Subject: Re: bug#53871: 29.0.50; Emacs freezes with new child-frame option References: <86leylvjf5.fsf@gnu.org> Date: Tue, 08 Feb 2022 11:35:17 +0100 In-Reply-To: <86leylvjf5.fsf@gnu.org> (Arash Esbati's message of "Tue, 08 Feb 2022 09:42:22 +0100") Message-ID: <87pmnxy7bu.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53871 Cc: 53871@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Arash Esbati writes: Hi Arash, > I'm trying the new option child-frame available for > `show-paren-context-when-offscreen' (introduced in 6e5d79c048) and I'm > running into an issue where Emacs freezes. Steps to trigger: > > 1) emacs -Q > 2) eval (setq show-paren-context-when-offscreen t) in scratch > 3) M-x find-library RET paren RET > 4) M-g c 13902 RET > 5) With the mouse cursor, grab the scroll bar and move down so far to > get the context > 'Matches (defun show-paren--show-context-in-child-frame (text)' > in the echo area. > 6) eval (setq show-paren-context-when-offscreen 'child-frame) in scratch > 7) Repeat 5) and Emacs freezes > > This is with repo-version 90eb6a7fe4 on Win10. I can't reproduce with the slightly later version 9d1ae05442 on GNU/Linux with a pgtk build. When scroll up and down (only so far as to keep point at the closing paren of the defun), I'll see the child frame displaying the "(defun ...)" line whenever I stop scrolling for a second. After doing that for I while, I checked that `(frame-list)` still contains just a single frame. How is that for you? Do you have many frames in there? And do you recover from the freeze? Does doing the recipe with debug-on-quit set and then doing C-g when the freeze occurs shed some light? Bye, Tassilo From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 07:07:02 2022 Received: (at 53871) by debbugs.gnu.org; 8 Feb 2022 12:07:02 +0000 Received: from localhost ([127.0.0.1]:45711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHPGw-0007Pn-27 for submit@debbugs.gnu.org; Tue, 08 Feb 2022 07:07:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHPGu-0007PU-Bf for 53871@debbugs.gnu.org; Tue, 08 Feb 2022 07:07:00 -0500 Received: from [2001:470:142:3::e] (port=55062 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHPGo-0006V6-VP for 53871@debbugs.gnu.org; Tue, 08 Feb 2022 07:06:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=bnnWQhdmqS0otr5zZmgK94f7bGfWWdIjXNLn2O2+fx8=; b=JLNUU0yQCtKafHTk+Zak QBJ5c9g6rqLX4xrwfFyT8tIfPvh02S1eYstONmTb/qcZQeIWauHRJYuA6WpudtEZf2sZmaPFxvCFg fWwHVYTZwxyrf7uPMeNUlSC5TN+PC3HNkmTJdUCk9GsH/3SX3jluaCGz1mXsXoNXfVST5UHXtvZQm GsXJc6BhBTdKuIamFbz161Sje0kmiIQ7DZX2jljwx2DxyJ+Kd6JwDmlZl8cOmZWks1XKg/4wSRGVL 2SZqd19FPWZba5HaOXB6xmEVNjysST6aVvlGKx4O2oo7jH1FkOgTh/tt1xa6NbUh18uaEQTW2PWMa Dl8LJD/G4nMkTQ==; Received: from p4fe3e9f7.dip0.t-ipconnect.de ([79.227.233.247]:56567 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHPGe-0000zo-DU; Tue, 08 Feb 2022 07:06:48 -0500 From: Arash Esbati To: Tassilo Horn Subject: Re: bug#53871: 29.0.50; Emacs freezes with new child-frame option References: <86leylvjf5.fsf@gnu.org> <87pmnxy7bu.fsf@gnu.org> Date: Tue, 08 Feb 2022 13:06:31 +0100 In-Reply-To: <87pmnxy7bu.fsf@gnu.org> (Tassilo Horn's message of "Tue, 08 Feb 2022 11:35:17 +0100") Message-ID: <86y22lwojc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53871 Cc: 53871@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Tassilo, Tassilo Horn writes: > I can't reproduce with the slightly later version 9d1ae05442 on > GNU/Linux with a pgtk build. When scroll up and down (only so far as to > keep point at the closing paren of the defun), I'll see the child frame > displaying the "(defun ...)" line whenever I stop scrolling for a > second. > > After doing that for I while, I checked that `(frame-list)` still > contains just a single frame. How is that for you? Thanks for your response. It is the same, only one frame. > And do you recover from the freeze? No recovery, Emacs freezes hard and I have to kill it from the shell. > Does doing the recipe with debug-on-quit set and then doing C-g when the > freeze occurs shed some light? See above. Interesting point is that scrolling with mouse wheel isn't a problem, things play havoc if I touch the scroll bar with the mouse pointer. Best, Arash From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 07:23:20 2022 Received: (at 53871) by debbugs.gnu.org; 8 Feb 2022 12:23:20 +0000 Received: from localhost ([127.0.0.1]:45719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHPWh-0007oB-L9 for submit@debbugs.gnu.org; Tue, 08 Feb 2022 07:23:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHPWa-0007nt-Kr for 53871@debbugs.gnu.org; Tue, 08 Feb 2022 07:23:17 -0500 Received: from [2001:470:142:3::e] (port=55334 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHPWV-0001cA-4N for 53871@debbugs.gnu.org; Tue, 08 Feb 2022 07:23:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=Wq+72iJqshos1QOr7UNlXG296klU/iqA5Hi2Pu3NhCw=; b=DuVC9eD8kLpCeN Wx8Z1OMgqKU7xUDFwUq5bp/2r5b++M0CBvJbnvFF2s0jT0hnfNNp2Z/cpDqqE7oPe2lBkX3hIMA3A oB6Pjd42LerP1jQWb7BiKKcd0syaClUepUss1b5xJSc5LFk3e/6DtVEcQj8mN2ubEqDH2A18glRUW lw2A4zwXnzhPGLse0IJXUIvrkANwSCbAPNT0OqMbhM+cIDYq4eVrc8F1eWBt4Y254zvXkV0anyt76 WDaBKEpIOVlZZwO9iE/pi/Mglz2tRPhNORhZq+B/QKQlGrlMH5PfJ3gB82DU4DQ5qQ7o4RsPYIxEa SAm1SzLkbj49uSGzetAQ==; Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:53767) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHPWP-00078c-OX; Tue, 08 Feb 2022 07:23:06 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 76D0427C005B; Tue, 8 Feb 2022 07:23:00 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 08 Feb 2022 07:23:00 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrheejgdefiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpehffgfhvffuffgjkfggtgesthdtredttdertdenucfhrhhomhepvfgrshhsihhl ohcujfhorhhnuceothhsughhsehgnhhurdhorhhgqeenucggtffrrghtthgvrhhnpeevve eikeetkeeviefgfeffiedvteeguddvffeuueduveegtddthedvhfeuveffhfenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhorhhnodhmvg hsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdekieejfeekjeekgedqieefhedvleek qdhtshguhheppehgnhhurdhorhhgsehfrghsthhmrghilhdrfhhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 8 Feb 2022 07:22:59 -0500 (EST) References: <86leylvjf5.fsf@gnu.org> <87pmnxy7bu.fsf@gnu.org> <86y22lwojc.fsf@gnu.org> User-agent: mu4e 1.7.7; emacs 29.0.50 From: Tassilo Horn To: Arash Esbati Subject: Re: bug#53871: 29.0.50; Emacs freezes with new child-frame option Date: Tue, 08 Feb 2022 13:09:38 +0100 In-reply-to: <86y22lwojc.fsf@gnu.org> Message-ID: <87h799y2cd.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53871 Cc: 53871@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Arash Esbati writes: >> After doing that for I while, I checked that `(frame-list)` still >> contains just a single frame. How is that for you? > > Thanks for your response. It is the same, only one frame. Hm, `frame-list' says it doesn't return "tooltip frames". I think that's something else than child frames but you might try `(frames-on-display-list)', too. It should also return a single frame unless a show-paren child-frame is still visible. >> And do you recover from the freeze? > > No recovery, Emacs freezes hard and I have to kill it from the shell. Could you get a backtrace with GDB? Basically just $ gdb src/emacs -x src/.gdbinit > run # do your scroll stuff until it freezes and then hit C-z in gdb and do > xbacktrace # get a lisp backtrace > bt full # get a C backtrace The C backtrace is probably large so please compress is before attaching it here. >> Does doing the recipe with debug-on-quit set and then doing C-g when >> the freeze occurs shed some light? > > See above. Interesting point is that scrolling with mouse wheel isn't > a problem, things play havoc if I touch the scroll bar with the mouse > pointer. Could you put a message in show-paren--show-context-in-child-frame just to get a feeling of how often a child frame is created? Bye, Tassilo From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 10:09:45 2022 Received: (at 53871) by debbugs.gnu.org; 8 Feb 2022 15:09:45 +0000 Received: from localhost ([127.0.0.1]:48300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHS7k-0006XR-UM for submit@debbugs.gnu.org; Tue, 08 Feb 2022 10:09:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHS7i-0006XF-Ow for 53871@debbugs.gnu.org; Tue, 08 Feb 2022 10:09:43 -0500 Received: from [2001:470:142:3::e] (port=59992 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHS7b-0006HN-DD; Tue, 08 Feb 2022 10:09:36 -0500 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=qN1jHtdpStrssgXZ6oM7qj6dfNF4rP7SDQI+8YRC+kc=; b=mqNKp1KQJmp6 Ku30b9mFQGMsxh+31eYI3lwxgz/3e5oQ2xCSGz8VAosOPaGalXgLYm6WqnhWd+bqM5o7wW6DcgvE8 Ob2xcZ7FLHwABf70NWh3S8dunPGYCtWhCpNOeUsPFC+2Wmoz7gBw+BJt4dFkVBQObH/tNm3mz3DFZ cG0uHI9VRts5DomhUa3hZNPS7pBpHkto8ruz5OS4q242D0KQJXWmVSqF++xPfX93zQce7dU6CLtNb 77loN9Ij87Usgb3pcoE7FtJ0bzZYJzA5NcYUBu2o2dKBEX+sYkBpclY0MRCMB9DP+vUFL9IMjCbte X+ex7sll+o7Br0vWmzsYQQ==; Received: from [87.69.77.57] (port=2056 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHS7a-0002Cs-9F; Tue, 08 Feb 2022 10:09:34 -0500 Date: Tue, 08 Feb 2022 17:09:23 +0200 Message-Id: <83ee4dwg2k.fsf@gnu.org> From: Eli Zaretskii To: Tassilo Horn , martin rudalics In-Reply-To: <87pmnxy7bu.fsf@gnu.org> (message from Tassilo Horn on Tue, 08 Feb 2022 11:35:17 +0100) Subject: Re: bug#53871: 29.0.50; Emacs freezes with new child-frame option References: <86leylvjf5.fsf@gnu.org> <87pmnxy7bu.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53871 Cc: arash@gnu.org, 53871@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Tassilo Horn > Date: Tue, 08 Feb 2022 11:35:17 +0100 > Cc: 53871@debbugs.gnu.org > > > 1) emacs -Q > > 2) eval (setq show-paren-context-when-offscreen t) in scratch > > 3) M-x find-library RET paren RET > > 4) M-g c 13902 RET > > 5) With the mouse cursor, grab the scroll bar and move down so far to > > get the context > > 'Matches (defun show-paren--show-context-in-child-frame (text)' > > in the echo area. > > 6) eval (setq show-paren-context-when-offscreen 'child-frame) in scratch > > 7) Repeat 5) and Emacs freezes > > > > This is with repo-version 90eb6a7fe4 on Win10. > > I can't reproduce with the slightly later version 9d1ae05442 on > GNU/Linux with a pgtk build. When scroll up and down (only so far as to > keep point at the closing paren of the defun), I'll see the child frame > displaying the "(defun ...)" line whenever I stop scrolling for a > second. > > After doing that for I while, I checked that `(frame-list)` still > contains just a single frame. How is that for you? Do you have many > frames in there? And do you recover from the freeze? The number of the frames is not the problem. Yes, there's just one frame on Windows as well. And no, there's no way to recover, because the implementation of this feature seems to cause on MS-Windows a deadlock between two threads, one of which is the main thread. On Windows, creating a frame involves sending a message to a separate UI thread and waiting for that thread to respond, but in this scenario, doing that seems to lead to some kind of deadlock, whereby both threads wait for messages. Martin, any ideas? I can show the backtrace from the freeze, if that helps. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 13:23:31 2022 Received: (at 53871) by debbugs.gnu.org; 8 Feb 2022 18:23:31 +0000 Received: from localhost ([127.0.0.1]:48608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHV9H-0005Yb-89 for submit@debbugs.gnu.org; Tue, 08 Feb 2022 13:23:31 -0500 Received: from mout.gmx.net ([212.227.17.21]:37797) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHV9F-0005YO-U3 for 53871@debbugs.gnu.org; Tue, 08 Feb 2022 13:23:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1644344604; bh=Bh6u2Ufm6Gva548HxakQFJpBfMxn8GxXd1T3Mz5Ljms=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=ZVT4eTORBC9P+gL0y4RejJd29BAniwfk98CH1HKsWgJ5bPUNz92gqNazzWZ/DNPKN YmmyqxZ3hhVFkbWzjsAMONC6Ojxjft7yiJU9PCC6KFTNz5LcrrGCOOW79ehZXF7VYb +cMxf07m4j1HjX2HWGtN3Nu4oj56pX1ESFBSqf1A= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.102] ([212.95.5.151]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MMobU-1naGUB2lRE-00IlF6; Tue, 08 Feb 2022 19:23:23 +0100 Message-ID: <9c60c76c-4061-907b-7206-66b6fe3a6491@gmx.at> Date: Tue, 8 Feb 2022 19:23:21 +0100 MIME-Version: 1.0 Subject: Re: bug#53871: 29.0.50; Emacs freezes with new child-frame option Content-Language: en-US To: Eli Zaretskii , Tassilo Horn References: <86leylvjf5.fsf@gnu.org> <87pmnxy7bu.fsf@gnu.org> <83ee4dwg2k.fsf@gnu.org> From: martin rudalics In-Reply-To: <83ee4dwg2k.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:BMptz97fdCi+4tg8JH0zNXBIciepRxbcqA4bjNgqHl6nBu7byYZ M1h8F1E1+logLB3WimJ4lf6heXl4QXTT7Pk5QKza1ETn8cQD/omgW+n6xrKq+TqVOPi5w8Q q8KEvP1yyjrCDYaaG9BaHe7+GnwBo96hvFqScsWpvzQVcpSpJYtZuZuvK637J22eSicIeaR On0rSw9Dek3tAclba69yw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:0N8QSXT1Nxc=:mMr1GNlcm2idydCKbJ2225 NMh9Y9B7ekGxLiXvBmjTsu/Lz0CuNdDl6Wvl5Rgz5gDlQr2p/BcjJ38UmmKLBtuB6w0oz9VwS LkyWHE4c1oEVuBk8O7FhkSlqj+afCthV2Rr7ReD+A9pZILuh1esBk+uPTTOVFUAN0C9l8mX5J UrJMjmUVmiJFmyn2WAVvnQghH8UYx1649Yxr/gfqmhrVuVqIx3h04iOwsxULU0DyLAtpTT9qB 7R2ra+mM3PlSPpFaO7OLVIkWW6SXZ4HvjL3zpTff5bhSwzSUEkS5DJK2n2efusf9gBSSj/c7N pF/T9NQvq+PuT0F1MFRTMfqKQps0UZR10EtZQaRX71L2QWF8TRSryjhnPJ0NBwQu0x8sj/WMD AeZf3OYx6nD2pkFSJa7o/Ke0Ycpx04Ew3NvMNHow5O2pp4EsuC3F37J2fNx/NfBJ1cxHUeS3V G4VKsWfyNefyZCCjWzdP6ROTQIcQS+DpjzXLJJy3DC7Vc1yRFNNQHANWXy5H4ONLjHhcZ9mbG 7h8MFFPGgJ80gPtNKaa2jN7qSvNsUk7V1YZkKNrP1X0Uuat+8FeKKRpVK7Vi/p5Z+qT4uzYls KXqaq5Nohi/gL9dVsfzMBzwJqvXGOg5+Vj6GWa01lIDPZGWwQ243tZDaMblIUWTAcsz3Ac1Ec 7jVI3sKM44BJWPzHbGDJm0SrdWuoYtdReiGPO5SDc5vIIMv0EueUUjHdDe21aZV4Fci12VA70 Jf0KqwWhVJlFvtC+WWNWgwaI+TxQhePMSYka1QyaKVdjZIIMlkaa3PWiWC4YSuZzF1I8r6/+J NGHarYCGnMosRaU9t3SkZ/b1+MdiRSfzcUGo7YeqICncbZpDxYTqx63wj4i4M/Nkdfnyn2dum s4evYFvZIferHf+mTgTG2fAjNGmajjq5ldVm+I5X+ObhHZtCFcfCtLHS1t/qyZwhFH39oQdi2 sAGLru9ikABBPPxNHeGLdbu5qYfnPzcYh+e5AinfRdTmN3B8aqFA6AFAVBToHK1oOCD4LrYmC JQKKZpsk6rftQ8gVY0DOAkMJHGXGFkPjVbbnucxykrpYP2l8JYDwHQVqayvgrZLuWOBSl8DHl u8I2u86F4QmqAU= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53871 Cc: arash@gnu.org, 53871@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Martin, any ideas? I can show the backtrace from the freeze, if that > helps. No ideas. I also observed that the scroll bar in the main frame must be involved. Mouse-wheel scrolling doesn't freeze it here either. So we seem to have two competing windows - the scroll bar window and the child frame window - which we would have to disentangle somehow. martin From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 13:57:18 2022 Received: (at 53871) by debbugs.gnu.org; 8 Feb 2022 18:57:18 +0000 Received: from localhost ([127.0.0.1]:48638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHVfy-0006Uz-8S for submit@debbugs.gnu.org; Tue, 08 Feb 2022 13:57:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHVfm-0006UP-Q4 for 53871@debbugs.gnu.org; Tue, 08 Feb 2022 13:57:16 -0500 Received: from [2001:470:142:3::e] (port=38066 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHVfe-0003CH-02; Tue, 08 Feb 2022 13:56:59 -0500 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=0WQGidqtu9EU/Cms8OSC1iXKXT+MO5sL1TyJpitWUzU=; b=qbQ2xBLY7m8+ hCi3p8AL29trEObNPOHA7FO9TgR7eC8yijoPxAbXozZk0cpR20ztw2SfC46kqYM5zgjpuGwEzsGKl uPmQd2KOQmOBlYTIvOZNhSc8gMTxURr1G5eTiPKebeWVqC3Uzp16lZwcqzuNKrT1X/bw6AGGbqW6d oaC9F7m7MRuh1EyK24K6avhfBqpedNacd8w4ezgbxpyZWmUGnC2NSKnHG5cGFHF65TOpE+iC9hN5Z WPfaLm1RWRmTywf409p6qkFF9y2zwZETfYohHnfVc5cvJrABbaGI5vWA1Eq0AI5ECq4V++oyTWgoB uJlvUrIgi686uDDOKivkFw==; Received: from [87.69.77.57] (port=3950 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHVem-0002PI-Qq; Tue, 08 Feb 2022 13:56:33 -0500 Date: Tue, 08 Feb 2022 20:55:55 +0200 Message-Id: <837da5w5l0.fsf@gnu.org> From: Eli Zaretskii To: martin rudalics In-Reply-To: <9c60c76c-4061-907b-7206-66b6fe3a6491@gmx.at> (message from martin rudalics on Tue, 8 Feb 2022 19:23:21 +0100) Subject: Re: bug#53871: 29.0.50; Emacs freezes with new child-frame option References: <86leylvjf5.fsf@gnu.org> <87pmnxy7bu.fsf@gnu.org> <83ee4dwg2k.fsf@gnu.org> <9c60c76c-4061-907b-7206-66b6fe3a6491@gmx.at> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53871 Cc: arash@gnu.org, 53871@debbugs.gnu.org, tsdh@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Tue, 8 Feb 2022 19:23:21 +0100 > Cc: arash@gnu.org, 53871@debbugs.gnu.org > From: martin rudalics > > > Martin, any ideas? I can show the backtrace from the freeze, if that > > helps. > > No ideas. I also observed that the scroll bar in the main frame must be > involved. Mouse-wheel scrolling doesn't freeze it here either. So we > seem to have two competing windows - the scroll bar window and the child > frame window - which we would have to disentangle somehow. How come we don't see something similar in any other code that creates child frames? Scrolling via the scroll bars is possible while some Lisp creates child frames not necessarily in this context. Are our frame creation so fragile that it doesn't tolerate scroll bars in parallel with frame creation? From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 19:42:08 2022 Received: (at 53871) by debbugs.gnu.org; 9 Feb 2022 00:42:08 +0000 Received: from localhost ([127.0.0.1]:49154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHb3g-0001IA-3D for submit@debbugs.gnu.org; Tue, 08 Feb 2022 19:42:08 -0500 Received: from sonic304-22.consmr.mail.ne1.yahoo.com ([66.163.191.148]:35733) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHb3e-0001Hf-Ek for 53871@debbugs.gnu.org; Tue, 08 Feb 2022 19:42:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1644367321; bh=uJKvbtKwnW4vzvDl8RHJlZs5btHsyx/7dPcvhsqBUyU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=LkJVMYccnhPmVKFdhWfkFhcCNZgJepvOSIwGmM29+9ZST2f5YhyAi7INheaqmQNSyHHp+vsa75LiuR7Spw2oV1m7FQrDUt29cR1JJCJWi5M9MLaR7+2jpuzz/quRs+d92+Njyu2hdDtxaYjk3QN8HyfAwWtJFrx5K8nNnI9HvsBoWMtyDYgCly1+Fox2DVtCyMIRC4ur7W5nOlLkd1c6OoP6YMhBwNOGAVr+aIS734UWyd/eJqCWoAvE0Z9xhZudym0oC0q+Zn77CC4f+8pVL0Kzn/xR/1K4bL0+zdl9YfoVzObopxXJjIOTyDjv5/UEOGa7pRpyhukW1cPksytRCw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1644367321; bh=BkEE0Fr+rnuJQQDaA2GBiPcnG5Fvy4sxolHDw/KJMi+=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=SCRrF4nDrWTU0g/APW9msTH3nUbpigLuDngiGdtVRPUz/nLWCg+teZLF+GhJzBo2KIPQ968zvWzJhbnDDRqQZO2BtpoopNjNu7f7jiHVK9ppP0ERNbXEB8nAUI/LQQ7Ga5vWWatd4IUcYALWJGpVdimX4DPiwSao7E4SoYFxjng1+rRKKn+QyL8YuDWolaJGNRArKVHQCZU05GoQN3r3LqmeTxVxsWlbgq1fXL4uzelcTzz9AqILLqTFBYV5AqVTWv5zuCexRxO+zgbLjFPdDk8+blqvvcaNG78zUJfG40NoHCO44pQol3hlq5hEOozpzAx32TDHHqRm+9QQOb9h1w== X-YMail-OSG: gxR6C44VM1myDX6TC7GHkXMNMvFOYeI_6acyZDuAmOYDt3c57dHQ7AAWc3vWHYA PVKYx.ANUoOHSwI_m55KJAGWoeSlp9DP6k0e_pxVDwUl1dzXxg94yaTjBWybLKRIGu5BI4gaNllL HXowGRKxdadOjEkEs9uemWvhdPR.ymMXW4qbMVsdoiX_AH1oKRfNJAqtFXeFz6TiqPxWS9bZ0e85 5B6Q64gtdFRN5gbEW5D.c8zEfGgJ31XvSvCuJ9JeVXwXzvTbvTpceqLm_sxDr7WLe8p_rFMw0FyQ vZXAKCeOJ4ktyAJdRVJD7SiVfx0v3YZ34EO0agsdOchi8N_kOaFD.tzhQUy8WBH00vbrX3guzkoZ AUqD3j7jAF1qUk15mPqboX34iZm094uleR1Tkf2WX.ysNVbsb99UcYVGocnyDpaUM3.4O8lGGBFG OR8HdBerYoCGJ_lPip7GxrTSJ_2tujkQTuNKp2HpOH2qfenRLJ_6dLjm.h_RJU2DbTNoFmJqK2h. fOKmod0ifGdOdfzBTwx2PIIfLxQQ.H_qyh0EO7Eqae.CUg5MwsF9VEgtFxM68ogAJrxCG4TdRLKO 0JjFeD0EpqMr04a7TF81vxvKt_yUNY4nNGgtp1UvaohQkYIb7Aa6s_DntCHby.0t86xYO_paS.zU B6PVhYqgGswXFmkjFySgs2NdfoEDOesFOBylmZPkCkzK_XdPooRI6ItM_JDr1LfV4UZwiMuNeJIv WWN4mERoOjE1njPtPlnvLpfZNHG5CkmoOIQn_kql.Hg45Nc6nE5D0mfAwPlKTRY1gdR3z_PnIz80 Le9tzIq9x1vOCfJPx21kv3MNwwPQrSJDx5tjug2KO9fAQBUqUwpgelx.ogTXffTkWcw9sDUI.Bhb sjqYKFTXe38LgRQ2XkrtUW8Lw0PiZUTMoD8rzVCj1eIa9vTpRpvZo3InRmWx1yJKI1aM1HPwmfsw cS2qlSag.nmIkamikAb9iDFIETgjC5EF2Uc03GGHMyCyTAp4XBBeh_Lvt06I3za291bK.kpFfCh0 wJwYigN2hbAeJ8TS_cVkvSwErSoauWg0tG1GC.hrC22i4tk90fIX4_xpHYQLpykgE0ooBaeYCPyi VOrzhvnTVHUnNd4fiA9yCZmo2Kmd6s1EC4QIC20Ge7J9kwVdRTiLWBB7oo_zXSgKvE7tGmLaXcNB WMpGkHuWzZW03bvnNosyNz.g5_2tczeJT9w5Pn7HiDIMxITfw2W10U50LHmTq5Coxsnb.HtdiHl_ 2Oz3tZOYb22rRHdsFdjxYLk5qra7EyHjdCR53veSjLywjdcfyseIck6v8KSQEDS8KcYIiZsYL45O 4ey_ZSGeNKzGNzGEFhJfCo.OOlpCxtKxoAyICCnoaoQ9K7d3kTQg7hTbjqQVBjcjT1rofGDrb7.Z 4MAT9t894luR2nmGEWdbozNzUwPTnPg3iFloBiB9FD8kgq8jfyHxW3lhJHsriYPORYEM6qIE6cTO UA9kFl76gyOOTcpvNbRzycJuYDWZk_ZV0GLyaKfQFp95svbd5_LfGs87RzfeD9fIWKb5b6t2yhF4 PDgmv9KBnuSNTXeO_gIOwBnINQswykbQuAdfgBrdb2wQNQ5Xud0ErDz6pFhFumpwLalPobvIX6P4 6Nw79F.x0xjWCN9v4fX4N2u2T_K7xwklLRqk3j4lUJC2B6YTxPhbNyDh.UCIrYXnEUbmXMOxPOKf 7mYLKZodHzMZt7kPW_bOk4ZKDWF5JSkUnXsLZp.iLc6Vq3dIABBOU0Jh5aGhAKi0MQJQs1b_Ef0z r0lmWwCOhPWcDA1zxT.gHATH35XnTSZ3Q0gdHptZQx4UKC5e6ijSw4CXJZa8oqIf1RYW8hP6BIUr dRuRiXv4Yzb9R9Qvy3Uus5J3rd8SlfAnNBtGeZZ_wDZU7WeIzOrpUxHa9uTmFfB7lzcnagHUIyvC bXx9uwQiSJd45likL7lCAMYUZMteeuXK_t.6YJyMR8F7FVbCRZU9s78lsUgEXEIX0fvq4ldwbjyD ahRu1jt.OHoyKSoCimqc5sQJwqkMC768cfe7gUv31DDzLVT1.vRTwgkIHinmtG02hTd5sVGMDEMR hLNvUs84H0OzE38T1HO2MxGdKnZ1nSVmxaEtcEuxfpsn.C.0FIPEWRuePGnmV7_caOKfe4qtTDhK 4gvAueikQxKhQ_YSjeTkiWUDGfZue5t9FMhg2.qsK8vu3yoqqSAwIHowmFS0OMCaoDtZxHc7oTx7 TVtld2F8_5XrQKsb6.pqNA6TETkJqECWsru6czvzsmchvsEbeD9RHHg-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Wed, 9 Feb 2022 00:42:01 +0000 Received: by kubenode512.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 37e96a312f3495e3fdf35864b5e84b27; Wed, 09 Feb 2022 00:41:57 +0000 (UTC) From: Po Lu To: Eli Zaretskii Subject: Re: bug#53871: 29.0.50; Emacs freezes with new child-frame option References: <86leylvjf5.fsf@gnu.org> <87pmnxy7bu.fsf@gnu.org> <83ee4dwg2k.fsf@gnu.org> <9c60c76c-4061-907b-7206-66b6fe3a6491@gmx.at> <837da5w5l0.fsf@gnu.org> Date: Wed, 09 Feb 2022 08:41:49 +0800 In-Reply-To: <837da5w5l0.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 08 Feb 2022 20:55:55 +0200") Message-ID: <871r0c50s2.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.19724 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 603 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53871 Cc: martin rudalics , arash@gnu.org, tsdh@gnu.org, 53871@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > How come we don't see something similar in any other code that creates > child frames? Scrolling via the scroll bars is possible while some > Lisp creates child frames not necessarily in this context. Are our > frame creation so fragile that it doesn't tolerate scroll bars in > parallel with frame creation? FWIW, I don't think it's a bug in our generic frame creation code since I can't reproduce the bug on Haiku, where there is a thread for each window, and we do a similar dance with sending messages to them from the main thread and waiting for replies. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 22:34:02 2022 Received: (at 53871) by debbugs.gnu.org; 9 Feb 2022 03:34:02 +0000 Received: from localhost ([127.0.0.1]:49281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHdk2-00060V-3c for submit@debbugs.gnu.org; Tue, 08 Feb 2022 22:34:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHdk0-000600-Iy for 53871@debbugs.gnu.org; Tue, 08 Feb 2022 22:34:01 -0500 Received: from [2001:470:142:3::e] (port=47374 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHdjv-0002Rp-5H; Tue, 08 Feb 2022 22:33:55 -0500 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=czOnkAobn2HH5DN+E56dthsRdq79jORRUfbrwiOqP6g=; b=UjZj1QVhO9Td VHQQ/5oKYmtum/ap4m6K7fyHuN4ZIT23pqdYYhhbeVFLK3vOi7xcjbrSh/V6KvGIKQUTuZJF0zKhd XNjAnCp0dwJ6ZGVE9ei2fe6MItrpc9KcANoMtn17zVVLoCA1BZf+u6fIeYjXmyCeiRaBOzqTSkGFC szvKTSOLuNk8AXEXJTv3kwhVgdS70je/mOAd/CXxAyAGufH6gLTGNgCTA/HFqDxtc/ueSqiZs8oMV sD+n3Rv2RTRY6sXgKy0LZtyzIAnB00f+mr98s4UorSc7d3Jjw1UkJ1ogBWG48DJIVwR7iWBiTtdxH Ddd3NWfrJqusDj1iDda/gg==; Received: from [87.69.77.57] (port=4300 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHdju-00024r-EY; Tue, 08 Feb 2022 22:33:54 -0500 Date: Wed, 09 Feb 2022 05:33:45 +0200 Message-Id: <83zgn0vhly.fsf@gnu.org> From: Eli Zaretskii To: Po Lu In-Reply-To: <871r0c50s2.fsf@yahoo.com> (message from Po Lu on Wed, 09 Feb 2022 08:41:49 +0800) Subject: Re: bug#53871: 29.0.50; Emacs freezes with new child-frame option References: <86leylvjf5.fsf@gnu.org> <87pmnxy7bu.fsf@gnu.org> <83ee4dwg2k.fsf@gnu.org> <9c60c76c-4061-907b-7206-66b6fe3a6491@gmx.at> <837da5w5l0.fsf@gnu.org> <871r0c50s2.fsf@yahoo.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53871 Cc: rudalics@gmx.at, arash@gnu.org, tsdh@gnu.org, 53871@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Po Lu > Cc: martin rudalics , arash@gnu.org, > 53871@debbugs.gnu.org, tsdh@gnu.org > Date: Wed, 09 Feb 2022 08:41:49 +0800 > > Eli Zaretskii writes: > > > How come we don't see something similar in any other code that creates > > child frames? Scrolling via the scroll bars is possible while some > > Lisp creates child frames not necessarily in this context. Are our > > frame creation so fragile that it doesn't tolerate scroll bars in > > parallel with frame creation? > > FWIW, I don't think it's a bug in our generic frame creation code I didn't say it was. The problem is definitely specific to MS-Windows, as I tried to explain up-thread.