From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#75275: 30.0.92; `make-thread` bug on macOS 15.2 Date: Thu, 02 Jan 2025 09:33:41 +0100 Message-ID: References: <86bjwplmc1.fsf@gnu.org> <865xmxlivo.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9934"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 75275@debbugs.gnu.org, alan@idiocy.org, stefankangas@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 02 09:34:21 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 1tTGeq-0002TG-P3 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jan 2025 09:34:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTGeb-0005xx-05; Thu, 02 Jan 2025 03:34: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 1tTGeY-0005xo-IK for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 03:34:02 -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 1tTGeY-0006ha-9G for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 03:34:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=k3gYnLAYHfku+iAZRkLaUuLH9EEmp8m0YmhKvVNo3+o=; b=r1Lf+1pfkWMpr2Dmt6l3oWBj1TPPa3J1KlREJZu/EZKKqM0x0nfLa/2fpAo2j1C4NTQUAKBs3Dhmsh4o99ayYvonWB8pS+qW/HTl7St58HRF2T2Nw7EQ0MNAYcuq73dl0sXU+6mLYw7MqqygNxaHumc5lzPBjr/v03jrSTPCr73W/pD/4rugoCXPnMHTNLMo/ZtOFvYCobTuHGgIDeChnEnVMbcd1eWWX8ixnfG/f7W0EI5l0Ddd2hr96XjsxL9n7+ulE/FRzVLQ8obPVSUorYawv9Qm87RD08FXYowhqRyhIanBWBqJPXFli0VGfX0ND1CxIOlDtCEUylZq3sVSog==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTGeY-0004F5-3k for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 03:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jan 2025 08:34: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.173580683516294 (code B ref 75275); Thu, 02 Jan 2025 08:34:02 +0000 Original-Received: (at 75275) by debbugs.gnu.org; 2 Jan 2025 08:33:55 +0000 Original-Received: from localhost ([127.0.0.1]:42684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTGeR-0004Ek-7F for submit@debbugs.gnu.org; Thu, 02 Jan 2025 03:33:55 -0500 Original-Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]:43211) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tTGeM-0004ER-0c for 75275@debbugs.gnu.org; Thu, 02 Jan 2025 03:33:53 -0500 Original-Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-aa679ad4265so2188612366b.0 for <75275@debbugs.gnu.org>; Thu, 02 Jan 2025 00:33:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735806823; x=1736411623; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=k3gYnLAYHfku+iAZRkLaUuLH9EEmp8m0YmhKvVNo3+o=; b=DT6vwe/juQr79MfrwT/MgXj0oo/9egtaUyXzeM39rMowQW8Bsv4mjaiaLAY558vjsn tJicTexgmf1+WvPQIk8QJDiuhN4UEgBmZRFArwx+04en6kwFXRSFKhsY3gGuD+b8n1Z6 E+3Zg4l2qTf2wWC68sDqZWM53+hzUHyMBpgkTbdYgcD7OZPaycarKFnv4YwMczVdyC5J KYOP0B653OY5LM9KqIde6xDiX//lbB2KhIvNEwr5LgRg//5oqML9a2ANtWwBzd/w5xkm 7JtYdJ432II/j1Yh7zSxi1DAaDCQl7svCUyllqnAj+mzGOXrfWc0JiWnWeKyQYV9Uqo7 6rwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735806823; x=1736411623; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=k3gYnLAYHfku+iAZRkLaUuLH9EEmp8m0YmhKvVNo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002:a17:907:2d93:b0:aa6:7c8e:808c with SMTP id a640c23a62f3a-aac3367569dmr4523485766b.17.1735806823420; Thu, 02 Jan 2025 00:33:43 -0800 (PST) Original-Received: from pro2 (p200300e0b7290d009d701914d6a76d9d.dip0.t-ipconnect.de. [2003:e0:b729:d00:9d70:1914:d6a7:6d9d]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0efe41a6sm1781133966b.102.2025.01.02.00.33.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jan 2025 00:33:43 -0800 (PST) In-Reply-To: <865xmxlivo.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 02 Jan 2025 10:28:27 +0200") 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:298146 Archived-At: Eli Zaretskii writes: >> From: Gerd M=C3=B6llmann >> Cc: Stefan Kangas , Alan Third , >> 75275@debbugs.gnu.org >> Date: Thu, 02 Jan 2025 08:30:25 +0100 >>=20 >> Eli Zaretskii writes: >>=20 >> > From the backtrace of the new Lisp thread, it looks like it finished >> > sleeping for 1 sec and then it proceeds to calling [NSApp run] >>=20 >> I think that's the problem, see my other reply to Stefan. > > So should we add a condition before calling [NSApp run] that we are in > the main thread? ATM, I don't understand how we land in that line in ns_select_1 if not [NSThread isMainThread]. Maybe I need new glasses. I asked Stefan if he can see something in LLDB.