[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#67900: 30.0.50; Emacs Crahes When Executing Command `consult-buffer'
From: |
Andrea Corallo |
Subject: |
bug#67900: 30.0.50; Emacs Crahes When Executing Command `consult-buffer' |
Date: |
Tue, 26 Dec 2023 03:32:11 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Chang Xiaoduan <drcxd@sina.com>
>> 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`.
Yes if consult.el was recompiled in this setup.
>> 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?
Yes I think so.
>> 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.
I think the next step is to narrow down the miss-compiled function. For
that we can tweak speed on function basis like:
(defun foo (x y)
(declare (speed 1))
(+ x y))
As usual I'd start probing the suspect function `consult-buffer` and if
we find is not the coolprint I'd probably bisect all the functions in
the compilation unit.
Thanks
Andrea
- bug#67900: 30.0.50; Emacs Crahes When Executing Command `consult-buffer', (continued)
- bug#67900: 30.0.50; Emacs Crahes When Executing Command `consult-buffer', Eli Zaretskii, 2023/12/19
- Message not available
- bug#67900: 30.0.50; Emacs Crahes When Executing Command `consult-buffer', Eli Zaretskii, 2023/12/20
- bug#67900: 30.0.50; Emacs Crahes When Executing Command `consult-buffer', Chang Xiaoduan, 2023/12/20
- bug#67900: 30.0.50; Emacs Crahes When Executing Command `consult-buffer', Eli Zaretskii, 2023/12/21
- bug#67900: 30.0.50; Emacs Crahes When Executing Command `consult-buffer', Andrea Corallo, 2023/12/21
- bug#67900: 30.0.50; Emacs Crahes When Executing Command `consult-buffer', Chang Xiaoduan, 2023/12/21
- bug#67900: 30.0.50; Emacs Crahes When Executing Command `consult-buffer', Eli Zaretskii, 2023/12/22
- bug#67900: 30.0.50; Emacs Crahes When Executing Command `consult-buffer', Andrea Corallo, 2023/12/22
- bug#67900: 30.0.50; Emacs Crahes When Executing Command `consult-buffer', Chang Xiaoduan, 2023/12/22
- bug#67900: 30.0.50; Emacs Crahes When Executing Command `consult-buffer', Eli Zaretskii, 2023/12/23
- bug#67900: 30.0.50; Emacs Crahes When Executing Command `consult-buffer',
Andrea Corallo <=
- bug#67900: 30.0.50; Emacs Crahes When Executing Command `consult-buffer', Chang Xiaoduan, 2023/12/28
- bug#67900: 30.0.50; Emacs Crahes When Executing Command `consult-buffer', Andrea Corallo, 2023/12/29