X-Loop: help-debbugs@HIDDEN
Subject: bug#79782: 31.0.50; M-x emacs-lisp-native-compile does not complete
Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 07 Nov 2025 12:39:01 +0000
Resent-Message-ID: <handler.79782.B.176251913421980 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 79782
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 79782 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.176251913421980
(code B ref -1); Fri, 07 Nov 2025 12:39:01 +0000
Received: (at submit) by debbugs.gnu.org; 7 Nov 2025 12:38:54 +0000
Received: from localhost ([127.0.0.1]:45689 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vHLjx-0005iS-I7
for submit <at> debbugs.gnu.org; Fri, 07 Nov 2025 07:38:53 -0500
Received: from lists.gnu.org ([2001:470:142::17]:42022)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vHLju-0005iI-KU
for submit <at> debbugs.gnu.org; Fri, 07 Nov 2025 07:38:50 -0500
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 <gerd.moellmann@HIDDEN>)
id 1vHLjo-0005z4-V1
for bug-gnu-emacs@HIDDEN; Fri, 07 Nov 2025 07:38:45 -0500
Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vHLjn-0001Vt-1K
for bug-gnu-emacs@HIDDEN; Fri, 07 Nov 2025 07:38:44 -0500
Received: by mail-ed1-x52f.google.com with SMTP id
4fb4d7f45d1cf-641458f71ffso924531a12.3
for <bug-gnu-emacs@HIDDEN>; Fri, 07 Nov 2025 04:38:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1762519120; x=1763123920; darn=gnu.org;
h=mime-version:message-id:date:subject:to:from:from:to:cc:subject
:date:message-id:reply-to;
bh=P82rTeVMEyfl11KjJt8IoHIy82g7kdMGPhMOvPIDy4U=;
b=bPWzRhfsb0KmqFNZ1guiwbn8nfDpOCo1EDz67aXfDbTKB/2EuLRIgut92t7QFFS5aA
LPDXycEigsjGiiDYSAcMR/BcXe2IJHdYe2i8I1/P3LzY3fVh0rIolWFFlbfjUSNS+Mfo
L5ZX7ujzcl9ddDCAQhSkf38sN/lKPUUFWWNoCCeWs7su8s2z56bhhFDi6avVw3CpUSq9
w4/tp/N7D4l+IF0ch0XWRPi4W7TrHHv8Lk5s3y6k7khCSgfx2vUdB38ZTgKHCripR9Kd
XXig6vHqRedfqlW4HdDrExxLdlrFucx+jiOeCmIeCnz2m+oQoHvLtAggS7N19ZPdcqCQ
F5FA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1762519120; x=1763123920;
h=mime-version:message-id:date:subject:to:from:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=P82rTeVMEyfl11KjJt8IoHIy82g7kdMGPhMOvPIDy4U=;
b=RP0FgSRzwrvj/7AMlNsRsh53E9LNWX9FNbc1UbNc+tt7ylblUNFy6ffdSvZ5d6wfKG
T+eXPK8oEw59wtUQeDvG5MLVFCLNTaGOCv339k7haZRjlUVrxBGcF52V0HH3RhChYOxd
0FhPxX0PgNSj4ATGjxZJmQDkUtTPLYuLdEEcLSeOSHZDTfxftns0oXW1aR92NfCIiBcC
HiZLNxKead95ZYMUwlU0IppYQx4/Zq2TuCvWMMBUr8DcxMgtR1049oNFWaR7T/0/QNwG
r2a5f0edYKDWk8My082KTAycizwbv0RJ1Ex8Uoc8lwDWy898KvbCi4g5PWaBvgCAikQn
T2qQ==
X-Gm-Message-State: AOJu0YxnUn7BI3jou7etK+TXW+Z5Y4BOOTWK/asYTOnxMcgGkEAnjV+e
3N0VI1gqhPC8YMfKAX8W66l+2V+QyhyHdVK60G+3JwxUrQNakxH5blv/fT4E4goo
X-Gm-Gg: ASbGncvHXcNNEuYAIUdh683iorUXskFruJepPqwU5OhO4jxOIKHRooizJ8En/IprQ3u
DiLO7+uj+gvVQCFPsgpjHnJnjtJTnWEP9+C3aB5mduo987oTtHTUz9BfU8nLsXma3NQMuILZ5bI
p7YHFjEFNcuX+fwms9iQJr8+QxOK0I3KEEqFVHOmyKlSm36XWjbY3EyBz9bRjTkJr6Xw1AYh1I8
pSz03IpNIN1QFxU/o1MSqLhvqzlkZ8CMaQLpoK8YiRwZYWboGpmUzpgDHfGbYvkGH1dYf7iPpzD
vpCynNZK4aYMyxIY0v/+zyRq+Z3c3DryLJu1dIRzlmWFnxA5tQBnnzDfG+4KSn3iUwtN65ZMvgy
GsjYuO93M8IoVkLXGgnKvWuCET5CNmVq10ysyJwLNdcRXmat2WYJF7Seyy10hX4B+1dQCJVulmo
m70P5ZwHxQwnKZhiJwCAmOIP07EvGMYFMDzAtcEviSyPr49E+swPz3TXU/USzxyyTTHnYKfNNXR
emzDQWrgF5t41mX3m2cmg8H38fU19fKSQ==
X-Google-Smtp-Source: AGHT+IEtqVDFw1rYPd+ca6U3XpdptQtU51uFbA05svBtmVxwNX46Zbq7OJWau88MhAx5BcCWkZmRVA==
X-Received: by 2002:a17:906:794c:b0:b70:50f0:e6ae with SMTP id
a640c23a62f3a-b72c0e3a44fmr285785366b.46.1762519120466;
Fri, 07 Nov 2025 04:38:40 -0800 (PST)
Received: from pro4 (p200300e0b7103700b9dd3d7a9e7f9444.dip0.t-ipconnect.de.
[2003:e0:b710:3700:b9dd:3d7a:9e7f:9444])
by smtp.gmail.com with ESMTPSA id
a640c23a62f3a-b72bf97d461sm252902966b.47.2025.11.07.04.38.37
for <bug-gnu-emacs@HIDDEN>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 07 Nov 2025 04:38:39 -0800 (PST)
From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Date: Fri, 07 Nov 2025 13:38:36 +0100
Message-ID: <m2a50ynhkj.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2a00:1450:4864:20::52f;
envelope-from=gerd.moellmann@HIDDEN; helo=mail-ed1-x52f.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)
To reproduce, in an Emacs build with native compilation
- emacs -Q
- C-x C-f <repo>/lisp/emacs-lisp/comp.el RET
- M-x emacs-lisp-native-compile RET
The command does not complete. If one evaluates the buffer first, then
M-x toggle-debug-on-quit, and C-g, one can see that it is stuck
somewhere in the native compiler.
In GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin25.1.0, NS
appkit-2685.20 Version 26.1 (Build 25B78)) of 2025-11-07 built on pro4
Repository revision: be527b570465dad453f5aebba3c552f14ec98e2b
Repository branch: master
System Description: macOS 26.1
Configured using:
'configure --with-native-compilation --with-ns CC=clang
'CFLAGS=-Wgnu-imaginary-constant -Wunused-result -g
-Wno-ignored-attributes -Wno-flag-enum -Wno-missing-method-return-type
-Wno-variadic-macros -Wno-strict-prototypes -Wno-availability
-Wno-nullability-completeness -g -O2' --cache-file
/var/folders/1d/k_6t25f94sl83szqbf8gpkrh0000gn/T//config.cache.master'
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Subject: bug#79782: Acknowledgement (31.0.50; M-x emacs-lisp-native-compile does not complete) Message-ID: <handler.79782.B.176251913421980.ack <at> debbugs.gnu.org> References: <m2a50ynhkj.fsf@HIDDEN> X-Gnu-PR-Message: ack 79782 X-Gnu-PR-Package: emacs Reply-To: 79782 <at> debbugs.gnu.org Date: Fri, 07 Nov 2025 12:39:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 79782 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 79782: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D79782 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#79782: 31.0.50; M-x emacs-lisp-native-compile does not complete
Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 07 Nov 2025 15:43:02 +0000
Resent-Message-ID: <handler.79782.B79782.176253014418870 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79782
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 79782 <at> debbugs.gnu.org
Received: via spool by 79782-submit <at> debbugs.gnu.org id=B79782.176253014418870
(code B ref 79782); Fri, 07 Nov 2025 15:43:02 +0000
Received: (at 79782) by debbugs.gnu.org; 7 Nov 2025 15:42:24 +0000
Received: from localhost ([127.0.0.1]:46428 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vHObX-0004uI-Nw
for submit <at> debbugs.gnu.org; Fri, 07 Nov 2025 10:42:24 -0500
Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:43389)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vHObS-0004tp-Bg
for 79782 <at> debbugs.gnu.org; Fri, 07 Nov 2025 10:42:21 -0500
Received: by mail-wm1-x32c.google.com with SMTP id
5b1f17b1804b1-470ffbf2150so4315105e9.1
for <79782 <at> debbugs.gnu.org>; Fri, 07 Nov 2025 07:42:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1762530132; x=1763134932; darn=debbugs.gnu.org;
h=content-transfer-encoding:mime-version:user-agent:message-id:date
:references:in-reply-to:subject:to:from:from:to:cc:subject:date
:message-id:reply-to;
bh=d8GtGiOwjUbuLMlNwUUFeWxY4Fq/wD8gGgJLYM+pHfU=;
b=SSIboSfgKxxWsV+UIN6tFezOyp+UyEWakspWLqPQw3JkUAIdr0Frs1OHSi1u0f6SQg
5/pPCt7luuWxK1Tw9aG4FmLzC/KfkXooyt5M8uFPp3BdD3M6fBFAbdkE5TJ1PMWPIOpm
n5pvE0jyOnkd2TaMiGFhMensMMPY20LL0ysdjESDtvnNDw7KbjP84mHLUy15a7mxirV2
uQW7mwNh8c6y4UQbkZh+2omH9J/W5bg4QFZOWAC1V7GAFI6ng0ei/S2TJ0+Kvb/0M0qp
PBEtMiaKa34PVHBUHv7hQGfLUpJ08wuAPpJ2FtMLGh87Rk/MTNQ7lp/NS8UL/BXuz6JX
QmWQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1762530132; x=1763134932;
h=content-transfer-encoding:mime-version:user-agent:message-id:date
:references:in-reply-to:subject:to:from:x-gm-gg:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=d8GtGiOwjUbuLMlNwUUFeWxY4Fq/wD8gGgJLYM+pHfU=;
b=V4n4nfxijvuCU4lwL9XZrgK1HWKma4AEa0VuYO67HKb2it9RwkqIuIw0sbiLO0lbgu
fT0VRVsW7qTKLNc/nYbvK+XbfbL1cUs2Iyfehwq3l1fyarlfkSwFZFjsCIauLdWjTWbD
RX8athLBbkH/CgFw9oF097GGziNOQ6UAlZdFifGKF95hwhCw4jKt5IOV6YR1HtDrZ1VQ
junU716IWllJG2nPL+bnA0ELbJVMyt0hCt9rDsA91yu2WFbBPbLyjkbgBogOclQnX5tM
Fxce6zlqjfSDc0plGi4oMFidq4oR57vWvw9NO3jg7JEPrTnNDAiXOdKjTwf30bPZKSAs
icoQ==
X-Gm-Message-State: AOJu0YxWImn+z5wdetWmyt9x26rbnVL80xNSWf5Rn+AEUtgTgIixHhtM
VBQZTjO5ATifiaDp251cxu6+5/xX8qgEN5LwtV1kYh1uKh+VTiavpNkkFqGsSWWi
X-Gm-Gg: ASbGncsqANavDtEFOvIc5Aa2negeXHgOi8riATtgnkZ4fJ98Wt0M2PqNUrvyKRh0Bwt
hOXERvircbnPp3VaUe4ayjVAK/M1XyXxIIl6IfXOJgoPWOjJeELtBh69vZrc5QXMqi/Dwrksb4a
JF8xJbeCBsLqLmd4wPNh86ZU8FylwBIU5CsF6Jlu+jPlHzpAjnaBoeVKtEl/uVIhVP/8uwRlM40
FH79pZtDc0VfWuLAd5JHxplJPD1sXKtsGcLBS4BWMKKcyxZ69nkY1aUZBG6WBIAEspRHTpmdE/b
syj75KI6dBo1DjcwI7uGFkamPyfXlNm4++2ZaeN4bO55cl7ZTp807zY5D6W4eZ9pqNy6A/911K4
5LQp3i6vSNJtp5PKZB1lFwaPOwxZ9H4VX+FOM1qtK997hXOkiBxqTz9mNtgvJ2TMpUalTYUoJWG
99FzqGup2+EnNlF24EDc/cPZsbPEG34mv7PRil2mnLvmH77qfBIEWduLGVJ6TZ3f0hK2Q3ywuBw
v/3dld8Fyhwm+OpQSDg/o4=
X-Google-Smtp-Source: AGHT+IHmYYY5JCRP5edLfehWTmoKtyzkOOMb2f2e8QQ5/T0pnjPArC4KhO4evSi41HzZ+gYMW4mC9A==
X-Received: by 2002:a05:600c:450a:b0:475:d9de:952e with SMTP id
5b1f17b1804b1-4776dc11f92mr20592455e9.1.1762530131774;
Fri, 07 Nov 2025 07:42:11 -0800 (PST)
Received: from pro4 (p200300e0b7103700b9dd3d7a9e7f9444.dip0.t-ipconnect.de.
[2003:e0:b710:3700:b9dd:3d7a:9e7f:9444])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-4776bcdd8e3sm52384975e9.10.2025.11.07.07.42.11
for <79782 <at> debbugs.gnu.org>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 07 Nov 2025 07:42:11 -0800 (PST)
From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
In-Reply-To: <m2a50ynhkj.fsf@HIDDEN>
References: <m2a50ynhkj.fsf@HIDDEN>
Date: Fri, 07 Nov 2025 16:42:10 +0100
Message-ID: <m2wm41onn1.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes:
> To reproduce, in an Emacs build with native compilation
>
> - emacs -Q
> - C-x C-f <repo>/lisp/emacs-lisp/comp.el RET
> - M-x emacs-lisp-native-compile RET
>
> The command does not complete. If one evaluates the buffer first, then
> M-x toggle-debug-on-quit, and C-g, one can see that it is stuck
> somewhere in the native compiler.
>
> In GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin25.1.0, NS
> appkit-2685.20 Version 26.1 (Build 25B78)) of 2025-11-07 built on pro4
> Repository revision: be527b570465dad453f5aebba3c552f14ec98e2b
> Repository branch: master
> System Description: macOS 26.1
>
> Configured using:
> 'configure --with-native-compilation --with-ns CC=3Dclang
> 'CFLAGS=3D-Wgnu-imaginary-constant -Wunused-result -g
> -Wno-ignored-attributes -Wno-flag-enum -Wno-missing-method-return-type
> -Wno-variadic-macros -Wno-strict-prototypes -Wno-availability
> -Wno-nullability-completeness -g -O2' --cache-file
> /var/folders/1d/k_6t25f94sl83szqbf8gpkrh0000gn/T//config.cache.master'
I went 3 years back for bisecting, but could not find a working good
commit, sorry.
X-Loop: help-debbugs@HIDDEN
Subject: bug#79782: 31.0.50; M-x emacs-lisp-native-compile does not complete
Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 07 Nov 2025 15:54:01 +0000
Resent-Message-ID: <handler.79782.B79782.176253079720396 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79782
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 79782 <at> debbugs.gnu.org
Received: via spool by 79782-submit <at> debbugs.gnu.org id=B79782.176253079720396
(code B ref 79782); Fri, 07 Nov 2025 15:54:01 +0000
Received: (at 79782) by debbugs.gnu.org; 7 Nov 2025 15:53:17 +0000
Received: from localhost ([127.0.0.1]:46514 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vHOm4-0005It-IT
for submit <at> debbugs.gnu.org; Fri, 07 Nov 2025 10:53:17 -0500
Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:57424)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vHOm1-0005Ik-Gl
for 79782 <at> debbugs.gnu.org; Fri, 07 Nov 2025 10:53:14 -0500
Received: by mail-wm1-x32f.google.com with SMTP id
5b1f17b1804b1-47754e9cc7fso6179975e9.2
for <79782 <at> debbugs.gnu.org>; Fri, 07 Nov 2025 07:53:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1762530787; x=1763135587; darn=debbugs.gnu.org;
h=content-transfer-encoding:mime-version:user-agent:message-id:date
:references:in-reply-to:subject:to:from:from:to:cc:subject:date
:message-id:reply-to;
bh=w1TUtNJCFGLMvqMWIqMbhy1rT2b4ZsbxkivnK4bEqXQ=;
b=D8pJJSC2KLIkh3Kb5k2IIPHQqUdcFzCn0ZbuI1yhuObYIOUwTYh0NFA/O4/QeZRHbp
9hDmEnjtKu0EJDZzk/oNu4jkNvVe0uIYFOfutrtOa/HJ+M1TuKjp/tr9oSowx4dl/rnV
bch0RiJj5KL5K5sKYKS3OnqzJXnCLrpPpkM7xh6JbABwl7KK2N9fH5DpgxjoR3PA/QOG
9xoOIaGcZaBYGcI1+mmKuclb7d4O319NB6uEYiTtBgoo98/LqlueVRjOr+635UCLn/UH
ukPicBV0EQSla0VoBX/W52KvTNEZHzQJMUqcirXIrLzadSuwSY90fjkAeBg5KA8ggNhv
AdTg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1762530787; x=1763135587;
h=content-transfer-encoding:mime-version:user-agent:message-id:date
:references:in-reply-to:subject:to:from:x-gm-gg:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=w1TUtNJCFGLMvqMWIqMbhy1rT2b4ZsbxkivnK4bEqXQ=;
b=i5rSAj7akKkxsbmsE9NCacW63DP3qCyR4CKZGj+xfVgmEDNzCLg94SwKyT5z+kQ1Hd
nLlZTwaLvZiTBjWj4HJTAyTak9lptG6i/ro5rZ9jZWQUIhWT+Hj/l5x4IDf2dvZub7PY
XMjzeKLZTxO8rgUSuQkXFWkEW6xC1H4sE4nR/0LAe8YcTmPpShVuuyoaOOIucTbI2Ob3
hYkoRGFm2t/uDHNKY4Xvy7n0abxYfZI2s3iBbAgKm02xLvYE8P++wjzRWwihsdDs6GqC
xDd9b9dGh45bm/H40PqqdjixOcWIJ0tZ8rqPs8OaGsC7OTlsuLj1lDQfwiFqvyJqAdft
79gg==
X-Gm-Message-State: AOJu0Yz5joCrjmoGiXmFapLVKnWlq5ShUiwRwPvo5gjLjSedjm15StVr
Z+YYHEu1dT8SPdImUH/IodE0V7s4Wg99R2xI9oLcCTJA6Y250yXy6Hzmki9UxEe+
X-Gm-Gg: ASbGncs+XYrvT1qN3wxBZJ/uTiJS4cZK+PMYI0OuDPtvOkMo1DbfU4zigcrW4hll/VX
bbJT2S/MA/KnCxanGr1iTWd3eoRvJakZGUqXzJnXg4Oi4k6nv18On5AL3xCE2oq1QZs5n6ollia
jbr9S3AKbHRqXK1rNsL91P81yaKPUfZvvSOT+toTpx13YzLxotDu0Y85BshaDQLQwZ84Giusad4
z1gUa+UqLAmsmSPowDba5q4UxWA/FiMyOxwUzKS9RhKvjTzbYZeE32To2C17SY5wa82Op7NAWOz
MkkUfIntmAbUJU5exki+m342XbKKbkYVv+BlTWB+QDteoJs25h1SLYaRwDmpwuOM/Bry0g0dVRX
v/+PI/4I9R8lY8h53hKRcWTFtBXFC+rN5n34kl0cTArEtXiIB9tL73dMONMwf3kHzyRu35jhP7m
6zUnarRMSwlPJZNxmJOwk9JHO6RWnOxk4MkCVvfDSgGwIRoi2LsWg3Se32a74jOU6Xu9Ws6cWnf
QcgZ33klti05N7rlyfrW+o=
X-Google-Smtp-Source: AGHT+IGlFslsTwI0oXpLgtdN6/aidDZIYhaOFjG6zv0TWszdKvsaBcmgAVpph/ChLtzXt44l7lj9UA==
X-Received: by 2002:a05:600c:3b92:b0:475:dd04:1289 with SMTP id
5b1f17b1804b1-4776bcbac9fmr34139535e9.20.1762530786711;
Fri, 07 Nov 2025 07:53:06 -0800 (PST)
Received: from pro4 (p200300e0b7103700b9dd3d7a9e7f9444.dip0.t-ipconnect.de.
[2003:e0:b710:3700:b9dd:3d7a:9e7f:9444])
by smtp.gmail.com with ESMTPSA id
ffacd0b85a97d-42b29e4b9bdsm1694063f8f.32.2025.11.07.07.53.06
for <79782 <at> debbugs.gnu.org>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 07 Nov 2025 07:53:06 -0800 (PST)
From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
In-Reply-To: <m2wm41onn1.fsf@HIDDEN>
References: <m2a50ynhkj.fsf@HIDDEN> <m2wm41onn1.fsf@HIDDEN>
Date: Fri, 07 Nov 2025 16:53:02 +0100
Message-ID: <m2tsz5on4x.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes:
> Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes:
>
>> To reproduce, in an Emacs build with native compilation
>>
>> - emacs -Q
>> - C-x C-f <repo>/lisp/emacs-lisp/comp.el RET
>> - M-x emacs-lisp-native-compile RET
>>
>> The command does not complete. If one evaluates the buffer first, then
>> M-x toggle-debug-on-quit, and C-g, one can see that it is stuck
>> somewhere in the native compiler.
>>
>> In GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin25.1.0, NS
>> appkit-2685.20 Version 26.1 (Build 25B78)) of 2025-11-07 built on pro4
>> Repository revision: be527b570465dad453f5aebba3c552f14ec98e2b
>> Repository branch: master
>> System Description: macOS 26.1
>>
>> Configured using:
>> 'configure --with-native-compilation --with-ns CC=3Dclang
>> 'CFLAGS=3D-Wgnu-imaginary-constant -Wunused-result -g
>> -Wno-ignored-attributes -Wno-flag-enum -Wno-missing-method-return-type
>> -Wno-variadic-macros -Wno-strict-prototypes -Wno-availability
>> -Wno-nullability-completeness -g -O2' --cache-file
>> /var/folders/1d/k_6t25f94sl83szqbf8gpkrh0000gn/T//config.cache.master'
>
> I went 3 years back for bisecting, but could not find a working good
> commit, sorry.
Many samples taken with macOS' Activity Monitor like this:
Call graph:
867 Thread_4055222 DispatchQueue_1: com.apple.main-thread (serial)
867 start (in dyld) + 7184 [0x19e161d54]
867 main (in emacs) + 8008 [0x104db18c0] emacs.c:2629
867 Frecursive_edit (in emacs) + 368 [0x104db2a70] keyboard.c:=
832
867 recursive_edit_1 (in emacs) + 164 [0x104db2718] keyboard=
.c:749
867 command_loop (in emacs) + 268 [0x104db28c8] keyboard.c=
:1141
867 internal_catch (in emacs) + 256 [0x104e3a788] eval.c=
:1370
867 command_loop_2 (in emacs) + 52 [0x104db30b0] keybo=
ard.c:1163
867 internal_condition_case (in emacs) + 260 [0x104e3=
b1c8] eval.c:1690
867 command_loop_1 (in emacs) + 828 [0x104db3400] =
keyboard.c:1424
867 read_key_sequence (in emacs) + 1380 [0x104db4=
de0] keyboard.c:11146
867 read_char (in emacs) + 6340 [0x104db81a8] =
keyboard.c:3020
867 wait_reading_process_output (in emacs) + 4=
200 [0x104e9a200] process.c:5810
867 thread_select (in emacs) + 84 [0x104ebd=
624] thread.c:659
867 really_call_select (in emacs) + 88 [0=
x104ebd6b0] thread.c:624
867 pselect$DARWIN_EXTSN (in libsystem_k=
ernel.dylib) + 64 [0x19e4ecf94]
867 __pselect (in libsystem_kernel.dyl=
ib) + 8 [0x19e4ed0bc]
X-Loop: help-debbugs@HIDDEN
Subject: bug#79782: 31.0.50; M-x emacs-lisp-native-compile does not complete
Resent-From: Pip Cet <pipcet@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 07 Nov 2025 17:39:01 +0000
Resent-Message-ID: <handler.79782.B79782.176253710826283 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79782
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Cc: 79782 <at> debbugs.gnu.org
Received: via spool by 79782-submit <at> debbugs.gnu.org id=B79782.176253710826283
(code B ref 79782); Fri, 07 Nov 2025 17:39:01 +0000
Received: (at 79782) by debbugs.gnu.org; 7 Nov 2025 17:38:28 +0000
Received: from localhost ([127.0.0.1]:47271 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vHQPr-0006pr-Gh
for submit <at> debbugs.gnu.org; Fri, 07 Nov 2025 12:38:27 -0500
Received: from mail-4322.protonmail.ch ([185.70.43.22]:56639)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <pipcet@HIDDEN>)
id 1vHQPp-0006pS-2w
for 79782 <at> debbugs.gnu.org; Fri, 07 Nov 2025 12:38:26 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
s=protonmail3; t=1762537097; x=1762796297;
bh=44f7vrm9vPG8a/IBVroiO47HZJZXJGgdIrX8dKx7OSI=;
h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References:
Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID:
Message-ID:BIMI-Selector;
b=PdkhaYHIl0Gx2J/YpRq5bOVaHKON3NYe4X+CCqgvV22iL86NORRzlLIPsp8kMy/iP
dDXtkoZ69dTZi5/9yMZQw4lqALFpc8NTYeHvj3scxgKQXtZgYd9FYgdVejGbaTcTVr
bECVDq+M3ZSHta3Ug5cbVps6ruVNqYXUFCRUUkeazVmFyExh6OMIXqfl6qxX3fCSy8
2N9WSoN9hFn2p4afPNjAQ4Ml13wgnAoqLV/WybY302Q4Cd4ypw1ydizxxafUm7aORX
74gD/emrnEu9rcNIM/EMijK1E9t6d6MaiMv7zwEYden8liI24u9DJh6eti4aAFwI8c
b7gu8BdlQE91A==
Date: Fri, 07 Nov 2025 17:38:14 +0000
From: Pip Cet <pipcet@HIDDEN>
Message-ID: <87ikfl216m.fsf@HIDDEN>
In-Reply-To: <m2tsz5on4x.fsf@HIDDEN>
References: <m2a50ynhkj.fsf@HIDDEN> <m2wm41onn1.fsf@HIDDEN>
<m2tsz5on4x.fsf@HIDDEN>
Feedback-ID: 112775352:user:proton
X-Pm-Message-ID: 5d9bcbe4ffaa39de5c28024d6c5a6647173acc81
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes:
> Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes:
>
>> Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes:
>>
>>> To reproduce, in an Emacs build with native compilation
>>>
>>> - emacs -Q
>>> - C-x C-f <repo>/lisp/emacs-lisp/comp.el RET
>>> - M-x emacs-lisp-native-compile RET
>>>
>>> The command does not complete. If one evaluates the buffer first, then
>>> M-x toggle-debug-on-quit, and C-g, one can see that it is stuck
>>> somewhere in the native compiler.
>>>
>>> In GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin25.1.0, NS
>>> appkit-2685.20 Version 26.1 (Build 25B78)) of 2025-11-07 built on pro4
>>> Repository revision: be527b570465dad453f5aebba3c552f14ec98e2b
>>> Repository branch: master
>>> System Description: macOS 26.1
>>>
>>> Configured using:
>>> 'configure --with-native-compilation --with-ns CC=3Dclang
>>> 'CFLAGS=3D-Wgnu-imaginary-constant -Wunused-result -g
>>> -Wno-ignored-attributes -Wno-flag-enum -Wno-missing-method-return-type
>>> -Wno-variadic-macros -Wno-strict-prototypes -Wno-availability
>>> -Wno-nullability-completeness -g -O2' --cache-file
>>> /var/folders/1d/k_6t25f94sl83szqbf8gpkrh0000gn/T//config.cache.master'
>>
>> I went 3 years back for bisecting, but could not find a working good
>> commit, sorry.
>
> Many samples taken with macOS' Activity Monitor like this:
>
> Call graph:
> 867 Thread_4055222 DispatchQueue_1: com.apple.main-thread (serial)
> 867 start (in dyld) + 7184 [0x19e161d54]
> 867 main (in emacs) + 8008 [0x104db18c0] emacs.c:2629
> 867 Frecursive_edit (in emacs) + 368 [0x104db2a70] keyboard.=
c:832
> 867 recursive_edit_1 (in emacs) + 164 [0x104db2718] keyboa=
rd.c:749
> 867 command_loop (in emacs) + 268 [0x104db28c8] keyboard=
.c:1141
> 867 internal_catch (in emacs) + 256 [0x104e3a788] eval=
.c:1370
> 867 command_loop_2 (in emacs) + 52 [0x104db30b0] key=
board.c:1163
> 867 internal_condition_case (in emacs) + 260 [0x104=
e3b1c8] eval.c:1690
> 867 command_loop_1 (in emacs) + 828 [0x104db3400]=
keyboard.c:1424
> 867 read_key_sequence (in emacs) + 1380 [0x104d=
b4de0] keyboard.c:11146
> 867 read_char (in emacs) + 6340 [0x104db81a8]=
keyboard.c:3020
> 867 wait_reading_process_output (in emacs) +=
4200 [0x104e9a200] process.c:5810
> 867 thread_select (in emacs) + 84 [0x104e=
bd624] thread.c:659
> 867 really_call_select (in emacs) + 88 =
[0x104ebd6b0] thread.c:624
> 867 pselect$DARWIN_EXTSN (in libsystem=
_kernel.dylib) + 64 [0x19e4ecf94]
> 867 __pselect (in libsystem_kernel.d=
ylib) + 8 [0x19e4ed0bc]
That's the main process; the idea is that there will be a child process
which does the actual compilation.
How long did you wait? Over here, after some phenomenally deep recursion
in Flread__substitute_object_in_subtree, the compilation appears to make
(very, very slow) progress.
The problem is we're reading a very large very circular object and the
reader isn't really prepared for that. It's about 13 MB and involves
about 100000 #N# substitutions.
Please give this at least an hour so we know whether it's just very slow
or actually doesn't work at all.
Pip
X-Loop: help-debbugs@HIDDEN
Subject: bug#79782: 31.0.50; M-x emacs-lisp-native-compile does not complete
Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 07 Nov 2025 18:10:02 +0000
Resent-Message-ID: <handler.79782.B79782.176253895630313 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79782
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Pip Cet <pipcet@HIDDEN>
Cc: 79782 <at> debbugs.gnu.org
Received: via spool by 79782-submit <at> debbugs.gnu.org id=B79782.176253895630313
(code B ref 79782); Fri, 07 Nov 2025 18:10:02 +0000
Received: (at 79782) by debbugs.gnu.org; 7 Nov 2025 18:09:16 +0000
Received: from localhost ([127.0.0.1]:47430 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vHQtf-0007sr-HC
for submit <at> debbugs.gnu.org; Fri, 07 Nov 2025 13:09:16 -0500
Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:58635)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>)
id 1vHQtd-0007sj-4f
for 79782 <at> debbugs.gnu.org; Fri, 07 Nov 2025 13:09:14 -0500
Received: by mail-wm1-x32b.google.com with SMTP id
5b1f17b1804b1-4775638d819so6157765e9.1
for <79782 <at> debbugs.gnu.org>; Fri, 07 Nov 2025 10:09:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1762538946; x=1763143746; 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=bJhhyHhMYUXK/9lKFatqLkoJyUpghh9x9T1BRj1sD2w=;
b=E2XaOOQk3Jg3XBeulrKFP3bmJb10iJVHqJGfvoEV5i/0val7Rdg++6DEkXzPk+G1u0
vJarAcYm2hU+kxRvU4gwyRWNTAhz4HsHYrMDLcAYcNgHKTgsBSMdNLMtChFS0ektRWy6
HPJtKnSIbpZAGVjfPZnXk9OQA6OPGmJll1poNt4b7NgxMkanNHVEv6N5ZiQqbXbYzDjG
eTfWaFPPfHWTVEcaykorE0OQquAM/nortclVc1Xd52tGzLRMqMofgqs5aI6ch+Z62a09
CcphvAbaHfkL2vosFb4tegKcbq4uchr42tLKmbUB9/LWC5ZRrgjHAQ3GiJjj/VBtmwcP
CEZg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1762538946; x=1763143746;
h=content-transfer-encoding:mime-version:user-agent:message-id:date
:references:in-reply-to:subject:cc:to:from:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=bJhhyHhMYUXK/9lKFatqLkoJyUpghh9x9T1BRj1sD2w=;
b=Sp9D4myILht5ijMXowxsXa937bVnHlDSegveyNa3mvh4W5ZewN2o9C6T72y2jF3lCI
X4plOx2Tl2F6zGH4tPFzauc1T0oyrpufe4x8ofA93cQ90sofwPkykEDzbgRe64hNB4LY
82fO1QZkSNMAFjPiicm0cofqQsXuB6q1a/YEgIvflUnuPSum2pogkQ5xpM0juJx4rXmX
Z26b/CMGOAHVOzaRVZMyNoP8hpFbVPG/NLJpSnIjcy7Fky+6iuLjPH9tf8fVbi6Af6hT
dsMkN9VhJwWCjPcBe4qYJILS75j7Z6kUI/Ybs3AcuYVF8WBu5PBg0Sac5vcM9iprI4Ys
/CoA==
X-Gm-Message-State: AOJu0YzICerBFSim2CNQeXHBB6PhMYQYWsjDgqZQj+aKuHfoghX0lDZy
GsrFRX+CGYOR3pZ8l8xwjDnjrbU2ZURzMdZLjgn+R8bOA4FbdHujtjpgucZvMeeF
X-Gm-Gg: ASbGncv2Vz9oMLAMRfi9cLBjJkvUDklpulun+OGhnKm9fAl2anmzgeGZ9cj5UpBSmt2
UD9qo6KZfkkjq2KuPTus8Y6No6wzLYtrJgnAhAUS6zfrwEbioaHG8LO4kzjgOSpcmGQjpvFfEpV
LubwQUFnYVS2ZWDfY+5uoeucrP4jY6oYkSY8yDj1AuEQlS2wEy6WCBwHlYoB3HKcSLlQzB8Omhc
9ejiN3WNOaDolUnqrMVzsevxLfBONc3vrxLU1EqiMMApk8PdxKhtCn+rskKEzGPGJcKAhQKWoZf
9LA8HUJPBRBa2nWENP0tEFv//UY3B6VAplE21NmiFD7UMIEK7cqwBOH5927hvPDHMtvClPY92Y+
hZzaX+6WJv0mmjacZx1IlrATfROCrmiqg6xlljOZTO/hs2SglDtZfu1UCAbJwo3AZvwloWHN4Qg
dHkAjGARo6pqcfZvCtyHxZ7aD5g6lYNJXWi2EKdtvbla4yUcFuyZ9g1HfYJduMY9XcssnM/4dp+
AXIBI4jmZsT
X-Google-Smtp-Source: AGHT+IFkw4Mu3PJKsGAph0avdy2QovlVlhVsVSWcR0FY4tE7bKhHHg2ZjcwX0TjvtFQyQwyv6u+vjg==
X-Received: by 2002:a05:600c:4695:b0:477:54cd:202f with SMTP id
5b1f17b1804b1-4776bc86533mr33371745e9.3.1762538946346;
Fri, 07 Nov 2025 10:09:06 -0800 (PST)
Received: from pro4 (p200300e0b7103700b9dd3d7a9e7f9444.dip0.t-ipconnect.de.
[2003:e0:b710:3700:b9dd:3d7a:9e7f:9444])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-47761c2fe2asm121678455e9.5.2025.11.07.10.09.05
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 07 Nov 2025 10:09:05 -0800 (PST)
From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>
In-Reply-To: <87ikfl216m.fsf@HIDDEN>
References: <m2a50ynhkj.fsf@HIDDEN> <m2wm41onn1.fsf@HIDDEN>
<m2tsz5on4x.fsf@HIDDEN> <87ikfl216m.fsf@HIDDEN>
Date: Fri, 07 Nov 2025 19:09:04 +0100
Message-ID: <m2ms4xogu7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Pip Cet <pipcet@HIDDEN> writes:
> Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes:
>
>> Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes:
>>
>>> Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes:
>>>
>>>> To reproduce, in an Emacs build with native compilation
>>>>
>>>> - emacs -Q
>>>> - C-x C-f <repo>/lisp/emacs-lisp/comp.el RET
>>>> - M-x emacs-lisp-native-compile RET
>>>>
>>>> The command does not complete. If one evaluates the buffer first, then
>>>> M-x toggle-debug-on-quit, and C-g, one can see that it is stuck
>>>> somewhere in the native compiler.
>>>>
>>>> In GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin25.1.0, NS
>>>> appkit-2685.20 Version 26.1 (Build 25B78)) of 2025-11-07 built on pro4
>>>> Repository revision: be527b570465dad453f5aebba3c552f14ec98e2b
>>>> Repository branch: master
>>>> System Description: macOS 26.1
>>>>
>>>> Configured using:
>>>> 'configure --with-native-compilation --with-ns CC=3Dclang
>>>> 'CFLAGS=3D-Wgnu-imaginary-constant -Wunused-result -g
>>>> -Wno-ignored-attributes -Wno-flag-enum -Wno-missing-method-return-type
>>>> -Wno-variadic-macros -Wno-strict-prototypes -Wno-availability
>>>> -Wno-nullability-completeness -g -O2' --cache-file
>>>> /var/folders/1d/k_6t25f94sl83szqbf8gpkrh0000gn/T//config.cache.master'
>>>
>>> I went 3 years back for bisecting, but could not find a working good
>>> commit, sorry.
>>
>> Many samples taken with macOS' Activity Monitor like this:
>>
>> Call graph:
>> 867 Thread_4055222 DispatchQueue_1: com.apple.main-thread (serial)
>> 867 start (in dyld) + 7184 [0x19e161d54]
>> 867 main (in emacs) + 8008 [0x104db18c0] emacs.c:2629
>> 867 Frecursive_edit (in emacs) + 368 [0x104db2a70] keyboard=
.c:832
>> 867 recursive_edit_1 (in emacs) + 164 [0x104db2718] keybo=
ard.c:749
>> 867 command_loop (in emacs) + 268 [0x104db28c8] keyboar=
d.c:1141
>> 867 internal_catch (in emacs) + 256 [0x104e3a788] eva=
l.c:1370
>> 867 command_loop_2 (in emacs) + 52 [0x104db30b0] ke=
yboard.c:1163
>> 867 internal_condition_case (in emacs) + 260 [0x10=
4e3b1c8] eval.c:1690
>> 867 command_loop_1 (in emacs) + 828 [0x104db3400=
] keyboard.c:1424
>> 867 read_key_sequence (in emacs) + 1380 [0x104=
db4de0] keyboard.c:11146
>> 867 read_char (in emacs) + 6340 [0x104db81a8=
] keyboard.c:3020
>> 867 wait_reading_process_output (in emacs) =
+ 4200 [0x104e9a200] process.c:5810
>> 867 thread_select (in emacs) + 84 [0x104=
ebd624] thread.c:659
>> 867 really_call_select (in emacs) + 88 =
[0x104ebd6b0] thread.c:624
>> 867 pselect$DARWIN_EXTSN (in libsyste=
m_kernel.dylib) + 64 [0x19e4ecf94]
>> 867 __pselect (in libsystem_kernel.=
dylib) + 8 [0x19e4ed0bc]
>
> That's the main process; the idea is that there will be a child process
> which does the actual compilation.
>
> How long did you wait? Over here, after some phenomenally deep recursion
> in Flread__substitute_object_in_subtree, the compilation appears to make
> (very, very slow) progress.
>
How weird. I hadn't seen a second process pop up in Activity Monitor.
Now repeating that and waiting for say 10 minutes and the parent process
is responsive again.
> The problem is we're reading a very large very circular object and the
> reader isn't really prepared for that. It's about 13 MB and involves
> about 100000 #N# substitutions.
Is it something the compilation process outputs? What the heck. I would
never have expected anything like that. Not even that it does the
compilation in another process.
Anyway. Thanks, and I guess I should close this then.
Received: (at control) by debbugs.gnu.org; 7 Nov 2025 18:10:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 07 13:10:43 2025 Received: from localhost ([127.0.0.1]:47443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1vHQv5-00080I-Aq for submit <at> debbugs.gnu.org; Fri, 07 Nov 2025 13:10:43 -0500 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]:54289) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1vHQv3-000806-63 for control <at> debbugs.gnu.org; Fri, 07 Nov 2025 13:10:41 -0500 Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-b72cbc24637so177912666b.0 for <control <at> debbugs.gnu.org>; Fri, 07 Nov 2025 10:10:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1762539035; x=1763143835; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:subject:from:to:message-id :date:from:to:cc:subject:date:message-id:reply-to; bh=xRLAbWuy3xDCz+bE6AzCqIxZCoabhNv0E9+crtUvoW8=; b=dRSQFCzbcw3HZtcP7+4R0ZdRsnd/L0fe+a6wmcltgFjxmIo/zS4D08CuId5BwAWBaO 65U8aBUYuVAfOgWMUFNQNpZliAcmrLapNGpz8Xw4uqbEOEnongJI6iBL7GXfcASM1Jbs a/Of6dvHhQicoE4vh7zkSLb4uMiIDSBX6D/KikzGqBWDKWUYFkI9lzZguW2WU94Dbhiw IHFgpsrpg3qVADgZb55ZOtKjAD4gq3hHP1u4cvqeZXEyhZpU18b7qdh3T3DVnYBi4XdJ ExjrN+PXBEcpt6wPCJ01vkqZbeWBgJsdrgGU54qpmf+tc5oCmVqOZnYk6frCUDiuE3vU nQfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762539035; x=1763143835; h=content-transfer-encoding:mime-version:subject:from:to:message-id :date:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xRLAbWuy3xDCz+bE6AzCqIxZCoabhNv0E9+crtUvoW8=; b=LDTLbc8QMMI3EfoaWcdFPDHKHvFfwfeahLVsNYlOoj3Dv5uhRahUPTPIs4L4bRJMGk q6lf6F3rdQsxfBmSqVyQQr49WKjqvkxmtCXeigReRjwcPR5nata88iTMLIEOiXBzAKu2 a041sNm7SwYkDcVe/by4SzlJsoXFDrcn6ASKXre6oWzOvX4ZykSp6o5xWJyu5OIX4N/j exdhNhqMfHFdA/EWL3pqyOfNm3tAlNF1v6EtiMEZGYlewJrFit2WEGjRYz/cbvWC+rSv YYX8rIB0tsqTHYMGElVa28xzwcj8a9WKlBHPtZ0bQ0dYEEV+d8ERrvKZ23a78rSfd+N/ NS7A== X-Gm-Message-State: AOJu0YwepGz7i0lKf1FvOcz8DxftSj5SLMrAOZkoevZwTKFqZCP5fijn GYsSACFfSC6mNZstzHtVhqmyJ+39eeNrs3MFt47g6hW0N7uWOtgE6YUMq168tfLO X-Gm-Gg: ASbGncuHsccZt8hdKiHW+DMmM3WAwD93DOClyv7U1VR2KK0CthO0tUAQ56hqsHWI3n4 bmfw9waVUeB7Dtx939Bu3DJBzhbjRQ5qXqSv6W2SDvvzQO45eFJMVhqfwSFsg4VoU3KuDJvWjtD 9tprsB2wzGqvqxCZlx0KlDxhhqP1QpH8sJJ5K4SoeYmOklkaaz9Wi6GMcOfM4x3qeVz//xZvs7D trUggEEZB1z1GDrXlWq3Rg6pBOzAnrAbfEWpb/dZJriQ+rj+GiJBJ8plQaVQfs1GWAbraS2Mf/G I/tgNGAT0umBHNTDqhfXssrEjjqzRbMZj5z3KKL+FA9jGL19dZIzzc7WT/KvbpP6nQUfXTSBqHa BIIHnRbYJcCX6TNPZn79YslfSOC0Andjp+3ZMOetQRSPAKB7e42ygMeqkxKiXzAvYxmjvhLAa4Q DMXbuVTbQs31C24NyOgGR/mqZU6iDnwZtdr8GMUD3x2gYlGzmRpkLfF2egyG2o6rpBCaHnDNe7q Rn7obf8FpQz X-Google-Smtp-Source: AGHT+IGvyMzTcK4CBgv+n4I/gIaBH7QUlT7ji5DQ/CAmM6n0Dsgdh8JBbdcyyewYo0fYTovv+Ht3xA== X-Received: by 2002:a17:906:730e:b0:b70:b7f8:868f with SMTP id a640c23a62f3a-b72e036bbebmr21894466b.27.1762539034525; Fri, 07 Nov 2025 10:10:34 -0800 (PST) Received: from pro4 (p200300e0b7103700b9dd3d7a9e7f9444.dip0.t-ipconnect.de. [2003:e0:b710:3700:b9dd:3d7a:9e7f:9444]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b72dbe7c783sm67661466b.50.2025.11.07.10.10.33 for <control <at> debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Nov 2025 10:10:34 -0800 (PST) Date: Fri, 07 Nov 2025 19:10:30 +0100 Message-Id: <m2ldkhogrt.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Subject: control message for bug #79782 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) close 79782 31.1 quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.