From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Chang Xiaoduan Newsgroups: gmane.emacs.bugs Subject: bug#67900: 30.0.50; Emacs Crahes When Executing Command `consult-buffer' Date: Sat, 23 Dec 2023 10:30:14 +0800 Message-ID: References: <838r5qib7l.fsf@gnu.org> <83plz1ggua.fsf@gnu.org> <8334vwgezh.fsf@gnu.org> <83msu2fzvc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11571"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 67900@debbugs.gnu.org, acorallo@gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 23 03:31:21 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 1rGrnN-0002tF-76 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Dec 2023 03:31:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rGrn2-00079k-K1; Fri, 22 Dec 2023 21:31:00 -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 1rGrn0-00079R-06 for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2023 21:30: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 1rGrmz-0000bZ-OX for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2023 21:30:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rGrn4-0001iE-E0 for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2023 21:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Chang Xiaoduan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Dec 2023 02:31:02 +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.17032986404137 (code B ref 67900); Sat, 23 Dec 2023 02:31:02 +0000 Original-Received: (at 67900) by debbugs.gnu.org; 23 Dec 2023 02:30:40 +0000 Original-Received: from localhost ([127.0.0.1]:48127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGrmh-00012q-BH for submit@debbugs.gnu.org; Fri, 22 Dec 2023 21:30:40 -0500 Original-Received: from mail115-80.sinamail.sina.com.cn ([218.30.115.80]:36408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGrma-0000fj-Nk for 67900@debbugs.gnu.org; Fri, 22 Dec 2023 21:30:37 -0500 X-SMAIL-HELO: PWRD-20210716KV Original-Received: from unknown (HELO PWRD-20210716KV)([111.207.225.84]) by sina.com (10.75.12.45) with ESMTP id 6586463500003889; Sat, 23 Dec 2023 10:30:21 +0800 (CST) X-Sender: drcxd@sina.com X-Auth-ID: drcxd@sina.com Authentication-Results: sina.com; spf=none smtp.mailfrom=drcxd@sina.com; dkim=none header.i=none; dmarc=none action=none header.from=drcxd@sina.com X-SMAIL-MID: 87857331457761 X-SMAIL-UIID: 5C982603FF554F1A90CF0B2FC7A41D41-20231223-103021-1 In-Reply-To: <83msu2fzvc.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 22 Dec 2023 09:41:27 +0200") 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:276696 Archived-At: Eli Zaretskii writes: > So please build Emacs with those 3 packages (bytecomp.el, mule.el, > startup.el) natively-compiled with native-comp-speed = 1, then > native-compile consult.el with native-comp-speed = 2, and see if you > still see the crashes. If yes, then consult.el is probably the one > that triggers the bug. If compiling those 3 other packages with > native-comp-speed = 1 eliminates the crashes, then we need to look for > the one of those 3 which triggers the crash, and continue narrowing > this down from there. 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. What should I do next? Thanks