From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#67900: 30.0.50; Emacs Crahes When Executing Command `consult-buffer' Date: Sat, 23 Dec 2023 09:35:00 +0200 Message-ID: <834jg9fk2j.fsf@gnu.org> References: <838r5qib7l.fsf@gnu.org> <83plz1ggua.fsf@gnu.org> <8334vwgezh.fsf@gnu.org> <83msu2fzvc.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12646"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67900@debbugs.gnu.org, acorallo@gnu.org To: Chang Xiaoduan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 23 08:36:18 2023 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 1rGwYU-00033n-JH for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Dec 2023 08:36:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rGwYB-0007Sd-GB; Sat, 23 Dec 2023 02:35:59 -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 1rGwYA-0007SF-DC for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2023 02:35:58 -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 1rGwY9-0002Yh-TO for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2023 02:35:58 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rGwYD-0003wm-TV for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2023 02:36:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Dec 2023 07:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67900 X-GNU-PR-Package: emacs Original-Received: via spool by 67900-submit@debbugs.gnu.org id=B67900.170331692815107 (code B ref 67900); Sat, 23 Dec 2023 07:36:01 +0000 Original-Received: (at 67900) by debbugs.gnu.org; 23 Dec 2023 07:35:28 +0000 Original-Received: from localhost ([127.0.0.1]:48444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGwXf-0003va-Sw for submit@debbugs.gnu.org; Sat, 23 Dec 2023 02:35:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGwXd-0003vJ-Ip for 67900@debbugs.gnu.org; Sat, 23 Dec 2023 02:35:26 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGwXO-0001As-Oj; Sat, 23 Dec 2023 02:35:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=sErrAsopotu0Fa61ZtdeiOAyfLXjB5rqchARoza/in0=; b=HoPDVQheaE88 mU9Hadf1QXl89PdIOKoUMv5InrZnqWJ4elQANRIRNhzEIjHu9psyTyLt99mTDRtOfvra9JG6qLHpE 1xkcC2rWnVyiH1I8gYsCrCWZByH1qKafcMO1DqwWEbeCunGChMTzv2Mp6Rhc/OIm/y+M4eMWK125F rBONF4O+8JreT996lRYk3i/X0XdTWRu+ZahmF/MF2bEB58zbkGPc4UDvVcCzfHy6TiwFP9Qw9lA4o HhX3ynTU4rR7BKPD5mvBF3V/vyP6C5bomYkM0UwwCX3wg2Kxxpgs2BWdhDHNBso7R6NbMCN5qzWNx pfmpZCyqxYipKvf7TfD3pw==; In-Reply-To: (message from Chang Xiaoduan on Sat, 23 Dec 2023 10:30:14 +0800) 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:276705 Archived-At: > From: Chang Xiaoduan > Cc: acorallo@gnu.org, 67900@debbugs.gnu.org > Date: Sat, 23 Dec 2023 10:30:14 +0800 > > I have added a file-local prop-line to each of bytecomp.el, mule.el and > startup.el, which sets the `native-comp-speed` to 1. Then I rebuilt > Emacs and test with a cosnult.el with `native-comp-speed` as 2. Is this > the correct setup to test? The result: Emacs still crashes when > executing `consult-buffer`. > > Further more, I have another test with `native-comp-speed` in comp.el > set to 1. That is, the default optimizaiton level for all > native-compiled lisp code is 1. Then, I add a file-local prop-line in > consult.el and set the `native-comp-speed` to 2. The result: Emacs still > crashes when executing `consult-buffer`. > > I guess this is enough to confirm that the miscompiled code is in > consult.el. I think so, yes. Andrea, do you agree? > What should I do next? If Andrea agrees, I hope he will be able to propose a way of narrowing this down, tailored specifically to the code in consult.el.