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:51:27 +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="34111"; 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:52: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 1tTGwH-0008j2-9X for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jan 2025 09:52:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTGvz-0001Pk-Lu; Thu, 02 Jan 2025 03:52:03 -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 1tTGvy-0001Pc-L3 for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 03:52: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 1tTGvy-0001KM-CT for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 03:52: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=TKvVkY3SrIDuJz7GuG3SFenbL11zEhNEjYSOazp0gqQ=; b=gHum3D+MMh7kSTOzAT8IycM2/ebku61SOFIyGb8TmWZKwxQfBRM547AtuEC8o6xLW7Aew/SD//yQFguOqIUpMohmC3KoyklwgTZkCHF/IREz07CHsvAb8KKd6xopbv+zI/mJ8xfpCyMfxW/eOpP4k/FStfj5K3uVYDwi3zMj4smbHwKvYQb2+4sEh/asDZCwVfMEPSIWhreFGQZmkf0+qxr8S2wGC4VcrSjhe3Nh+eVtNnl0cAgmPbGQLjIls8fewqKvSaI3T4eS2H/wjWPJuXEUS0sTjP9Xlm0InhdLj23LS6SuxYAOSGQmvLelSFyqTH48dMLE0pcEtFWmyBxQVw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTGvx-00052U-UE for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 03:52:01 -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:52:01 +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.173580789519333 (code B ref 75275); Thu, 02 Jan 2025 08:52:01 +0000 Original-Received: (at 75275) by debbugs.gnu.org; 2 Jan 2025 08:51:35 +0000 Original-Received: from localhost ([127.0.0.1]:42721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTGvX-00051l-6S for submit@debbugs.gnu.org; Thu, 02 Jan 2025 03:51:35 -0500 Original-Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]:59643) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tTGvT-00051Z-4r for 75275@debbugs.gnu.org; Thu, 02 Jan 2025 03:51:33 -0500 Original-Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5d3bbb0f09dso19175173a12.2 for <75275@debbugs.gnu.org>; Thu, 02 Jan 2025 00:51:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735807889; x=1736412689; 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=TKvVkY3SrIDuJz7GuG3SFenbL11zEhNEjYSOazp0gqQ=; b=Fwu6rkfmEqgkJv7FWHy9EG7vbXBu2Oqn/0aWjspnYfx3IYvlFAWB167c/AlOlcXU4F xyeBGdOO7HGOpi8P3+STfYHp2ZJ4t3uxp/zPH3BPJXRyUwJ3NpQMSaoJTLX+Hnt2zs80 VYiu8ibeZRMnCij3Wfh9Fk2Si9xEhfhcyIhDTbtMxt2j1I0D8cM7Nawrb1PuHJ3j7BLA qYQrRq+StsQk8O4plhz77HEdVhiby1slEFPxthfK758iQPRxdr3g0ajxx1UAGCSXj/xc 6nAQneqrkdff08Hy8wpvIKodCWSeq1O6QCUfDjfUnevcMmg/KJUYSJDWhaHd6w0N+DIF 1x9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735807889; x=1736412689; 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=TKvVkY3SrIDuJz7GuG3SFenbL11zEhNEjYSOazp0gqQ=; b=fIxy1eNiyhB08g8iHe/qw8GvLJEwAfVeKjnMwo5d2x+4K8ciM1JarwjMiUyJG+PkSD rm75fLaEuoAWl6NO6GEUfzShb3t1Az/l4SWqrQmAfIf1CvCn7DnUdWJr5RXQavJWRWE8 uVv2TVWgTQ8+ZVuGDZ8X+xhbUYySnW7djAFzWtg0WbjQ/ZyFPape3Q7sLPHLW4at7+8X s5KoBMTgILlkxZNCa+Wduj+AlJb793pUjbsGjGsTJABxhDd0AIoY84Xqxs21OFJyzjS+ Ivbm9U1kuilp9Am9y00gL/+GZJ/B75omswxrEaJeAVaJ0IwADlvYe5AHN0n4MPkmfhN4 hkRQ== X-Forwarded-Encrypted: i=1; AJvYcCU9GPSsMDdyM0V9raGlD1H1UsNxTfUZfVJ+BuV3K2tQgCakTzwVWzIYnqvbrZw/PxHrlfhRtA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxnW2cbCDJq596vaZmtNCOxewIGVsmJL7u99boagduJzXsEfdli udNkYhLYlfj59JQyBCyC4HykQ6GRiD41nkA3t3kIT/1JNO+Wo2oYzSQtLQ== X-Gm-Gg: ASbGncuistJM0HSz6IjRZbI4j0anM5BJ/+DKtlf8nq5emsZTK2YsPNyWguQvQSlP4Dg s1LXJhQWWAmHlIAak/6u5RVPeDtu96VhbC7T7Rv0u5LaAEsKqmzowN9nyMW+FROhEDhulJYdsPX 2mCt5xaIQ/tiM64Zy57z0d4ke/FPv1OqiT6rK4FZfAv0KHWfPxUpGbIRX3LQwk/3aFEWQPBf4LY K1WHaDvQ16JJRuKo50vDGgROHnGLSyZtjp3bB4tiAgFH5GJ++3eFW5uheUuxSTd4pwiKR30E3pi ixijeqJQkTihULe649wiVikIcEZPDmEvvgnWKqndNxNC4vR80COi2YkzdEVQnMp4 X-Google-Smtp-Source: AGHT+IG9yN0+KKf3gsJB/o//zBpCcqb/n8hoFem/unvR49iuAHgu4aPCcSvBZQ8S07GB55eTr7bEWw== X-Received: by 2002:a05:6402:2794:b0:5d3:d8bb:3c5c with SMTP id 4fb4d7f45d1cf-5d81ddf3bd5mr40645233a12.12.1735807889169; Thu, 02 Jan 2025 00:51:29 -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 4fb4d7f45d1cf-5d806fedbd0sm18600921a12.55.2025.01.02.00.51.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jan 2025 00:51:28 -0800 (PST) In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Thu, 02 Jan 2025 09:33:41 +0100") 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:298151 Archived-At: Gerd M=C3=B6llmann writes: > 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. Actually, consider that fast explained. I somehow hallucinated a return in that here. But I still don't know if putting an if around the NSApp run is sufficient or not. I don't understand the code, TBH.