From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Tveito Newsgroups: gmane.emacs.bugs Subject: bug#57957: 29.0.50; Native compilation hangs on cyclic lists Date: Tue, 20 Sep 2022 07:55:48 +0000 Message-ID: <53a58362fbe449bc81eaf45ab66dd28d@ifi.uio.no> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7484"; mail-complaints-to="usenet@ciao.gmane.io" To: 57957@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 20 20:02:16 2022 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 1oahZX-0001me-0l for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Sep 2022 20:02:15 +0200 Original-Received: from localhost ([::1]:51214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oahZT-0007Nv-7L for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Sep 2022 14:02:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaeEJ-0005uq-TW for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 10:28:09 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60083) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oaeEE-0005xi-RR for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 10:28:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oaeEE-0001yJ-Im for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 10:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Tveito Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Sep 2022 14:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57957 X-GNU-PR-Package: emacs X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.16636840387516 (code B ref -1); Tue, 20 Sep 2022 14:28:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Sep 2022 14:27:18 +0000 Original-Received: from localhost ([127.0.0.1]:59159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaeDV-0001x9-Th for submit@debbugs.gnu.org; Tue, 20 Sep 2022 10:27:18 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:39148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaY6r-0000p7-AQ for submit@debbugs.gnu.org; Tue, 20 Sep 2022 03:56:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaY6q-0002Im-Kj for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 03:56:01 -0400 Original-Received: from mail-out01.uio.no ([2001:700:100:10::50]:59775) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaY6o-0003Mj-4B for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 03:56:00 -0400 Original-Received: from mail-mx11.uio.no ([129.240.10.83]) by mail-out01.uio.no with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1oaY6f-00HUBL-FB for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 09:55:49 +0200 Original-Received: from mail-ex34.exprod.uio.no ([129.240.52.57]) by mail-mx11.uio.no with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) (envelope-from ) id 1oaY6e-0005B5-SZ for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 09:55:49 +0200 Original-Received: from mail-ex31.exprod.uio.no (2001:700:100:52::51) by mail-ex34.exprod.uio.no (2001:700:100:52::57) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.12; Tue, 20 Sep 2022 09:55:48 +0200 Original-Received: from mail-ex31.exprod.uio.no ([fe80::3dcb:90ad:2acb:f338]) by mail-ex31.exprod.uio.no ([fe80::3dcb:90ad:2acb:f338%7]) with mapi id 15.02.1118.012; Tue, 20 Sep 2022 09:55:48 +0200 Thread-Topic: 29.0.50; Native compilation hangs on cyclic lists Thread-Index: AQHYzMV6U3mCgU+RZU6MS25NemWoog== Accept-Language: en-GB, en-US Content-Language: en-GB x-originating-ip: [129.240.113.222] X-UiO-SPF-Received: Received-SPF: neutral (mail-mx11.uio.no: 129.240.52.57 is neither permitted nor denied by domain of ifi.uio.no) client-ip=129.240.52.57; envelope-from=larstvei@ifi.uio.no; helo=mail-ex34.exprod.uio.no; X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0, autolearn=disabled, UIO_MAIL_IS_INTERNAL=-5) X-UiO-Scanned: 81115BB5E4F552F939818ED26920FDA04DFE66B2 X-UiOonly: 464F38DCCD0387DF932DF170533A5C1DF972301A Received-SPF: pass client-ip=2001:700:100:10::50; envelope-from=larstvei@ifi.uio.no; helo=mail-out01.uio.no X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 20 Sep 2022 10:27:16 -0400 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" Xref: news.gmane.io gmane.emacs.bugs:243200 Archived-At: Evaluating the two following forms results in Emacs hanging: (defun test-cycle () '#1=3D(a . #1#)) (native-compile 'test-cycle) The bug has been reproduced on a system running Debian as well. - Lars =20 In GNU Emacs 29.0.50 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6 (Build 21G115)) Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.6 Configured using: 'configure --prefix=3D/nix/store/wf6wjsvvs3q7k0vf3xlfzi3ik8v3601n-emacs-29.0.50 --disable-build-details --with-modules --with-ns --disable-ns-self-contained --with-native-compilation' Configured features: ACL GLIB GMP GNUTLS JPEG JSON LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS ZLIB Important settings: value of $EMACSLOADPATH: /nix/store/87hrwgmnic6hhjl6p7ch30ik90dpw324-emac= s-packages-deps/share/emacs/site-lisp: value of $EMACSNATIVELOADPATH: /nix/store/87hrwgmnic6hhjl6p7ch30ik90dpw32= 4-emacs-packages-deps/share/emacs/native-lisp:: value of $LC_CTYPE: UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /nix/store/87hrwgmnic6hhjl6p7ch30ik90dpw324-emacs-packages-deps/share/emacs= /site-lisp/elpa/let-alist-1.0.6/let-alist hides /nix/store/wf6wjsvvs3q7k0vf= 3xlfzi3ik8v3601n-emacs-29.0.50/share/emacs/29.0.50/lisp/emacs-lisp/let-alis= t /nix/store/87hrwgmnic6hhjl6p7ch30ik90dpw324-emacs-packages-deps/share/emacs= /site-lisp/elpa/nadvice-0.3/nadvice hides /nix/store/wf6wjsvvs3q7k0vf3xlfzi= 3ik8v3601n-emacs-29.0.50/share/emacs/29.0.50/lisp/emacs-lisp/nadvice Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cconv cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads kqueue cocoa ns multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 78425 6959) (symbols 48 7029 0) (strings 32 19124 2018) (string-bytes 1 599871) (vectors 16 16700) (vector-slots 8 325741 9902) (floats 8 27 31) (intervals 56 320 0) (buffers 1000 12))=