From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#75275: 30.0.92; `make-thread` bug on macOS 15.2 Date: Thu, 2 Jan 2025 14:17:00 +0000 Message-ID: References: <865xmxlivo.fsf@gnu.org> <86y0ztk323.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18158"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , 75275@debbugs.gnu.org, Eli Zaretskii , stefankangas@gmail.com To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 02 15:18:20 2025 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 1tTM1k-0004a2-13 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jan 2025 15:18:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTM1V-0005k4-Ik; Thu, 02 Jan 2025 09:18:05 -0500 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 1tTM1T-0005ju-4C for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 09:18:03 -0500 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 1tTM1S-0006Zm-MU for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 09:18:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:MIME-Version:References:From:Date:To:Subject; bh=UxGeQIbp7bvBPrOhPoIKW94cAsJjZnxIkadDZxRUN+w=; b=dWPS5ZwfdlkbtP7/r5ut609StW+x6oiG19s0fC5nFdM+5g6n7JtX68FzcQCp6BDfW3wnxAZL8NxykHrjvQT+mchrvHtlqo6afRfACnDJQxwE6xhKNz5C5oiECUCvL0si3/Twyln+Hsz08PCIZkg248+RE/F0Gv7oOQx4RmKaOCjWWQRQQ3UO9nmBOh2aIU9HpVmK5cKdx3XY+RloMuLJO9Gt3em/9oBp3s0vYhskp1uImqO98SxnqmXKfyksPJONE80bOFbUUCiGyKprOdcBKUWBKkZRB/LVZBQw7B6cMC+Wb6lD7i0B59fUeEURZgz1rElwqBQ54youKOqe6Tt/gA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTM1S-0002Wo-7r for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 09:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jan 2025 14:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75275 X-GNU-PR-Package: emacs Original-Received: via spool by 75275-submit@debbugs.gnu.org id=B75275.17358274309617 (code B ref 75275); Thu, 02 Jan 2025 14:18:02 +0000 Original-Received: (at 75275) by debbugs.gnu.org; 2 Jan 2025 14:17:10 +0000 Original-Received: from localhost ([127.0.0.1]:43280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTM0c-0002V2-3X for submit@debbugs.gnu.org; Thu, 02 Jan 2025 09:17:10 -0500 Original-Received: from dane.soverin.net ([2a10:de80:1:4091:b9e9:2218:0:1]:40509) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tTM0a-0002Uh-QD for 75275@debbugs.gnu.org; Thu, 02 Jan 2025 09:17:09 -0500 Original-Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4YP80Y5MBWzyfJ; Thu, 2 Jan 2025 14:17:01 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4YP80Y1plczF1; Thu, 2 Jan 2025 14:17:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1735827421; bh=8uK53Bz3Q8B0L0zslDazL1BBW+0+OKPtDOH1SWyi3dM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HpMbdeWjY/lW5hnWUrHtsnf/yFwVcahonfBCwuDQO2lpdjSZKCcF/WciVVkd1O/nO y7+uNyUQvNIgY0iZKhTZkUfNu88E0fEAGxJQqHKdNqqbrFhoSdK7yKqSi4p85UDU9c cjGMlsu8uJAevB2Sc+wFihzhBMb+1T81dE7OlDm40z/s0NG6q6J6VjFTiiDqEIkAZP br4leQ9q2xLfXqMA0i/WRWYerTy748qgexSo99twVtqaTG2exfLmRZICQSAUNrnkOq zgYfLshIfMtbZ/gjKACEb8kncJKAxWvluwamEZUWdrhO7Y/NXud8zFzX4gRF0J/vx/ fcC3ACP01ZB7A== X-CM-Analysis: v=2.4 cv=WMmFXmsR c=1 sm=1 tr=0 ts=67769fdd a=UbsBXRcqaZ6D9kgPt/Dvnw==:617 a=xqWC_Br6kY4A:10 a=8nJEP1OIZ-IA:10 a=VdSt8ZQiCzkA:10 a=gGsWDzhJd7dwKvQW5dgA:9 a=3ZKOabzyN94A:10 a=wPNLvfGTeEIA:10 a=9MSFP0l5Dcwi9NrB_JPx:22 X-CM-Envelope: MS4xfEOmvYc8sSszAOKmyPPJZLZjQiyP/k2ffWTPoJ7TBNf27Oinh5fS9wcwI5rhoSlyMUSqbcjGj6araUNjPToR8ZjYEsW6COHD1zMX+516N63llvND+hS8 aeP5+D/OvyzhkCnufF/x+YpU/PT07tSLGMEXTUEG/vwgl7L6ZYXBdTGn6KutLhfX72z7zDnJG9FhyK2ppph2TyJCaGvTBl8VITG7cj9Qw5BLO/qisKR3c7Ou feOZb55ZN83qpQb2YRvb90gzMGIPIVof9dAflKN7Kg1RTvT5Pf+6uss6FVbjUd5ldd1fSXRyjx43U+yTJWWov2s+7EaR3H0fGjYvxjU/Z+E= Original-Received: from localhost (faroe.holly.idiocy.org [local]) by faroe.holly.idiocy.org (OpenSMTPD) with ESMTPA id b6d58467; Thu, 2 Jan 2025 14:17:00 +0000 (UTC) Mail-Followup-To: Alan Third , Gerd =?UTF-8?Q?M=C3=B6llmann?= , Eli Zaretskii , stefankangas@gmail.com, 75275@debbugs.gnu.org, Po Lu Content-Disposition: inline In-Reply-To: X-Spampanel-Class: ham 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:298171 Archived-At: On Thu, Jan 02, 2025 at 03:03:54PM +0100, Gerd Möllmann wrote: > >> One strange thing about threads having their own event queue is that the > >> message Stefan sees comes from the NSApplicaiton::run in ns_select_1. Be > >> that at it may. > > > > Indeed, ns_select_1 is being run in a sub-thread and it therefore runs > > a thread-specific run queue which has no events in it. It requires an > > event to be sent to it so it will stop but none ever is because we > > only ever send events to the main thread's event queue. > > What I meant was the the NSApplication::run in ns_select_1 in Stefan's > case seems to call something complaining about being called in the wrong > thread. I guess it would also complain if there were an event in the > queue. I don't know. Oh yeah, that's a good point. The queue in NSApp will be the main queue rather than the thread's queue. > This whole code gets on my nerves :-). Tell me about it. -- Alan Third