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 06:46:19 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35666"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 75275@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 02 06:47:26 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 1tTE3K-0009AV-D6 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jan 2025 06:47:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTE2z-0007Z8-G7; Thu, 02 Jan 2025 00:47: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 1tTE2x-0007Yj-Iu for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 00:47: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 1tTE2x-0002YY-9V for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 00:47:03 -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=vtqKTDkyNs1Nx1S9ZYFETK+NkJes0d/I2KIVQLLKhlM=; b=UI1e/NPIAUfnKJ8+j3AAmnaRSDSN3GPsZx/+8jmzGgeLy3Pyki/YPoihWuZ+uk5WSQFt4m/CV7FGxuglQixKgeAJwKcfQBoxHtpDUTjvIRXV2weiSNF+rWib2fTgIpcdNNqeRJv9iJepCMP+vlvQSuP9jX1xfMUHkaLVhf2SC1KJKJXkx5yHVDm/K4v9oGxPHZe/mQta8y6+MTyKDPn8PgwfONmTyykBV/2GvJMbR/FUgQw3mFQM2eMDHXgAZIFPEGJouEd74HkmDZUb6GRdvKNZjHNEbMdNAwbCtna7bUFpU48p9PR6P5Pth4ZBEbThEsKXoopzY0lB3OSLQ42XAQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTE2v-0004rM-Vf for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 00:47: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 05:47: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.173579679318641 (code B ref 75275); Thu, 02 Jan 2025 05:47:01 +0000 Original-Received: (at 75275) by debbugs.gnu.org; 2 Jan 2025 05:46:33 +0000 Original-Received: from localhost ([127.0.0.1]:42308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTE2S-0004qb-FL for submit@debbugs.gnu.org; Thu, 02 Jan 2025 00:46:32 -0500 Original-Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:58749) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tTE2P-0004q8-P9 for 75275@debbugs.gnu.org; Thu, 02 Jan 2025 00:46:31 -0500 Original-Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-5cecbddb574so19141244a12.1 for <75275@debbugs.gnu.org>; Wed, 01 Jan 2025 21:46:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735796783; x=1736401583; darn=debbugs.gnu.org; h=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=vtqKTDkyNs1Nx1S9ZYFETK+NkJes0d/I2KIVQLLKhlM=; b=SFikE4S3quNRjlhxS1dats3wg0tlzmBE7AI1Sa8kMcV9KyYOn6A8smcHw9w0vs5Dr7 pZ0kISVgbF5SJzBiVUVlOoyszH8UimEIarv4486raRxdwq3n8FPcCRaUci8ZF5kDn52l deJEeNydD4ygYJj6Dw5CaF+Ee1Lm/52t2idsQkgv+g4MfQAcf6Hgp/TnbmI2vMsifsVb YNZuSeP0pctHMFXroN3LLDefZTww1vnZdZmV4nEu8Yz4I3fRtTyOgiMTU80edVgcxOJh L/yiAgeSNTlMOwM+4xo1LHsfoIiYIFGwHiyOKszv67RivnhFZ6ontPM5o31OyZdFlTkE EvWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735796783; x=1736401583; h=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=vtqKTDkyNs1Nx1S9ZYFETK+NkJes0d/I2KIVQLLKhlM=; b=PEp0DjfSBcqrYvnuzthBEDFcy9vDrpfcKBEl/4GzLoY4Oyz3eGkTrQnIqWlB7yc9EV yBBLlcqa+EFQjhxhG3b1XrlsknZKtrh2ZGiDS5VlTcuGHdRhetiXDFzhjiBs0oXvk571 0mJ1mcuBlnJlD/BGmiZlO+C6FIxM0hzduyJ7ZjymnO0+K589D3fCAHsCd7B3DSU6SWX/ WD1611+KtP6rOzv7PrHsTGa7pjfTxxyJBeld43lKKlJAE2RCdqLp7/qr2nm/ioDEDkWN n96FKvQcminTB1GkOxBhGelwN0jLabiwEI9IVQTmamrX0tcv91v5YOJrdcZoysDPsMvF 9mPQ== X-Gm-Message-State: AOJu0YzyZ5wwjU97PUqYjYLD0mx6S94PIvLD6wYMwyA1MATMAzVnPPAO my3XWdsByYOyiFGhqkpit+EBDVGA2LlUDehrfyuQFMaelPjxAuj3bLd5Tg== X-Gm-Gg: ASbGnct9+TNtgLSyJ8sEDd142j+XzIz0RqInQYXmjJnG3rP++ORHbJ0tnMG1tuCpJkV igcECeP5CXKkLMFpr7ghXHT45i+vTHQSbccCKG6eCk2njHTW0RWTJPH/CsQenwcZf5haJ19vGLo 25knZueqQrGXGnk11vxoRIlDNhZe0tamSJHIxyJE/2k3xgL9+zxc/u5ceOUZ2/fOhQHEvbk5AE6 MVkYRdKkwsoOKWwNziQ1q9CCn/IBpXAlK515mYhA9y3qEV/7QLVXR0m7aPsV3LSL31KnTPWfj3r zwIeF8OmqOBxbtJWGthCZ9LYoqGrRVEjDwGW5N3ClaLFvgAHyTaSKDEII8p+T5ZE X-Google-Smtp-Source: AGHT+IHZLhcLAnf/mfrPSsn6H6v88/VqACa7PjdpzmZZXURg8b04fsYhVzTftF1HOb5S1YkEe4rutA== X-Received: by 2002:a05:6402:350b:b0:5d3:bb6f:2675 with SMTP id 4fb4d7f45d1cf-5d81de5e2e8mr42923515a12.34.1735796782598; Wed, 01 Jan 2025 21:46:22 -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-5d806fedbbasm18478883a12.71.2025.01.01.21.46.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jan 2025 21:46:21 -0800 (PST) In-Reply-To: (Stefan Kangas's message of "Wed, 1 Jan 2025 22:57:38 -0600") 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:298119 Archived-At: Stefan Kangas writes: > I have run into a bug with make-thread on macOS 15.2, running on an M2. > > I can reproduce the issue consistently both on emacs-30 and master by > evaluating this in emacs -Q: > > (make-thread (lambda () (sleep-for 1)) "bug") > > This leads to Emacs freezing up completely within a fraction of a > second. I have time to move point once or maybe twice before it gets > non-responsive, let's say within a few tenths of a second. Curious question: Do you see a beach ball? > When I kill the process in the lldb window with Ctrl+C, I can get the > following (this is on emacs-30): > > frame #12: 0x0000000100403fec emacs`-[EmacsApp > run](self=0x0000000156610fe0, _cmd="run") at nsterm.m:5938:7 > frame #13: 0x00000001004024b0 emacs`ns_select_1(nfds=0, > readfds=0x00000001708c26bc, writefds=0x00000001708c263c, > exceptfds=0x0000000000000000, timeout=0x00000001708c2610, > sigmask=0x0000000000000000, run_loop_only=NO) at nsterm.m:4954:3 > frame #14: 0x000000010040202c emacs`ns_select(nfds=0, > readfds=0x00000001708c26bc, writefds=0x00000001708c263c, > exceptfds=0x0000000000000000, timeout=0x00000001708c2610, > sigmask=0x0000000000000000) at nsterm.m:5006:10 I'm asking because of bug#72496. The part of the backtrace above reminds me a bit of what I trued to describe in that bug: EmacsApp.run never returning to ns_select_1. Can you see if it ever returns?