GNU bug report logs - #75199
30.0.93; Emacs crashes when completing with corfu

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Zhengyi Fu <i@HIDDEN>; dated Mon, 30 Dec 2024 13:04:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 75199 <at> debbugs.gnu.org:


Received: (at 75199) by debbugs.gnu.org; 30 Dec 2024 19:47:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 30 14:47:21 2024
Received: from localhost ([127.0.0.1]:60078 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tSLjV-0003m3-GP
	for submit <at> debbugs.gnu.org; Mon, 30 Dec 2024 14:47:21 -0500
Received: from server.qxqx.de ([49.12.34.165]:60691 helo=mail.qxqx.de)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1tSLjT-0003lg-Fn
 for 75199 <at> debbugs.gnu.org; Mon, 30 Dec 2024 14:47:20 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=daniel-mendler.de; s=key; h=Content-Type:MIME-Version:Message-ID:Date:
 References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:
 Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:
 Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:
 List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=aUpbUU+ZQ8yK/sNP+K0j1lAfDwAjkQiV71+Bh7oiofo=; b=VJtLgr+7/eMso+Dohyvb88fEVN
 RENqIszzWBMxPbwqWIPSoBqgRPL/Jk62L5qSVFb7TyTDmzVFVFkZnA+IFnwCyCeQCIxFLiqNwdLYF
 1b/wmryYaPukS7I/ddQOeqWI/aKeLtFcKWdI9dmdQXjT45iOmzyjLvYrPbyIi2ljgMLM=;
From: Daniel Mendler <mail@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#75199: 30.0.93; Emacs crashes when completing with corfu
In-Reply-To: <867c7hnfoq.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 30 Dec
 2024 21:17:41 +0200")
References: <87cyh9qq64.fsf@HIDDEN> <86ttalnsj4.fsf@HIDDEN>
 <87r05pmctv.fsf@HIDDEN> <86ldvxnqgv.fsf@HIDDEN>
 <8ac665654425902f3deb81481ac0242c@HIDDEN>
 <87a5cdcape.fsf@HIDDEN> <86bjwtnhyh.fsf@HIDDEN>
 <877c7hc8q1.fsf@HIDDEN> <867c7hnfoq.fsf@HIDDEN>
Date: Mon, 30 Dec 2024 20:47:11 +0100
Message-ID: <87ldvx7y2o.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 75199
Cc: i@HIDDEN, luangruo@HIDDEN, 75199 <at> debbugs.gnu.org
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.7 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Daniel Mendler <mail@HIDDEN>
>> Cc: i@HIDDEN,  luangruo@HIDDEN,  75199 <at> debbugs.gnu.org
>> Date: Mon, 30 Dec 2024 19:43:34 +0100
>> 
>> Eli Zaretskii <eliz@HIDDEN> writes:
>> 
>> >> From: Daniel Mendler <mail@HIDDEN>
>> >> Cc: Eli Zaretskii <eliz@HIDDEN>,  luangruo@HIDDEN,  75199 <at> debbugs.gnu.org
>> >> Date: Mon, 30 Dec 2024 19:00:45 +0100
>> >> 
>> >> Zhengyi Fu <i@HIDDEN> writes:
>> >> 
>> >> > On 2024-12-30 23:24, Eli Zaretskii wrote:
>> >> >
>> >> >> Earlier you wrote:
>> >> >> 
>> >> >>> The error is probably caused by the width value of 0 passed to
>> >> >>> XCreatePixmapFromBitmapData().
>> >> >>> It seems gui_intersect_rectangles() returns true even if the resulted
>> >> >>> rectangle is empty.  Is that correct behavior?
>> >> >> Can you tell how this happens?  Is corfu doing something special with
>> >> >> the fringes?
>> >> >
>> >> > I noticed the following calls in corfu--popup-show before the error:
>> >> >
>> >> > * define-fringe-bitmap(corfu--bar [-241] 1 8 (top periodic))
>> >> > * define-fringe-bitmap(corfu--nil [])
>> >> 
>> >> I've adjusted the second call to the following, also for compatibility
>> >> with older Emacs versions.
>> >> 
>> >> (define-fringe-bitmap 'corfu--nil [0] 1 1)
>> >
>> > Doesn't
>> >
>> >   (define-fringe-bitmap 'corfu--nil [0])
>> >
>> > work as well?  If it doesn't, I guess the doc string is inaccurate?
>> 
>> Yes. If I understand [info:elisp#Customizing Bitmaps] correctly, in this
>> case the HEIGHT would be 1, but the WIDTH would be 8. This is slightly
>> different from the above, but it should work just as well given that the
>> bitmap is all zero. The corfu--nil bitmap is just a placeholder for the
>> empty fringe.
>
> OK, thanks.  So we can conclude that this is a bug in Corfu, and in
> addition install on master a check for arguments of
> define-fringe-bitmap, for even more waterproof fix?

Yes. From my perspective it is sufficient to check the expected argument
value ranges. Ideally these ranges are also documented in the
docstring/manual.

Daniel




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75199; Package emacs. Full text available.

Message received at 75199 <at> debbugs.gnu.org:


Received: (at 75199) by debbugs.gnu.org; 30 Dec 2024 19:17:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 30 14:17:55 2024
Received: from localhost ([127.0.0.1]:60016 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tSLH1-0002LH-5N
	for submit <at> debbugs.gnu.org; Mon, 30 Dec 2024 14:17:55 -0500
Received: from eggs.gnu.org ([209.51.188.92]:52862)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1tSLGw-0002Kr-P0
 for 75199 <at> debbugs.gnu.org; Mon, 30 Dec 2024 14:17:54 -0500
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 <eliz@HIDDEN>)
 id 1tSLGo-0001Zr-Rb; Mon, 30 Dec 2024 14:17:43 -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=igKNJ5WCP50y597iFE/jP17eJJRGXqC8lvaY74NpkHs=; b=Tjb/jFNE2hjy
 WW3otOYzFQzq4bgyApMR5QpkmGJEyefOOWw0q9LyGGHS+W5ETwFqsdnAPWr74NgJ2ofoEH66Lb2vG
 EoAhRuZzxvSzjjoR/ZMM7U0G0DEy++L6ao1S4/dqjZ6iVnwS4Bg3Zu86Xgdi8+0dkIVX9qKFLwLl/
 E2iX8IvNGzEYfh0zWq5ikKHeqG3/0cg7X6MK4Hjc2wjon3fYRD0256PoI2R2ZLqpA5HNwqhYpuLne
 b/3ucUEdjWx4uNtiSD89OH6lhg9GsL0KdGmGIMrYRbuIxOZxmEgvrjSvuFgu41MONmelHbJoi3p/V
 IhhwneSblmLDsmCT/JR/1Q==;
Date: Mon, 30 Dec 2024 21:17:41 +0200
Message-Id: <867c7hnfoq.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Daniel Mendler <mail@HIDDEN>
In-Reply-To: <877c7hc8q1.fsf@HIDDEN> (message from Daniel Mendler
 on Mon, 30 Dec 2024 19:43:34 +0100)
Subject: Re: bug#75199: 30.0.93; Emacs crashes when completing with corfu
References: <87cyh9qq64.fsf@HIDDEN> <86ttalnsj4.fsf@HIDDEN>
 <87r05pmctv.fsf@HIDDEN> <86ldvxnqgv.fsf@HIDDEN>
 <8ac665654425902f3deb81481ac0242c@HIDDEN>
 <87a5cdcape.fsf@HIDDEN> <86bjwtnhyh.fsf@HIDDEN>
 <877c7hc8q1.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 75199
Cc: i@HIDDEN, luangruo@HIDDEN, 75199 <at> debbugs.gnu.org
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: -3.3 (---)

> From: Daniel Mendler <mail@HIDDEN>
> Cc: i@HIDDEN,  luangruo@HIDDEN,  75199 <at> debbugs.gnu.org
> Date: Mon, 30 Dec 2024 19:43:34 +0100
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> From: Daniel Mendler <mail@HIDDEN>
> >> Cc: Eli Zaretskii <eliz@HIDDEN>,  luangruo@HIDDEN,  75199 <at> debbugs.gnu.org
> >> Date: Mon, 30 Dec 2024 19:00:45 +0100
> >> 
> >> Zhengyi Fu <i@HIDDEN> writes:
> >> 
> >> > On 2024-12-30 23:24, Eli Zaretskii wrote:
> >> >
> >> >> Earlier you wrote:
> >> >> 
> >> >>> The error is probably caused by the width value of 0 passed to
> >> >>> XCreatePixmapFromBitmapData().
> >> >>> It seems gui_intersect_rectangles() returns true even if the resulted
> >> >>> rectangle is empty.  Is that correct behavior?
> >> >> Can you tell how this happens?  Is corfu doing something special with
> >> >> the fringes?
> >> >
> >> > I noticed the following calls in corfu--popup-show before the error:
> >> >
> >> > * define-fringe-bitmap(corfu--bar [-241] 1 8 (top periodic))
> >> > * define-fringe-bitmap(corfu--nil [])
> >> 
> >> I've adjusted the second call to the following, also for compatibility
> >> with older Emacs versions.
> >> 
> >> (define-fringe-bitmap 'corfu--nil [0] 1 1)
> >
> > Doesn't
> >
> >   (define-fringe-bitmap 'corfu--nil [0])
> >
> > work as well?  If it doesn't, I guess the doc string is inaccurate?
> 
> Yes. If I understand [info:elisp#Customizing Bitmaps] correctly, in this
> case the HEIGHT would be 1, but the WIDTH would be 8. This is slightly
> different from the above, but it should work just as well given that the
> bitmap is all zero. The corfu--nil bitmap is just a placeholder for the
> empty fringe.

OK, thanks.  So we can conclude that this is a bug in Corfu, and in
addition install on master a check for arguments of
define-fringe-bitmap, for even more waterproof fix?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75199; Package emacs. Full text available.

Message received at 75199 <at> debbugs.gnu.org:


Received: (at 75199) by debbugs.gnu.org; 30 Dec 2024 18:43:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 30 13:43:47 2024
Received: from localhost ([127.0.0.1]:59956 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tSKjz-0000cW-DT
	for submit <at> debbugs.gnu.org; Mon, 30 Dec 2024 13:43:47 -0500
Received: from server.qxqx.de ([49.12.34.165]:42175 helo=mail.qxqx.de)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1tSKju-0000c2-Cd
 for 75199 <at> debbugs.gnu.org; Mon, 30 Dec 2024 13:43:45 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=daniel-mendler.de; s=key; h=Content-Type:MIME-Version:Message-ID:Date:
 References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:
 Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:
 Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:
 List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=U3dVzGLasGp8sPfkfRcY2xgrjiVaQlrELOn7j13klBI=; b=wAZJvQ+LaryqKm3o8MH9TcUvp4
 G7jYo8KNeQuNrxzZIkE4vrpkqDKlUeG0h8nZX16fHQ+CemT/CdullnE0DvKwZJ+B0B9KGlrMIxZDv
 XUQgjU0Z6dqntlGMGJP9vCHGRmp9yqtCFEyfS6Qs5gWOb54YAeOdBinbg52hCvPST8Mk=;
From: Daniel Mendler <mail@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#75199: 30.0.93; Emacs crashes when completing with corfu
In-Reply-To: <86bjwtnhyh.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 30 Dec
 2024 20:28:38 +0200")
References: <87cyh9qq64.fsf@HIDDEN> <86ttalnsj4.fsf@HIDDEN>
 <87r05pmctv.fsf@HIDDEN> <86ldvxnqgv.fsf@HIDDEN>
 <8ac665654425902f3deb81481ac0242c@HIDDEN>
 <87a5cdcape.fsf@HIDDEN> <86bjwtnhyh.fsf@HIDDEN>
Date: Mon, 30 Dec 2024 19:43:34 +0100
Message-ID: <877c7hc8q1.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 75199
Cc: i@HIDDEN, luangruo@HIDDEN, 75199 <at> debbugs.gnu.org
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.7 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Daniel Mendler <mail@HIDDEN>
>> Cc: Eli Zaretskii <eliz@HIDDEN>,  luangruo@HIDDEN,  75199 <at> debbugs.gnu.org
>> Date: Mon, 30 Dec 2024 19:00:45 +0100
>> 
>> Zhengyi Fu <i@HIDDEN> writes:
>> 
>> > On 2024-12-30 23:24, Eli Zaretskii wrote:
>> >
>> >> Earlier you wrote:
>> >> 
>> >>> The error is probably caused by the width value of 0 passed to
>> >>> XCreatePixmapFromBitmapData().
>> >>> It seems gui_intersect_rectangles() returns true even if the resulted
>> >>> rectangle is empty.  Is that correct behavior?
>> >> Can you tell how this happens?  Is corfu doing something special with
>> >> the fringes?
>> >
>> > I noticed the following calls in corfu--popup-show before the error:
>> >
>> > * define-fringe-bitmap(corfu--bar [-241] 1 8 (top periodic))
>> > * define-fringe-bitmap(corfu--nil [])
>> 
>> I've adjusted the second call to the following, also for compatibility
>> with older Emacs versions.
>> 
>> (define-fringe-bitmap 'corfu--nil [0] 1 1)
>
> Doesn't
>
>   (define-fringe-bitmap 'corfu--nil [0])
>
> work as well?  If it doesn't, I guess the doc string is inaccurate?

Yes. If I understand [info:elisp#Customizing Bitmaps] correctly, in this
case the HEIGHT would be 1, but the WIDTH would be 8. This is slightly
different from the above, but it should work just as well given that the
bitmap is all zero. The corfu--nil bitmap is just a placeholder for the
empty fringe.

Daniel




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75199; Package emacs. Full text available.

Message received at 75199 <at> debbugs.gnu.org:


Received: (at 75199) by debbugs.gnu.org; 30 Dec 2024 18:31:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 30 13:31:08 2024
Received: from localhost ([127.0.0.1]:59945 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tSKXj-0008UA-QY
	for submit <at> debbugs.gnu.org; Mon, 30 Dec 2024 13:31:08 -0500
Received: from eggs.gnu.org ([209.51.188.92]:50232)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1tSKXf-0008TY-H6
 for 75199 <at> debbugs.gnu.org; Mon, 30 Dec 2024 13:31:07 -0500
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 <eliz@HIDDEN>)
 id 1tSKVQ-0004QO-S9; Mon, 30 Dec 2024 13:28:44 -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=5bVnzj32ovjM5IkoU8BrlA+BaZVnRbOtms+CqbjdD+A=; b=cWiKbY8paI57
 T2FUwNucxzvs9/1DOPVMQrEW+79e5jvI4D3EJWCO1SSlbNzwo91STnhDorqHSp48AnA4lz1uW0r1J
 s9uwEtqR1gSZ34lA8hIi2HBQRXMhQwVOcBG0e6/VwnUNeypwPBkA9gOAMXxcn/7yrFcP4neARvIDw
 oA1b20YUGKUCD/KY+LLp3PXmTOnWITf0ikcnIArCjFDp40DDLerhfXyh+QuKQJOms+RF5RAXRj2uU
 Q0J9/JmKthn/saFLvge4ypnXhVVF7IYn8/TnJ15G7PWuGErwV8bYdGNBXh4ow1/7b1Cn0yDxgwGM1
 tQWF2/yn6IAsdVPvBl8l2w==;
Date: Mon, 30 Dec 2024 20:28:38 +0200
Message-Id: <86bjwtnhyh.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Daniel Mendler <mail@HIDDEN>
In-Reply-To: <87a5cdcape.fsf@HIDDEN> (message from Daniel Mendler
 on Mon, 30 Dec 2024 19:00:45 +0100)
Subject: Re: bug#75199: 30.0.93; Emacs crashes when completing with corfu
References: <87cyh9qq64.fsf@HIDDEN> <86ttalnsj4.fsf@HIDDEN>
 <87r05pmctv.fsf@HIDDEN> <86ldvxnqgv.fsf@HIDDEN>
 <8ac665654425902f3deb81481ac0242c@HIDDEN>
 <87a5cdcape.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 75199
Cc: i@HIDDEN, luangruo@HIDDEN, 75199 <at> debbugs.gnu.org
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: -3.3 (---)

> From: Daniel Mendler <mail@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>,  luangruo@HIDDEN,  75199 <at> debbugs.gnu.org
> Date: Mon, 30 Dec 2024 19:00:45 +0100
> 
> Zhengyi Fu <i@HIDDEN> writes:
> 
> > On 2024-12-30 23:24, Eli Zaretskii wrote:
> >
> >> Earlier you wrote:
> >> 
> >>> The error is probably caused by the width value of 0 passed to
> >>> XCreatePixmapFromBitmapData().
> >>> It seems gui_intersect_rectangles() returns true even if the resulted
> >>> rectangle is empty.  Is that correct behavior?
> >> Can you tell how this happens?  Is corfu doing something special with
> >> the fringes?
> >
> > I noticed the following calls in corfu--popup-show before the error:
> >
> > * define-fringe-bitmap(corfu--bar [-241] 1 8 (top periodic))
> > * define-fringe-bitmap(corfu--nil [])
> 
> I've adjusted the second call to the following, also for compatibility
> with older Emacs versions.
> 
> (define-fringe-bitmap 'corfu--nil [0] 1 1)

Doesn't

  (define-fringe-bitmap 'corfu--nil [0])

work as well?  If it doesn't, I guess the doc string is inaccurate?

> For the future, maybe `define-fringe-bitmap' should either check its
> argument carefully and disallow empty bitmaps, or empty bitmaps should
> be explicitly allowed?

Adding such argument-checking is fine by me, patches welcome.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75199; Package emacs. Full text available.

Message received at 75199 <at> debbugs.gnu.org:


Received: (at 75199) by debbugs.gnu.org; 30 Dec 2024 18:03:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 30 13:03:07 2024
Received: from localhost ([127.0.0.1]:59890 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tSK6c-00077s-I1
	for submit <at> debbugs.gnu.org; Mon, 30 Dec 2024 13:03:06 -0500
Received: from server.qxqx.de ([49.12.34.165]:60999 helo=mail.qxqx.de)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1tSK6a-00077L-0i
 for 75199 <at> debbugs.gnu.org; Mon, 30 Dec 2024 13:03:05 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=daniel-mendler.de; s=key; h=Content-Type:MIME-Version:Message-ID:Date:
 References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:
 Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:
 Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:
 List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=KUtS+0LI6Zznkq4p6P5Zl/f3A3GUXyM0oEtZKBKrS4M=; b=GP1nuxS1aEEYteWNip8D3bI8hH
 cURUWPGxNWoXxRWwnuEnPx7+ogrO4v1jTdeLKtmi7KPBsi+/rBQDzaTv24jj+gDB7sC72jFn+1/N/
 tZK3UnP2JeCkNZs3T0zK5+PnOnBIQ0Mv3K94juXTSyApI5lICPns1oiDqgiyy/cTO8/g=;
From: Daniel Mendler <mail@HIDDEN>
To: Zhengyi Fu <i@HIDDEN>
Subject: Re: bug#75199: 30.0.93; Emacs crashes when completing with corfu
In-Reply-To: <8ac665654425902f3deb81481ac0242c@HIDDEN> (Zhengyi Fu's message
 of "Mon, 30 Dec 2024 23:55:12 +0800")
References: <87cyh9qq64.fsf@HIDDEN> <86ttalnsj4.fsf@HIDDEN>
 <87r05pmctv.fsf@HIDDEN> <86ldvxnqgv.fsf@HIDDEN>
 <8ac665654425902f3deb81481ac0242c@HIDDEN>
Date: Mon, 30 Dec 2024 19:00:45 +0100
Message-ID: <87a5cdcape.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 75199
Cc: luangruo@HIDDEN, 75199 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>
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.7 (-)

Zhengyi Fu <i@HIDDEN> writes:

> On 2024-12-30 23:24, Eli Zaretskii wrote:
>
>> Earlier you wrote:
>> 
>>> The error is probably caused by the width value of 0 passed to
>>> XCreatePixmapFromBitmapData().
>>> It seems gui_intersect_rectangles() returns true even if the resulted
>>> rectangle is empty.  Is that correct behavior?
>> Can you tell how this happens?  Is corfu doing something special with
>> the fringes?
>
> I noticed the following calls in corfu--popup-show before the error:
>
> * define-fringe-bitmap(corfu--bar [-241] 1 8 (top periodic))
> * define-fringe-bitmap(corfu--nil [])

I've adjusted the second call to the following, also for compatibility
with older Emacs versions.

(define-fringe-bitmap 'corfu--nil [0] 1 1)

For the future, maybe `define-fringe-bitmap' should either check its
argument carefully and disallow empty bitmaps, or empty bitmaps should
be explicitly allowed? I've not seen reports about crashes on other
builds, e.g., X11+Cairo or the NS and Carbon builds for Mac. These
builds seem to support empty fringe bitmaps.

Daniel




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75199; Package emacs. Full text available.

Message received at 75199 <at> debbugs.gnu.org:


Received: (at 75199) by debbugs.gnu.org; 30 Dec 2024 15:55:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 30 10:55:41 2024
Received: from localhost ([127.0.0.1]:59573 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tSI7I-0000nK-M8
	for submit <at> debbugs.gnu.org; Mon, 30 Dec 2024 10:55:41 -0500
Received: from relay1-d.mail.gandi.net ([217.70.183.193]:45851)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <i@HIDDEN>) id 1tSI7H-0000mr-1y
 for 75199 <at> debbugs.gnu.org; Mon, 30 Dec 2024 10:55:40 -0500
Received: by mail.gandi.net (Postfix) with ESMTPSA id C31D1240002;
 Mon, 30 Dec 2024 15:55:12 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fuzy.me; s=gm1;
 t=1735574113;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=6He8hXQsxcxsFwVJOZUqXGMVs08F+T6pg0hgp+yK7Gw=;
 b=TYaVSb5f+P7GOgyc5jK19r0fxp6uLfFrm1iDOdvqOkpBqqfULymv7VKdrSd0D2dT7HyDfF
 aJ1PLp/s1M3ob1XOJ0z5T1ooFjvAKn4CHqTbnnuFYV+9Hq0Op2yyHBOuGXqaXyOMb/slmH
 0L4PK7gSXhPl9UL14mMFZHs5f0oSGYtNLakFiMA7jxdl/teY3mVH+A9h7DncopYZShsXw0
 9DjvJec8OYYMaHrkK5ANlcFRurz7m3H4GyvG4FTnWurFg+aX264kwPwsk76oH1TaDzzGCg
 6MJtzRkf9YRRwHwg0w+jBuHbTQNtal/i0VOcoDWR2BUn2gouMHJ0u5h8cmxohA==
MIME-Version: 1.0
Date: Mon, 30 Dec 2024 23:55:12 +0800
From: Zhengyi Fu <i@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#75199: 30.0.93; Emacs crashes when completing with corfu
In-Reply-To: <86ldvxnqgv.fsf@HIDDEN>
References: <87cyh9qq64.fsf@HIDDEN> <86ttalnsj4.fsf@HIDDEN>
 <87r05pmctv.fsf@HIDDEN> <86ldvxnqgv.fsf@HIDDEN>
Message-ID: <8ac665654425902f3deb81481ac0242c@HIDDEN>
X-Sender: i@HIDDEN
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
X-GND-Sasl: id@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 75199
Cc: luangruo@HIDDEN, 75199 <at> debbugs.gnu.org
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.7 (-)

On 2024-12-30 23:24, Eli Zaretskii wrote:

> Earlier you wrote:
> 
>> The error is probably caused by the width value of 0 passed to
>> XCreatePixmapFromBitmapData().
>> 
>> It seems gui_intersect_rectangles() returns true even if the resulted
>> rectangle is empty.  Is that correct behavior?
> 
> Can you tell how this happens?  Is corfu doing something special with
> the fringes?

I noticed the following calls in corfu--popup-show before the error:

* define-fringe-bitmap(corfu--bar [-241] 1 8 (top periodic))
* define-fringe-bitmap(corfu--nil [])




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75199; Package emacs. Full text available.

Message received at 75199 <at> debbugs.gnu.org:


Received: (at 75199) by debbugs.gnu.org; 30 Dec 2024 15:46:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 30 10:46:00 2024
Received: from localhost ([127.0.0.1]:59538 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tSHxw-0000F5-DL
	for submit <at> debbugs.gnu.org; Mon, 30 Dec 2024 10:46:00 -0500
Received: from relay6-d.mail.gandi.net ([217.70.183.198]:41237)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <i@HIDDEN>) id 1tSHxu-0000Eo-Qh
 for 75199 <at> debbugs.gnu.org; Mon, 30 Dec 2024 10:45:59 -0500
Received: by mail.gandi.net (Postfix) with ESMTPSA id 8BB9AC0004;
 Mon, 30 Dec 2024 15:45:31 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fuzy.me; s=gm1;
 t=1735573532;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=mhtc1cc2/PECQx68OGkl/4a60DKzFZn6iikr4HfxdGc=;
 b=oqHbcSm1eglLm5N5awGjVTap20H4mCp43gTWUvntpil2MSmPtv6zqN+4QZrU7WIr9gjXGW
 advb7GUUsX73aZXD6mbg/t0SF3p++nCmkAjDOWCoUqLh/EsyU3Ur4Ge4K9QvW8JOgzPJxP
 eaLFs64pYK9KWpAmE/J8DvnTRME0HYprYTzj4u2cE89YDPXBjAA68i/Q984e55PJB8AHmE
 /sC1tav0q1XiGnsfvP9p/qGnFk2nZ4OmeT0bI5k3uiA5MmSjdvYwLBNoLZCpGyLCqejnwS
 wd2oXbDb90N9hRNluIj4vcs9HrqrU9CCrWJoORcOQGBGIIizVH8jhEul0k6Yog==
MIME-Version: 1.0
Date: Mon, 30 Dec 2024 23:45:31 +0800
From: Zhengyi Fu <i@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#75199: 30.0.93; Emacs crashes when completing with corfu
In-Reply-To: <86ldvxnqgv.fsf@HIDDEN>
References: <87cyh9qq64.fsf@HIDDEN> <86ttalnsj4.fsf@HIDDEN>
 <87r05pmctv.fsf@HIDDEN> <86ldvxnqgv.fsf@HIDDEN>
Message-ID: <27d97e98800da562c0b2bdeae2cef2c3@HIDDEN>
X-Sender: i@HIDDEN
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
X-GND-Sasl: id@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 75199
Cc: luangruo@HIDDEN, 75199 <at> debbugs.gnu.org
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.7 (-)

On 2024-12-30 23:24, Eli Zaretskii wrote:
>> From: Zhengyi Fu <i@HIDDEN>
>> Cc: Po Lu <luangruo@HIDDEN>,  75199 <at> debbugs.gnu.org
>> Date: Mon, 30 Dec 2024 23:04:44 +0800
>> 
>> Eli Zaretskii <eliz@HIDDEN> writes:
>> 
>> > I don't understand how 'event', which was 0x7fffffffba70 in
>> > x_error_handler became a NULL pointer inside x_error_quitter, which
>> > x_error_handler calls.
>> >
>> > Po Lu, any ideas?
>> >
>> > Zhengyi Fu, can you configure Emacs 30.0.93 with --enable-checking and
>> > compile it with -O0, and see if you get more detailed diagnostics?
>> >
>> > Also, does disabling the X input method help in any way?  (I see you
>> > are using fcitx.)
>> 
>> This the backtrace I got after rebuilding Emacs with --enable-checking
>> and -O0 and disabling fcitx:
>> 
>> 
>> (gdb) r
>> Starting program: /home/zhengyi/src/emacs/src/emacs -Q -l 
>> \~/.emacs.d/straight/repos/corfu/corfu.el
>> [Thread debugging using libthread_db enabled]
>> Using host libthread_db library "/lib64/libthread_db.so.1".
>> [New Thread 0x7ffff1bfe6c0 (LWP 58332)]
>> [New Thread 0x7ffff126e6c0 (LWP 58333)]
>> [New Thread 0x7fffebfff6c0 (LWP 58334)]
>> [New Thread 0x7fffeb66f6c0 (LWP 58335)]
>> [Detaching after vfork from child process 58338]
>> [Detaching after vfork from child process 58343]
>> [Detaching after vfork from child process 58350]
>> [Detaching after vfork from child process 58351]
>> [Detaching after vfork from child process 58352]
>> [Detaching after vfork from child process 58353]
>> [Detaching after vfork from child process 58357]
>> [Detaching after vfork from child process 58361]
>> [Detaching after vfork from child process 58366]
>> [Detaching after vfork from child process 58370]
>> [Detaching after vfork from child process 58374]
>> [Detaching after vfork from child process 58379]
>> 
>> Thread 1 "emacs" hit Breakpoint 1, x_error_quitter (display=0x104d5d0, 
>> event=0x7fffffffb8c0) at xterm.c:27111
>> 27111	  if (event->error_code == BadName)
> 
> Thanks, but now it doesn't seem to be a crash?  What is the value of
> event->error_code?

It does crash if running asynchronously.  The error code is 2 
(BadValue).
With (x-synchrozie t), Emacs freezes after entering x_error_quitter.


> Earlier you wrote:
> 
>> The error is probably caused by the width value of 0 passed to
>> XCreatePixmapFromBitmapData().
>> 
>> It seems gui_intersect_rectangles() returns true even if the resulted
>> rectangle is empty.  Is that correct behavior?
> 
> Can you tell how this happens?  Is corfu doing something special with
> the fringes?

Sorry, by "width" I mean "height".

I'm not familiar enough with corfu implemantation to give any clue.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75199; Package emacs. Full text available.

Message received at 75199 <at> debbugs.gnu.org:


Received: (at 75199) by debbugs.gnu.org; 30 Dec 2024 15:25:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 30 10:25:10 2024
Received: from localhost ([127.0.0.1]:59495 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tSHdk-0007Zt-P4
	for submit <at> debbugs.gnu.org; Mon, 30 Dec 2024 10:25:10 -0500
Received: from eggs.gnu.org ([209.51.188.92]:34110)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1tSHdg-0007ZE-MM
 for 75199 <at> debbugs.gnu.org; Mon, 30 Dec 2024 10:25:07 -0500
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 <eliz@HIDDEN>)
 id 1tSHda-0001PQ-IL; Mon, 30 Dec 2024 10:24:58 -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=y2xV0ukamy7JTxVwg3SN83Iz7GQoXH07Vdnz4xAzg2I=; b=EvCWz96KSopU
 xgGVJayOQj40i6pEK7LfM2b/3wLvUw9bbGdRT1LFR3RwrxIs7vJObS+vrB9pUO3UjX85OQY9qDWuT
 nQ2C1fQUAuvko0KEjTJBanqUqFjs11rnl16aJ2eO2fu1P+RXYBtGaHKdFytzwt1Hf2X4aiMyznmnZ
 S1Uh6+itC3y2t0Oat3MeHSbpXU+pj8nVvdAcOPfp/qzNiGF6tjBZCKd9etdou5scR4s42nHWsH6t8
 g6/glLnomeGrh1ptcu+H91bjO84ktegX/UwSpN+is87wLqQYI++pUj6Av/FAFvQPfqFMUTbDPAuTy
 OgoLgMdH6qk0FwXJ8TyqOQ==;
Date: Mon, 30 Dec 2024 17:24:48 +0200
Message-Id: <86ldvxnqgv.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Zhengyi Fu <i@HIDDEN>
In-Reply-To: <87r05pmctv.fsf@HIDDEN> (message from Zhengyi Fu on Mon, 30 Dec
 2024 23:04:44 +0800)
Subject: Re: bug#75199: 30.0.93; Emacs crashes when completing with corfu
References: <87cyh9qq64.fsf@HIDDEN> <86ttalnsj4.fsf@HIDDEN>
 <87r05pmctv.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 75199
Cc: luangruo@HIDDEN, 75199 <at> debbugs.gnu.org
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: -3.3 (---)

> From: Zhengyi Fu <i@HIDDEN>
> Cc: Po Lu <luangruo@HIDDEN>,  75199 <at> debbugs.gnu.org
> Date: Mon, 30 Dec 2024 23:04:44 +0800
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > I don't understand how 'event', which was 0x7fffffffba70 in
> > x_error_handler became a NULL pointer inside x_error_quitter, which
> > x_error_handler calls.
> >
> > Po Lu, any ideas?
> >
> > Zhengyi Fu, can you configure Emacs 30.0.93 with --enable-checking and
> > compile it with -O0, and see if you get more detailed diagnostics?
> >
> > Also, does disabling the X input method help in any way?  (I see you
> > are using fcitx.)
> 
> This the backtrace I got after rebuilding Emacs with --enable-checking
> and -O0 and disabling fcitx:
> 
> 
> (gdb) r
> Starting program: /home/zhengyi/src/emacs/src/emacs -Q -l \~/.emacs.d/straight/repos/corfu/corfu.el
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib64/libthread_db.so.1".
> [New Thread 0x7ffff1bfe6c0 (LWP 58332)]
> [New Thread 0x7ffff126e6c0 (LWP 58333)]
> [New Thread 0x7fffebfff6c0 (LWP 58334)]
> [New Thread 0x7fffeb66f6c0 (LWP 58335)]
> [Detaching after vfork from child process 58338]
> [Detaching after vfork from child process 58343]
> [Detaching after vfork from child process 58350]
> [Detaching after vfork from child process 58351]
> [Detaching after vfork from child process 58352]
> [Detaching after vfork from child process 58353]
> [Detaching after vfork from child process 58357]
> [Detaching after vfork from child process 58361]
> [Detaching after vfork from child process 58366]
> [Detaching after vfork from child process 58370]
> [Detaching after vfork from child process 58374]
> [Detaching after vfork from child process 58379]
> 
> Thread 1 "emacs" hit Breakpoint 1, x_error_quitter (display=0x104d5d0, event=0x7fffffffb8c0) at xterm.c:27111
> 27111	  if (event->error_code == BadName)

Thanks, but now it doesn't seem to be a crash?  What is the value of
event->error_code?

Earlier you wrote:

> The error is probably caused by the width value of 0 passed to 
> XCreatePixmapFromBitmapData().
> 
> It seems gui_intersect_rectangles() returns true even if the resulted 
> rectangle is empty.  Is that correct behavior?

Can you tell how this happens?  Is corfu doing something special with
the fringes?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75199; Package emacs. Full text available.

Message received at 75199 <at> debbugs.gnu.org:


Received: (at 75199) by debbugs.gnu.org; 30 Dec 2024 15:05:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 30 10:05:26 2024
Received: from localhost ([127.0.0.1]:59473 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tSHKf-0006fx-2X
	for submit <at> debbugs.gnu.org; Mon, 30 Dec 2024 10:05:26 -0500
Received: from relay6-d.mail.gandi.net ([217.70.183.198]:33791)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <i@HIDDEN>) id 1tSHKa-0006fb-F8
 for 75199 <at> debbugs.gnu.org; Mon, 30 Dec 2024 10:05:23 -0500
Received: by mail.gandi.net (Postfix) with ESMTPSA id 2AB39C0005;
 Mon, 30 Dec 2024 15:04:50 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fuzy.me; s=gm1;
 t=1735571094;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=juccRPKeygbmTb0Sie0g4heAKrSbhPFmQb+4hzwAf8M=;
 b=iz/Zk1iYGDFzmVgWy7kx9ZTe7iWStj0kfM9OvsJNrWyJR4w1raHT6IhW6sTIJzlP5y9mPi
 FEMaeD/vIb5bJ0XtpbFZ+cHPXSMkfRvyMeBFYPUH11//E0TQeQ9cHO1twNRqMzuK0rPiCt
 EzPvavyPmohyur7cR6RnXWTL9rJCTmlrUN51m8naHTzMpoYfx7XefwSkvQjUfHmNhY3dkD
 HTwBcPODaVu+x+Gw/xImEIqsw+fBwHHpOtZor/2BPD+ve4vk9StjbzZHf7mrr8afPx4od4
 7tvFbkVwOLN6BMXC521RpO4UleoFrEY8h6E6uE/uP5VohNBIYwyw9wxmQutWPg==
From: Zhengyi Fu <i@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#75199: 30.0.93; Emacs crashes when completing with corfu
In-Reply-To: <86ttalnsj4.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 30 Dec
 2024 16:40:15 +0200")
References: <87cyh9qq64.fsf@HIDDEN> <86ttalnsj4.fsf@HIDDEN>
Date: Mon, 30 Dec 2024 23:04:44 +0800
Message-ID: <87r05pmctv.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-GND-Sasl: id@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 75199
Cc: Po Lu <luangruo@HIDDEN>, 75199 <at> debbugs.gnu.org
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.7 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Zhengyi Fu <i@HIDDEN>
>> Date: Mon, 30 Dec 2024 21:02:59 +0800
>>=20
>> Emacs built without Cairo steadily crashes when trying to complete
>> symbols with Corfu.
>>=20
>> Steps to reproduce:
>>=20
>> 1. emacs -Q -l path/to/corfu.el
>> 2. M-x corfu-mode
>> 3. Try completing a simple by pressing C-M-i
>>=20
>> I got the following backtrace from GDB by reproducing the bug after
>> evaluating (x-synchronize t):
>>=20
>> (gdb) br x_error_quitter
>> Breakpoint 1 at 0x550530: file xterm.c, line 27111.
>> (gdb) r
>> Starting program: /home/zhengyi/src/emacs/src/emacs -Q -l \~/.emacs.d/st=
raight/repos/corfu/corfu.el
>> [Thread debugging using libthread_db enabled]
>> Using host libthread_db library "/lib64/libthread_db.so.1".
>> [New Thread 0x7ffff13fe6c0 (LWP 15400)]
>> [New Thread 0x7ffff0a6e6c0 (LWP 15401)]
>> [New Thread 0x7fffebfff6c0 (LWP 15402)]
>> [New Thread 0x7fffeb66f6c0 (LWP 15403)]
>>=20
>> Thread 1 "emacs" hit Breakpoint 1, x_error_quitter (display=3D0xe19910, =
event=3D0x0) at xterm.c:27111
>> 27111	  if (event->error_code =3D=3D BadName)
>> (gdb) bt full
>> #0  x_error_quitter (display=3D0xe19910, event=3D0x0) at xterm.c:27111
>> 	buf =3D '\000' <repeats 255 times>
>> 	buf1 =3D '\000' <repeats 272 times>...
>> #1  0x000000000055076b in x_error_handler (display=3D0xe19910, event=3D0=
x7fffffffba70) at xterm.c:27090
>> 	stack =3D <optimized out>
>> 	dpyinfo =3D <optimized out>
>> 	fail =3D <optimized out>
>> 	last =3D <optimized out>
>
> I don't understand how 'event', which was 0x7fffffffba70 in
> x_error_handler became a NULL pointer inside x_error_quitter, which
> x_error_handler calls.
>
> Po Lu, any ideas?
>
> Zhengyi Fu, can you configure Emacs 30.0.93 with --enable-checking and
> compile it with -O0, and see if you get more detailed diagnostics?
>
> Also, does disabling the X input method help in any way?  (I see you
> are using fcitx.)

This the backtrace I got after rebuilding Emacs with --enable-checking
and -O0 and disabling fcitx:


(gdb) r
Starting program: /home/zhengyi/src/emacs/src/emacs -Q -l \~/.emacs.d/strai=
ght/repos/corfu/corfu.el
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff1bfe6c0 (LWP 58332)]
[New Thread 0x7ffff126e6c0 (LWP 58333)]
[New Thread 0x7fffebfff6c0 (LWP 58334)]
[New Thread 0x7fffeb66f6c0 (LWP 58335)]
[Detaching after vfork from child process 58338]
[Detaching after vfork from child process 58343]
[Detaching after vfork from child process 58350]
[Detaching after vfork from child process 58351]
[Detaching after vfork from child process 58352]
[Detaching after vfork from child process 58353]
[Detaching after vfork from child process 58357]
[Detaching after vfork from child process 58361]
[Detaching after vfork from child process 58366]
[Detaching after vfork from child process 58370]
[Detaching after vfork from child process 58374]
[Detaching after vfork from child process 58379]

Thread 1 "emacs" hit Breakpoint 1, x_error_quitter (display=3D0x104d5d0, ev=
ent=3D0x7fffffffb8c0) at xterm.c:27111
27111	  if (event->error_code =3D=3D BadName)
(gdb) bt full
#0  x_error_quitter (display=3D0x104d5d0, event=3D0x7fffffffb8c0) at xterm.=
c:27111
	buf =3D '\000' <repeats 16 times>, "P\267\377\377\377\177\000\000\001\000\=
000\000\000\000\000\000\240\267\377\377\377\177", '\000' <repeats 26 times>=
, "\001\001. \000\000\000\000 ", '\000' <repeats 15 times>, "/#\305\367\377=
\177\000\000d\372\004\001\000\000\000\000 ", '\000' <repeats 15 times>, "\3=
00\n\005\001", '\000' <repeats 12 times>, "\362\321\361\363\377\177\000\000=
d\372\004\001\000\000\000\000\000-cYwQ6n\240\271\377\377\377\177\000\000\00=
1\000\000\000\000\000\000\000\360\371\004\001", '\000' <repeats 20 times>...
	buf1 =3D "p\350\004\001\000\000\000\000\300\n\005\001\000\000\000\000\360\=
371\004\001\000\000\000\000\377\377\377\377\377\377\377\377d\372\004\001\00=
0\000\000\000\000\020", '\000' <repeats 22 times>, " \264\377\377\377\177\0=
00\000\001\000\000\000\000\000\000\000p\264\377\377\377\177\000\000P", '\00=
0' <repeats 15 times>, "\301\031\305\367\377\177\000\000 \v\005\001\000\000=
\000\000\360\371\004\001\000\000\000\000$ \000\000\000\000\000\000\260\265\=
377\377\377\177\000\000=D0=B4\377\377\377\177\000\000\201\035\305\367\377\1=
77\000\000\360\264\377\377\377\177\000\000\277.\305\367\377\177\000\000 \26=
5\377\377\377\177\000\000\b\372\004\001\000\000\000\000\002\000\000\000\000=
\000\000\000\000"...
#1  0x00000000005d32de in x_error_handler (display=3D0x104d5d0, event=3D0x7=
fffffffb8c0) at xterm.c:27090
	stack =3D 0x0
	dpyinfo =3D 0x105f4d0
	fail =3D 0x0
	last =3D 0x104d5d0
#2  0x00007ffff7cc047b in _XError () at /lib64/libX11.so.6
#3  0x00007ffff7cc0577 in ??? () at /lib64/libX11.so.6
#4  0x00007ffff7cc062d in ??? () at /lib64/libX11.so.6
#5  0x00007ffff7cc22dd in _XReply () at /lib64/libX11.so.6
#6  0x00007ffff7cc265b in XSync () at /lib64/libX11.so.6
#7  0x00007ffff7cc26fb in ??? () at /lib64/libX11.so.6
#8  0x00007ffff7c9ae83 in XCreatePixmap () at /lib64/libX11.so.6
#9  0x00007ffff7c9f10b in XCreatePixmapFromBitmapData () at /lib64/libX11.s=
o.6
#10 0x00000000005acef7 in x_draw_fringe_bitmap (w=3D0x1bf5f80, row=3D0x1c3c=
060, p=3D0x7fffffffbe60) at xterm.c:7993
	clipmask =3D 0
	image_rect =3D {x =3D 1, y =3D 18, width =3D 8, height =3D 0}
	px =3D 0
	pixmap =3D 4785737
	gcv =3D {function =3D -227767256, plane_mask =3D 140737488338224, foregrou=
nd =3D 7102373, background =3D 140737260588072, line_width =3D -17072, line=
_style =3D 32767, cap_style =3D 7102479, join_style =3D 0, fill_style =3D 7=
092985, fill_rule =3D 0, arc_mode =3D -227767256, tile =3D 140737488338560,=
 stipple =3D 7114578, ts_x_origin =3D 0, ts_y_origin =3D 0, font =3D 0, sub=
window_mode =3D 15924032, graphics_exposures =3D 0, clip_x_origin =3D 0, cl=
ip_y_origin =3D 0, clip_mask =3D 15924080, dash_offset =3D 48, dashes =3D 1=
0 '\n'}
	bg =3D {pixel =3D 4769435, red =3D 46245, green =3D 433, blue =3D 0, flags=
 =3D 0 '\000', pad =3D 0 '\000'}
	picture =3D 0
	attrs =3D {repeat =3D 0, alpha_map =3D 0, alpha_x_origin =3D 0, alpha_y_or=
igin =3D 0, clip_x_origin =3D 0, clip_y_origin =3D 0, clip_mask =3D 0, grap=
hics_exposures =3D 0, subwindow_mode =3D 0, poly_edge =3D 0, poly_mode =3D =
0, dither =3D 0, component_alpha =3D 0}
	py =3D 0
	drawable =3D 13631756
	bits =3D 0x1bf4120 ""
	depth =3D 32
	background =3D 4290834431
	dest =3D {x =3D 1, y =3D 18, width =3D 8, height =3D 0}
	pwidth =3D 8
	pheight =3D 0
	f =3D 0x1b1b4a0
	display =3D 0x104d5d0
	gc =3D 0x1ad5840
	face =3D 0x101b720
	clip_rect =3D {x =3D 1, y =3D 1, width =3D 256, height =3D 35}
#11 0x00000000007d4009 in draw_fringe_bitmap_1 (w=3D0x1bf5f80, row=3D0x1c3c=
060, left_p=3D1, overlay=3D0, which=3D26) at fringe.c:711
	f =3D 0x1b1b4a0
	p =3D {which =3D 26, bits =3D 0x1bf4120, wd =3D 8, h =3D 0, dh =3D 0, x =
=3D 1, y =3D 18, bx =3D 1, nx =3D 8, by =3D 1, ny =3D 35, cursor_p =3D fals=
e, overlay_p =3D false, face =3D 0x101b720}
	fb =3D 0x1bf4110
	period =3D 0
	face_id =3D 21
	offset =3D 0
	header_line_height =3D 0
#12 0x00000000007d471d in draw_fringe_bitmap (w=3D0x1bf5f80, row=3D0x1c3c06=
0, left_p=3D1) at fringe.c:880
	overlay =3D 0
#13 0x00000000007d4829 in draw_row_fringe_bitmaps (w=3D0x1bf5f80, row=3D0x1=
c3c060) at fringe.c:901
#14 0x00000000007d4a6e in draw_window_fringes (w=3D0x1bf5f80, no_fringe_p=
=3Dtrue) at fringe.c:949
	row =3D 0x1c3c060
	yb =3D 350
	nrows =3D 18
	y =3D 0
	rn =3D 0
	updated_p =3D false
	window_buffer =3D 0xfe567d
	oldbuf =3D 0x7ffff2856418
#15 0x000000000046dcad in gui_update_window_end (w=3D0x1bf5f80, cursor_on_p=
=3Dtrue, mouse_face_overwritten_p=3Dfalse) at dispnew.c:3948
	f =3D 0x1b1b4a0
#16 0x000000000046da27 in update_window (w=3D0x1bf5f80, force_p=3Dtrue) at =
dispnew.c:3869
	end =3D 0x1af1820
	tab_line_row =3D 0x0
	mouse_face_overwritten_p =3D false
	n_updated =3D 0
	mode_line_row =3D 0x1af1820
	changed_p =3D true
	invisible_rows_marked =3D true
	row =3D 0x1af1820
	header_line_row =3D 0x0
	yb =3D 350
	desired_matrix =3D 0x1b191e0
	paused_p =3D false
	preempt_count =3D 9
	rif =3D 0x8df2a0 <x_redisplay_interface>
#17 0x000000000046cc71 in update_window_tree (w=3D0x1bf5f80, force_p=3Dtrue=
) at dispnew.c:3491
	paused_p =3D false
#18 0x000000000046c61b in update_frame (f=3D0x1b1b4a0, force_p=3Dtrue, inhi=
bit_hairy_id_p=3Dfalse) at dispnew.c:3326
	paused_p =3D false
	root_window =3D 0x1bf5f80
#19 0x00000000004c51b1 in redisplay_internal () at xdisp.c:17468
	gcscrollbars =3D true
	f_redisplay_flag =3D true
	f =3D 0x1b1b4a0
	w =3D 0x11d1690
	sw =3D 0x11d1690
	fr =3D 0x11d13e0
	pending =3D false
	must_finish =3D false
	match_p =3D true
	tlbufpos =3D {charpos =3D 180, bytepos =3D 184}
	tlendpos =3D {charpos =3D 0, bytepos =3D 0}
	number_of_visible_frames =3D 2
	sf =3D 0x11d13e0
	polling_stopped_here =3D true
	tail =3D 0x1a17043
	frame =3D 0x1b1b4a5
	hscroll_retries =3D 0
	garbaged_frame_retries =3D 0
	consider_all_windows_p =3D true
	update_miniwindow_p =3D false
	count =3D {bytes =3D 128}
#20 0x00000000004c2bab in redisplay () at xdisp.c:16563
#21 0x0000000000616041 in read_char (commandflag=3D1, map=3D0x1ba88f3, prev=
_event=3D0x0, used_mouse_menu=3D0x7fffffffd9ef, end_time=3D0x0) at keyboard=
.c:2678
	echo_current =3D true
	c =3D 0x0
	local_getcjmp =3D {{__jmpbuf =3D {140737259281624, 140737259281667, 140737=
488345056, 7102846, 48, 140737259281624, 15924032, 0}, __mask_was_saved =3D=
 0, __saved_mask =3D {__val =3D {140737488345104, 6496078, 140737267083907,=
 140737488345264, 6517891, 15924032, 0, 0, 140737488345168, 7233523, 269844=
32, 140737488345264, 7277134, 29001987, 128, 140737488345264}}}}
	save_jump =3D {{__jmpbuf =3D {140737488344944, 7120998, 140737262216221, 1=
2658762781, 0, 44256, 140737488345136, 140737267219456}, __mask_was_saved =
=3D -226139107, __saved_mask =3D {__val =3D {746, 0, 44256, 15968288, 44256=
, 140737488344944, 55850543136, 140737262216221, 140737488344960, 7101566, =
140737262216221, 140737488344992, 7101662, 7092985, 140737262216221, 140737=
488345056}}}}
	tem =3D 0x1a77dd0
	save =3D 0x1ba88f3
	previous_echo_area_message =3D 0x0
	also_record =3D 0x0
	reread =3D false
	recorded =3D false
	polling_stopped_here =3D false
	orig_kboard =3D 0x104f640
	jmpcount =3D {bytes =3D 0}
#22 0x000000000062a235 in read_key_sequence (keybuf=3D0x7fffffffdc10, promp=
t=3D0x0, dont_downcase_last=3Dfalse, can_return_switch_frame=3Dtrue, fix_cu=
rrent_buffer=3Dtrue, prevent_redisplay=3Dfalse, disable_text_conversion_p=
=3Dfalse) at keyboard.c:10743
	interrupted_kboard =3D 0x104f640
	interrupted_frame =3D 0x11d13e0
	key =3D 0x30
	used_mouse_menu =3D false
	echo_local_start =3D 0
	last_real_key_start =3D 0
	keys_local_start =3D 0
	new_binding =3D 0xba
	count =3D {bytes =3D 96}
	t =3D 0
	echo_start =3D 0
	keys_start =3D 0
	current_binding =3D 0x1ba88f3
	first_unbound =3D 31
	mock_input =3D 0
	used_mouse_menu_history =3D {false <repeats 30 times>}
	fkey =3D {parent =3D 0x7ffff24c7983, map =3D 0x7ffff24c7983, start =3D 0, =
end =3D 0}
	keytran =3D {parent =3D 0x7ffff2cef743, map =3D 0x7ffff2cef743, start =3D =
0, end =3D 0}
	indec =3D {parent =3D 0x7ffff24c7973, map =3D 0x7ffff24c7973, start =3D 0,=
 end =3D 0}
	shift_translated =3D false
	delayed_switch_frame =3D 0x0
	original_uppercase =3D 0x0
	original_uppercase_position =3D -1
	disabled_conversion =3D false
	starting_buffer =3D 0x7ffff2856418
	fake_prefixed_keys =3D 0x0
	first_event =3D 0x0
	second_event =3D 0x0
#23 0x0000000000612514 in command_loop_1 () at keyboard.c:1429
	cmd =3D 0x7ffff175a428
	keybuf =3D {0x20000026, 0x16, 0x2ffffdca0, 0x0, 0x0, 0xb2b0, 0x7ffff3e0b01=
8, 0x7ffff2d1bc30, 0x0, 0xb2b0, 0x7ffff2856418, 0x0, 0x0, 0xf3adf0 <lispsym=
+45744>, 0x6c3af9 <builtin_lisp_symbol+44>, 0x0, 0x7fffffffdd20, 0x6ca866 <=
set_default_internal+914>, 0x7ffff285641d, 0x2006ed6c1, 0x0, 0xb2b0, 0x7fff=
f2d1bc30, 0x7ffff2d1bc30, 0x0, 0x0, 0x7fffffffdd60, 0xb2b0, 0xf3adf0 <lisps=
ym+45744>, 0xb2b0}
	i =3D 1
	last_pt =3D 184
	prev_modiff =3D 110
	prev_buffer =3D 0x7ffff2856418
#24 0x00000000006eac73 in internal_condition_case (bfun=3D0x6120ef <command=
_loop_1>, handlers=3D0x90, hfun=3D0x6115f7 <cmd_error>) at eval.c:1613
	val =3D 0x60e5cf <builtin_lisp_symbol+44>
	c =3D 0x102b850
#25 0x0000000000611cf7 in command_loop_2 (handlers=3D0x90) at keyboard.c:11=
68
	val =3D 0x90
#26 0x00000000006ea0cb in internal_catch (tag=3D0x12270, func=3D0x611cd4 <c=
ommand_loop_2>, arg=3D0x90) at eval.c:1292
	val =3D 0x7fffffffdf20
	c =3D 0x102b710
#27 0x0000000000611c90 in command_loop () at keyboard.c:1146
#28 0x00000000006110d0 in recursive_edit_1 () at keyboard.c:754
	count =3D {bytes =3D 32}
	val =3D 0x6f02e8 <record_unwind_protect+114>
#29 0x00000000006112e3 in Frecursive_edit () at keyboard.c:837
	count =3D {bytes =3D 0}
	buffer =3D 0x0
#30 0x000000000060cf48 in main (argc=3D4, argv=3D0x7fffffffe238) at emacs.c=
:2635
	stack_bottom_variable =3D 0x53
	old_argc =3D 4
	dump_file =3D 0x0
	no_loadup =3D false
	junk =3D 0x0
	dname_arg =3D 0x0
	ch_to_dir =3D 0x0
	original_pwd =3D 0x0
	dump_mode =3D 0x0
	skip_args =3D 0
	temacs =3D 0x0
	attempt_load_pdump =3D true
	only_version =3D false
	rlim =3D {rlim_cur =3D 10022912, rlim_max =3D 18446744073709551615}
	lc_all =3D 0x0
	sockfd =3D -1
	module_assertions =3D false
(gdb)=20




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75199; Package emacs. Full text available.

Message received at 75199 <at> debbugs.gnu.org:


Received: (at 75199) by debbugs.gnu.org; 30 Dec 2024 14:40:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 30 09:40:27 2024
Received: from localhost ([127.0.0.1]:58036 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tSGwV-00059P-CM
	for submit <at> debbugs.gnu.org; Mon, 30 Dec 2024 09:40:27 -0500
Received: from eggs.gnu.org ([209.51.188.92]:35438)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1tSGwS-000595-3v
 for 75199 <at> debbugs.gnu.org; Mon, 30 Dec 2024 09:40:25 -0500
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 <eliz@HIDDEN>)
 id 1tSGwL-0004gF-Qa; Mon, 30 Dec 2024 09:40:17 -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=cWB2GyUR6AvyzDoIa9dtQokJyOs0jpu0C/80H+d+1mU=; b=chAMeQ15fo0t
 mJ9ywTmWIMk/ZWlL9eoXSi3r7U6nijVIvXm8Sg0RpfL19IISz3aDjZPTPw/qIh1mNpaMHn/335mA6
 QbRCUaPvQE0wYZ/s6WZpjhHhKrCQLPpV51orfcv1euPgyfsuCcRel31Vw5zofUp3OGYUAbZ1Oz1NQ
 +BmQHXWPD11xcITXQYrw4kBPu0vijx64arRaEu+HiGHhFdqHEZEZhTDY+F1fu4kSNkDQTIcJ+AG/m
 Y4nZK1ISrPBv2iCfKVsoAEcQZvImvQ/cOOBzx74LzIJ3JAyl12PQ6+9Ey9ClY6PCYcl5lY8fPTkHj
 ZtRYmOUz2Grsvxmq8LjFtQ==;
Date: Mon, 30 Dec 2024 16:40:15 +0200
Message-Id: <86ttalnsj4.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Zhengyi Fu <i@HIDDEN>, Po Lu <luangruo@HIDDEN>
In-Reply-To: <87cyh9qq64.fsf@HIDDEN> (message from Zhengyi Fu on Mon, 30 Dec
 2024 21:02:59 +0800)
Subject: Re: bug#75199: 30.0.93; Emacs crashes when completing with corfu
References: <87cyh9qq64.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 75199
Cc: 75199 <at> debbugs.gnu.org
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: -3.3 (---)

> From: Zhengyi Fu <i@HIDDEN>
> Date: Mon, 30 Dec 2024 21:02:59 +0800
> 
> Emacs built without Cairo steadily crashes when trying to complete
> symbols with Corfu.
> 
> Steps to reproduce:
> 
> 1. emacs -Q -l path/to/corfu.el
> 2. M-x corfu-mode
> 3. Try completing a simple by pressing C-M-i
> 
> I got the following backtrace from GDB by reproducing the bug after
> evaluating (x-synchronize t):
> 
> (gdb) br x_error_quitter
> Breakpoint 1 at 0x550530: file xterm.c, line 27111.
> (gdb) r
> Starting program: /home/zhengyi/src/emacs/src/emacs -Q -l \~/.emacs.d/straight/repos/corfu/corfu.el
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib64/libthread_db.so.1".
> [New Thread 0x7ffff13fe6c0 (LWP 15400)]
> [New Thread 0x7ffff0a6e6c0 (LWP 15401)]
> [New Thread 0x7fffebfff6c0 (LWP 15402)]
> [New Thread 0x7fffeb66f6c0 (LWP 15403)]
> 
> Thread 1 "emacs" hit Breakpoint 1, x_error_quitter (display=0xe19910, event=0x0) at xterm.c:27111
> 27111	  if (event->error_code == BadName)
> (gdb) bt full
> #0  x_error_quitter (display=0xe19910, event=0x0) at xterm.c:27111
> 	buf = '\000' <repeats 255 times>
> 	buf1 = '\000' <repeats 272 times>...
> #1  0x000000000055076b in x_error_handler (display=0xe19910, event=0x7fffffffba70) at xterm.c:27090
> 	stack = <optimized out>
> 	dpyinfo = <optimized out>
> 	fail = <optimized out>
> 	last = <optimized out>

I don't understand how 'event', which was 0x7fffffffba70 in
x_error_handler became a NULL pointer inside x_error_quitter, which
x_error_handler calls.

Po Lu, any ideas?

Zhengyi Fu, can you configure Emacs 30.0.93 with --enable-checking and
compile it with -O0, and see if you get more detailed diagnostics?

Also, does disabling the X input method help in any way?  (I see you
are using fcitx.)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75199; Package emacs. Full text available.

Message received at 75199 <at> debbugs.gnu.org:


Received: (at 75199) by debbugs.gnu.org; 30 Dec 2024 14:25:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 30 09:25:25 2024
Received: from localhost ([127.0.0.1]:58016 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tSGhw-0004Sa-R0
	for submit <at> debbugs.gnu.org; Mon, 30 Dec 2024 09:25:25 -0500
Received: from relay5-d.mail.gandi.net ([217.70.183.197]:58857)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <i@HIDDEN>) id 1tSGht-0004KO-Ms
 for 75199 <at> debbugs.gnu.org; Mon, 30 Dec 2024 09:25:22 -0500
Received: by mail.gandi.net (Postfix) with ESMTPSA id 4224F1C0004
 for <75199 <at> debbugs.gnu.org>; Mon, 30 Dec 2024 14:25:14 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fuzy.me; s=gm1;
 t=1735568715;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=VqbgY2DCS1DH5y7NtdLQIVz1gRtDXOzCa8Te2Tfdu7U=;
 b=i4IoCZI06cUf7Bac0gbUvJCVRtm368CGJ+0RnEp5doEGYV3XPgiqJL0+1lSJfMnuKVu7Cn
 hz2vIRzBoqw7Ch/WYYUPJ3QQQ7GCMaW/YP2uFWJrOdIX9G81MmuAyWBu5K8JmTshotnhRa
 65QQ5hFp1ePICeGMsy/BM8qHj4D8cAlFdJTASxm7WxxjlCuE5ouBE1yrzytKdrAH9mIndR
 dVjhTjLrKxNXtm7CwsS+4TDNAhdj5j3DoLOsR1+p1q2WvwLm614vPGoKvjqoKl8YAxr+8y
 UJk9fCbCOefNFJRjSaBxjHvgE3CnuWjzdCbykDIA14O7l9GFQYn6FMo03yMjog==
MIME-Version: 1.0
Date: Mon, 30 Dec 2024 22:25:14 +0800
From: Zhengyi Fu <i@HIDDEN>
To: 75199 <at> debbugs.gnu.org
Subject: Re: bug#75199: Acknowledgement (30.0.93; Emacs crashes when
 completing with corfu)
In-Reply-To: <handler.75199.B.17355638041034.ack <at> debbugs.gnu.org>
References: <87cyh9qq64.fsf@HIDDEN>
 <handler.75199.B.17355638041034.ack <at> debbugs.gnu.org>
Message-ID: <c8be338b26f53be2b00f67040279fd89@HIDDEN>
X-Sender: i@HIDDEN
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
X-GND-Sasl: id@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 75199
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.7 (-)

The error is probably caused by the width value of 0 passed to 
XCreatePixmapFromBitmapData().

It seems gui_intersect_rectangles() returns true even if the resulted 
rectangle is empty.  Is that correct behavior?





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75199; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 Dec 2024 13:03:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 30 08:03:24 2024
Received: from localhost ([127.0.0.1]:57755 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tSFQY-0000Ga-Ch
	for submit <at> debbugs.gnu.org; Mon, 30 Dec 2024 08:03:24 -0500
Received: from lists.gnu.org ([209.51.188.17]:42622)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <i@HIDDEN>) id 1tSFQU-0000GQ-G3
 for submit <at> debbugs.gnu.org; Mon, 30 Dec 2024 08:03:21 -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 <i@HIDDEN>) id 1tSFQU-0007Kg-6F
 for bug-gnu-emacs@HIDDEN; Mon, 30 Dec 2024 08:03:18 -0500
Received: from relay6-d.mail.gandi.net ([217.70.183.198])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <i@HIDDEN>) id 1tSFQO-0000fF-MG
 for bug-gnu-emacs@HIDDEN; Mon, 30 Dec 2024 08:03:17 -0500
Received: by mail.gandi.net (Postfix) with ESMTPSA id 21629C0006
 for <bug-gnu-emacs@HIDDEN>; Mon, 30 Dec 2024 13:03:03 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fuzy.me; s=gm1;
 t=1735563786;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=aBve6SFMYv7X2xGDijO4Ticb2rgL8+Mbzd98r5aIINI=;
 b=QK5UbxADCmFysbfMZtziB7s/2CWS6B50ji/QgdO+HG2eADb7/yrBU2+5dt7/lbTCChef8t
 unQBK7DAMhBxWnrUEGalAnj1p8YlhnYCSsMvTzXvhGs6YbFZHDOZz1e3YF/djL5qRdNdQy
 KhYvNR5NLYcoHl8mmwW9KT2KR1Dnd5nYeHlMVOlasBAMhUfN0TIycfeD22r1HXpFAsttJ9
 5PA8IUm6UAMA0kI30kZVa5BU6QDLkJLehbnJQNYaVLN2oHsEAPOHXRXbdn+fnUUnvQYz3z
 qXC10RBSPFpPGotnquaId+7gBjThw8/bRpKJZ769zMR1/Stay0Nuhk7G2u8PVw==
From: Zhengyi Fu <i@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.0.93; Emacs crashes when completing with corfu
X-Debbugs-Cc: 
Date: Mon, 30 Dec 2024 21:02:59 +0800
Message-ID: <87cyh9qq64.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: id@HIDDEN
Received-SPF: pass client-ip=217.70.183.198; envelope-from=i@HIDDEN;
 helo=relay6-d.mail.gandi.net
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
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: -2.6 (--)


Hi.

Emacs built without Cairo steadily crashes when trying to complete
symbols with Corfu.

Steps to reproduce:

1. emacs -Q -l path/to/corfu.el
2. M-x corfu-mode
3. Try completing a simple by pressing C-M-i

I got the following backtrace from GDB by reproducing the bug after
evaluating (x-synchronize t):

(gdb) br x_error_quitter
Breakpoint 1 at 0x550530: file xterm.c, line 27111.
(gdb) r
Starting program: /home/zhengyi/src/emacs/src/emacs -Q -l \~/.emacs.d/straight/repos/corfu/corfu.el
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff13fe6c0 (LWP 15400)]
[New Thread 0x7ffff0a6e6c0 (LWP 15401)]
[New Thread 0x7fffebfff6c0 (LWP 15402)]
[New Thread 0x7fffeb66f6c0 (LWP 15403)]

Thread 1 "emacs" hit Breakpoint 1, x_error_quitter (display=0xe19910, event=0x0) at xterm.c:27111
27111	  if (event->error_code == BadName)
(gdb) bt full
#0  x_error_quitter (display=0xe19910, event=0x0) at xterm.c:27111
	buf = '\000' <repeats 255 times>
	buf1 = '\000' <repeats 272 times>...
#1  0x000000000055076b in x_error_handler (display=0xe19910, event=0x7fffffffba70) at xterm.c:27090
	stack = <optimized out>
	dpyinfo = <optimized out>
	fail = <optimized out>
	last = <optimized out>
#2  0x00007ffff7cc047b in _XError () at /lib64/libX11.so.6
#3  0x00007ffff7cc0577 in ??? () at /lib64/libX11.so.6
#4  0x00007ffff7cc062d in ??? () at /lib64/libX11.so.6
#5  0x00007ffff7cc22dd in _XReply () at /lib64/libX11.so.6
#6  0x00007ffff7cc265b in XSync () at /lib64/libX11.so.6
#7  0x00007ffff7cc26fb in ??? () at /lib64/libX11.so.6
#8  0x00007ffff7c9ae83 in XCreatePixmap () at /lib64/libX11.so.6
#9  0x00007ffff7c9f10b in XCreatePixmapFromBitmapData () at /lib64/libX11.so.6
#10 0x0000000000546e20 in x_draw_fringe_bitmap (w=<optimized out>, row=<optimized out>, p=0x7fffffffbfd0) at xterm.c:7993
	clipmask = 0
	image_rect = {x = 1, y = 18, width = 8, height = 0}
	px = 0
	pixmap = <optimized out>
	gcv = {function = -16576, plane_mask = 25570016, foreground = 0, background = 26339856, line_width = 0, line_style = 0, cap_style = -137583546, join_style = 32767, fill_style = 0, fill_rule = 1, arc_mode = 25570016, tile = 206158430240, stipple = 140737488338992, ts_x_origin = -16544, ts_y_origin = 32767, font = 5533212596374081280, subwindow_mode = -16528, graphics_exposures = 32767, clip_x_origin = 7277729, clip_y_origin = 0, clip_mask = 25266384, dash_offset = 0, dashes = 0 '\000'}
	bg = {pixel = 0, red = 0, green = 0, blue = 0, flags = 0 '\000', pad = 0 '\000'}
	picture = 0
	attrs = {repeat = 0, alpha_map = 0, alpha_x_origin = 0, alpha_y_origin = 0, clip_x_origin = 0, clip_y_origin = 0, clip_mask = 0, graphics_exposures = 0, subwindow_mode = 0, poly_edge = 0, poly_mode = 0, dither = 0, component_alpha = 0}
	py = 0
	drawable = 13631722
	bits = 0x192bfe0 ""
	depth = 32
	background = 4290834431
	dest = {x = 1, y = 18, width = 8, height = 0}
	pwidth = 8
	pheight = 0
	f = 0x1925768
	display = 0xe19910
	gc = 0x190b4b0
	face = 0x190a4c0
	clip_rect = {x = 1, y = 1, width = 256, height = 35}
#11 0x00000000006b95f0 in draw_fringe_bitmap_1 (w=w@entry=0x1925a18, row=row@entry=0x1699ca0, left_p=left_p@entry=1, overlay=<optimized out>, which=<optimized out>, which@entry=0) at fringe.c:711
	f = 0x1925768
	p = {which = 26, bits = 0x192bfe0, wd = 8, h = 0, dh = 0, x = 1, y = 18, bx = 1, nx = 8, by = 1, ny = 35, cursor_p = false, overlay_p = false, face = 0x190a4c0}
	fb = <optimized out>
	period = <optimized out>
	face_id = <optimized out>
	offset = <optimized out>
	header_line_height = <optimized out>
#12 0x00000000006ba8b3 in draw_fringe_bitmap (w=w@entry=0x1925a18, row=row@entry=0x1699ca0, left_p=left_p@entry=1) at fringe.c:880
	overlay = <optimized out>
#13 0x00000000006bab0b in draw_row_fringe_bitmaps (w=w@entry=0x1925a18, row=row@entry=0x1699ca0) at fringe.c:901
#14 0x00000000006bac39 in draw_window_fringes (w=w@entry=0x1925a18, no_fringe_p=no_fringe_p@entry=true) at fringe.c:949
	row = 0x1699ca0
	yb = 350
	nrows = <optimized out>
	y = 0
	rn = 0
	updated_p = <optimized out>
	window_buffer = <optimized out>
	oldbuf = <optimized out>
#15 0x00000000004764ad in gui_update_window_end (w=0x1925a18, cursor_on_p=true, mouse_face_overwritten_p=<optimized out>) at dispnew.c:3948
	f = 0x1925768
#16 0x0000000000476e2c in update_window (w=w@entry=0x1925a18, force_p=<optimized out>, force_p@entry=true) at dispnew.c:3869
	end = <optimized out>
	tab_line_row = <optimized out>
	mouse_face_overwritten_p = false
	n_updated = <optimized out>
	mode_line_row = <optimized out>
	changed_p = <optimized out>
	invisible_rows_marked = <optimized out>
	row = <optimized out>
	header_line_row = <optimized out>
	yb = <optimized out>
	desired_matrix = <optimized out>
	paused_p = <optimized out>
	preempt_count = <optimized out>
	rif = <optimized out>
#17 0x00000000004783bb in update_window_tree (w=w@entry=0x1925a18, force_p=force_p@entry=true) at dispnew.c:3491
	paused_p = false
#18 0x000000000047865b in update_frame (f=f@entry=0x1925768, force_p=true, force_p@entry=false, inhibit_hairy_id_p=inhibit_hairy_id_p@entry=false) at dispnew.c:3326
	paused_p = <optimized out>
	root_window = 0x1925a18
#19 0x00000000004bda3e in redisplay_internal () at xdisp.c:17468
	gcscrollbars = <optimized out>
	f_redisplay_flag = <optimized out>
	f = 0x1925768
	w = <optimized out>
	sw = <optimized out>
	fr = <optimized out>
	pending = <optimized out>
	must_finish = <optimized out>
	match_p = <optimized out>
	tlbufpos = {charpos = <optimized out>, bytepos = <optimized out>}
	tlendpos = {charpos = <optimized out>, bytepos = <optimized out>}
	number_of_visible_frames = <optimized out>
	sf = <optimized out>
	polling_stopped_here = true
	tail = 0x17449c3
	frame = <optimized out>
	hscroll_retries = <optimized out>
	garbaged_frame_retries = 0
	consider_all_windows_p = <optimized out>
	update_miniwindow_p = <optimized out>
	count = {bytes = <optimized out>}
	retry = <optimized out>
	retry_frame = <optimized out>
#20 0x00000000004beb45 in redisplay () at xdisp.c:16563
#21 0x000000000059558f in read_char (commandflag=1, map=map@entry=0x18d6403, prev_event=0x0, used_mouse_menu=used_mouse_menu@entry=0x7fffffffdcab, end_time=end_time@entry=0x0) at keyboard.c:2678
	echo_current = true
	c = 0x0
	local_getcjmp = {{__jmpbuf = {25122933, 37728, 754, 1, 48000, 3, 1, 6859535}, __mask_was_saved = 0, __saved_mask = {__val = {140737256524659, 48000, 48000, 0, 4611686018528051200, 4611686019484352512, 3, 24638176, 6859535, 24638179, 4295015296, 48000, 140737260365637, 48000, 754, 188}}}}
	save_jump = {{__jmpbuf = {0, 6319211, 140737260365632, 140737488345616, 0, 0, 140737260365632, 0}, __mask_was_saved = 0, __saved_mask = {__val = {187, 189, 1, 0, 128, 128, 0, 0, 44256, 140737260365632, 6381652, 11, 140737258920056, 140737266663336, 6302047, 140737245512808}}}}
	tem = <optimized out>
	save = <optimized out>
	previous_echo_area_message = 0x0
	also_record = 0x0
	reread = false
	recorded = false
	polling_stopped_here = false
	orig_kboard = 0xe24710
	retry = <optimized out>
	jmpcount = {bytes = <optimized out>}
#22 0x000000000059968d in read_key_sequence (keybuf=keybuf@entry=0x7fffffffdde0, prompt=prompt@entry=0x0, dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false, disable_text_conversion_p=false) at keyboard.c:10743
	interrupted_kboard = 0xe24710
	interrupted_frame = <optimized out>
	key = <optimized out>
	used_mouse_menu = false
	echo_local_start = 0
	last_real_key_start = <optimized out>
	keys_local_start = 0
	new_binding = <optimized out>
	count = {bytes = <optimized out>}
	t = <optimized out>
	echo_start = 0
	keys_start = 0
	current_binding = 0x18d6403
	first_unbound = 31
	mock_input = <optimized out>
	used_mouse_menu_history = {false <repeats 30 times>}
	fkey = {parent = 0x7ffff233d1a3, map = <optimized out>, start = 0, end = 0}
	keytran = {parent = 0x7ffff2c88cab, map = <optimized out>, start = 0, end = 0}
	indec = {parent = 0x7ffff233d193, map = <optimized out>, start = 0, end = 0}
	shift_translated = <optimized out>
	delayed_switch_frame = <optimized out>
	original_uppercase = <optimized out>
	original_uppercase_position = <optimized out>
	disabled_conversion = <optimized out>
	starting_buffer = <optimized out>
	fake_prefixed_keys = 0x0
	first_event = 0x0
	second_event = <optimized out>
#23 0x000000000059b276 in command_loop_1 () at keyboard.c:1429
	cmd = <optimized out>
	keybuf = {0x20000026, 0x16, 0x136b0, 0x7ffff2b93a84, 0x7ffff2b93a84, 0x136b0, 0x30, 0x0, 0x0, 0x7fffffffdee0, 0x80, 0x4000000012000000, 0x0, 0x6183d3 <eval_sub+2163>, 0x646e756f00000000, 0x7ffff27093e0, 0x0, 0x7ffff3ffcac0 <main_arena>, 0x12, 0x60, 0x60, 0x7ffff2338643, 0x0, 0xb2b0, 0x7fffffffe060, 0x616054 <unbind_to+244>, 0xb, 0xb2b0, 0x0, 0x7ffff2692745}
	i = <optimized out>
	last_pt = <optimized out>
	prev_modiff = 148
	prev_buffer = 0x7ffff2692740
#24 0x0000000000614cf7 in internal_condition_case (bfun=bfun@entry=0x59b0c0 <command_loop_1>, handlers=handlers@entry=0x90, hfun=hfun@entry=0x58ea20 <cmd_error>) at eval.c:1613
	val = <optimized out>
	c = 0xe86470
#25 0x00000000005868f2 in command_loop_2 (handlers=handlers@entry=0x90) at keyboard.c:1168
	val = <optimized out>
#26 0x0000000000614c51 in internal_catch (tag=tag@entry=0x12270, func=func@entry=0x5868d0 <command_loop_2>, arg=arg@entry=0x90) at eval.c:1292
	val = <optimized out>
	c = 0xe86330
#27 0x000000000058688f in command_loop () at keyboard.c:1146
#28 0x000000000058e5c1 in recursive_edit_1 () at keyboard.c:754
	count = {bytes = <optimized out>}
	val = <optimized out>
#29 0x000000000058e94e in Frecursive_edit () at keyboard.c:837
	count = {bytes = <optimized out>}
	buffer = <optimized out>
#30 0x000000000046e192 in main (argc=<optimized out>, argv=<optimized out>) at emacs.c:2635
	stack_bottom_variable = 0x18
	old_argc = <optimized out>
	no_loadup = false
	junk = 0x0
	dname_arg = 0x0
	ch_to_dir = 0x0
	original_pwd = <optimized out>
	dump_mode = <optimized out>
	skip_args = 0
	temacs = 0x0
	attempt_load_pdump = <optimized out>
	only_version = false
	rlim = {rlim_cur = 10022912, rlim_max = 18446744073709551615}
	lc_all = <optimized out>
	sockfd = -1
	module_assertions = <optimized out>


In GNU Emacs 30.0.93 (build 2, x86_64-pc-linux-gnu) of 2024-12-30 built
 on vbox
Repository revision: d47a7d6f0feff57f52db79c3e7e0b7f51566a140
Repository branch: emacs-30
Windowing system distributor 'The X.Org Foundation', version 11.0.12101014
System Description: openSUSE Tumbleweed

Configured using:
 'configure --with-xft --without-cairo --with-x-toolkit=no'

Configured features:
DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LIBSELINUX
LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY OLDXMENU PDUMPER PNG RSVG
SECCOMP SOUND SQLITE3 THREADS TIFF TREE_SITTER X11 XDBE XFT XIM XINPUT2
XPM ZLIB

Important settings:
  value of $LC_CTYPE: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=fcitx
  locale-coding-system: utf-8-unix

Major mode: Debugger

Minor modes in effect:
  ws-butler-global-mode: t
  recentf-mode: t
  global-auto-revert-mode: t
  global-diff-hl-mode: t
  save-place-mode: t
  lin-global-mode: t
  corfu-popupinfo-mode: t
  corfu-history-mode: t
  nerd-icons-completion-mode: t
  marginalia-mode: t
  savehist-mode: t
  vertico-mode: t
  server-mode: t
  kill-ring-deindent-mode: t
  pulsar-global-mode: t
  pulsar-mode: t
  doom-modeline-mode: t
  global-dash-fontify-mode: t
  meow-global-mode: t
  meow-mode: t
  meow-normal-mode: t
  meow-esc-mode: t
  straight-use-package-mode: t
  straight-package-neutering-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-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:
/home/zhengyi/.emacs.d/straight/build-30.0.93/transient/transient hides /home/zhengyi/src/emacs/lisp/transient
/home/zhengyi/.emacs.d/straight/build-30.0.93/jsonrpc/jsonrpc hides /home/zhengyi/src/emacs/lisp/jsonrpc
/home/zhengyi/.emacs.d/straight/build-30.0.93/editorconfig/editorconfig hides /home/zhengyi/src/emacs/lisp/editorconfig
/home/zhengyi/.emacs.d/straight/build-30.0.93/external-completion/external-completion hides /home/zhengyi/src/emacs/lisp/external-completion
/home/zhengyi/.emacs.d/straight/build-30.0.93/editorconfig/editorconfig-tools hides /home/zhengyi/src/emacs/lisp/editorconfig-tools
/home/zhengyi/.emacs.d/straight/build-30.0.93/editorconfig/editorconfig-fnmatch hides /home/zhengyi/src/emacs/lisp/editorconfig-fnmatch
/home/zhengyi/.emacs.d/straight/build-30.0.93/editorconfig/editorconfig-core-handle hides /home/zhengyi/src/emacs/lisp/editorconfig-core-handle
/home/zhengyi/.emacs.d/straight/build-30.0.93/editorconfig/editorconfig-conf-mode hides /home/zhengyi/src/emacs/lisp/editorconfig-conf-mode
/home/zhengyi/.emacs.d/straight/build-30.0.93/editorconfig/editorconfig-core hides /home/zhengyi/src/emacs/lisp/editorconfig-core
/home/zhengyi/.emacs.d/straight/build-30.0.93/modus-themes/theme-loaddefs hides /home/zhengyi/src/emacs/lisp/theme-loaddefs
/home/zhengyi/.emacs.d/straight/build-30.0.93/xref/xref hides /home/zhengyi/src/emacs/lisp/progmodes/xref
/home/zhengyi/.emacs.d/straight/build-30.0.93/project/project hides /home/zhengyi/src/emacs/lisp/progmodes/project
/home/zhengyi/.emacs.d/straight/build-30.0.93/peg/peg hides /home/zhengyi/src/emacs/lisp/progmodes/peg
/home/zhengyi/.emacs.d/straight/build-30.0.93/eglot/eglot hides /home/zhengyi/src/emacs/lisp/progmodes/eglot
/home/zhengyi/.emacs.d/straight/build-30.0.93/flymake/flymake hides /home/zhengyi/src/emacs/lisp/progmodes/flymake
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ox-latex hides /home/zhengyi/src/emacs/lisp/org/ox-latex
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org hides /home/zhengyi/src/emacs/lisp/org/org
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ox-html hides /home/zhengyi/src/emacs/lisp/org/ox-html
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-persist hides /home/zhengyi/src/emacs/lisp/org/org-persist
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-table hides /home/zhengyi/src/emacs/lisp/org/org-table
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-lint hides /home/zhengyi/src/emacs/lisp/org/org-lint
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-agenda hides /home/zhengyi/src/emacs/lisp/org/org-agenda
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-macs hides /home/zhengyi/src/emacs/lisp/org/org-macs
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-indent hides /home/zhengyi/src/emacs/lisp/org/org-indent
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-goto hides /home/zhengyi/src/emacs/lisp/org/org-goto
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-loaddefs hides /home/zhengyi/src/emacs/lisp/org/org-loaddefs
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-clock hides /home/zhengyi/src/emacs/lisp/org/org-clock
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-feed hides /home/zhengyi/src/emacs/lisp/org/org-feed
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-attach hides /home/zhengyi/src/emacs/lisp/org/org-attach
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-element-ast hides /home/zhengyi/src/emacs/lisp/org/org-element-ast
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-compat hides /home/zhengyi/src/emacs/lisp/org/org-compat
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-python hides /home/zhengyi/src/emacs/lisp/org/ob-python
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-R hides /home/zhengyi/src/emacs/lisp/org/ob-R
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-processing hides /home/zhengyi/src/emacs/lisp/org/ob-processing
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-julia hides /home/zhengyi/src/emacs/lisp/org/ob-julia
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-core hides /home/zhengyi/src/emacs/lisp/org/ob-core
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ol-eshell hides /home/zhengyi/src/emacs/lisp/org/ol-eshell
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-clojure hides /home/zhengyi/src/emacs/lisp/org/ob-clojure
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-exp hides /home/zhengyi/src/emacs/lisp/org/ob-exp
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-element hides /home/zhengyi/src/emacs/lisp/org/org-element
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ox hides /home/zhengyi/src/emacs/lisp/org/ox
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ol hides /home/zhengyi/src/emacs/lisp/org/ol
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ox-publish hides /home/zhengyi/src/emacs/lisp/org/ox-publish
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ox-odt hides /home/zhengyi/src/emacs/lisp/org/ox-odt
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ox-org hides /home/zhengyi/src/emacs/lisp/org/ox-org
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ox-md hides /home/zhengyi/src/emacs/lisp/org/ox-md
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ox-man hides /home/zhengyi/src/emacs/lisp/org/ox-man
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ox-koma-letter hides /home/zhengyi/src/emacs/lisp/org/ox-koma-letter
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ox-beamer hides /home/zhengyi/src/emacs/lisp/org/ox-beamer
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ox-icalendar hides /home/zhengyi/src/emacs/lisp/org/ox-icalendar
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ox-ascii hides /home/zhengyi/src/emacs/lisp/org/ox-ascii
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-timer hides /home/zhengyi/src/emacs/lisp/org/org-timer
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-tempo hides /home/zhengyi/src/emacs/lisp/org/org-tempo
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-src hides /home/zhengyi/src/emacs/lisp/org/org-src
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-mobile hides /home/zhengyi/src/emacs/lisp/org/org-mobile
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-num hides /home/zhengyi/src/emacs/lisp/org/org-num
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-refile hides /home/zhengyi/src/emacs/lisp/org/org-refile
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-mouse hides /home/zhengyi/src/emacs/lisp/org/org-mouse
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-protocol hides /home/zhengyi/src/emacs/lisp/org/org-protocol
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-plot hides /home/zhengyi/src/emacs/lisp/org/org-plot
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-pcomplete hides /home/zhengyi/src/emacs/lisp/org/org-pcomplete
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-list hides /home/zhengyi/src/emacs/lisp/org/org-list
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-inlinetask hides /home/zhengyi/src/emacs/lisp/org/org-inlinetask
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-habit hides /home/zhengyi/src/emacs/lisp/org/org-habit
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-id hides /home/zhengyi/src/emacs/lisp/org/org-id
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-keys hides /home/zhengyi/src/emacs/lisp/org/org-keys
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-fold hides /home/zhengyi/src/emacs/lisp/org/org-fold
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-fold-core hides /home/zhengyi/src/emacs/lisp/org/org-fold-core
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-footnote hides /home/zhengyi/src/emacs/lisp/org/org-footnote
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-datetree hides /home/zhengyi/src/emacs/lisp/org/org-datetree
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-ctags hides /home/zhengyi/src/emacs/lisp/org/org-ctags
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-faces hides /home/zhengyi/src/emacs/lisp/org/org-faces
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-entities hides /home/zhengyi/src/emacs/lisp/org/org-entities
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-duration hides /home/zhengyi/src/emacs/lisp/org/org-duration
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-cycle hides /home/zhengyi/src/emacs/lisp/org/org-cycle
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-colview hides /home/zhengyi/src/emacs/lisp/org/org-colview
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-capture hides /home/zhengyi/src/emacs/lisp/org/org-capture
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-attach-git hides /home/zhengyi/src/emacs/lisp/org/org-attach-git
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-archive hides /home/zhengyi/src/emacs/lisp/org/org-archive
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-crypt hides /home/zhengyi/src/emacs/lisp/org/org-crypt
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ol-gnus hides /home/zhengyi/src/emacs/lisp/org/ol-gnus
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ol-w3m hides /home/zhengyi/src/emacs/lisp/org/ol-w3m
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ol-rmail hides /home/zhengyi/src/emacs/lisp/org/ol-rmail
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ol-man hides /home/zhengyi/src/emacs/lisp/org/ol-man
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ol-mhe hides /home/zhengyi/src/emacs/lisp/org/ol-mhe
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ol-irc hides /home/zhengyi/src/emacs/lisp/org/ol-irc
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ol-eww hides /home/zhengyi/src/emacs/lisp/org/ol-eww
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ol-info hides /home/zhengyi/src/emacs/lisp/org/ol-info
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ol-bibtex hides /home/zhengyi/src/emacs/lisp/org/ol-bibtex
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ol-docview hides /home/zhengyi/src/emacs/lisp/org/ol-docview
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ol-bbdb hides /home/zhengyi/src/emacs/lisp/org/ol-bbdb
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ol-doi hides /home/zhengyi/src/emacs/lisp/org/ol-doi
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/oc-natbib hides /home/zhengyi/src/emacs/lisp/org/oc-natbib
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/oc-csl hides /home/zhengyi/src/emacs/lisp/org/oc-csl
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-tangle hides /home/zhengyi/src/emacs/lisp/org/ob-tangle
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-sqlite hides /home/zhengyi/src/emacs/lisp/org/ob-sqlite
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/oc-bibtex hides /home/zhengyi/src/emacs/lisp/org/oc-bibtex
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/oc-biblatex hides /home/zhengyi/src/emacs/lisp/org/oc-biblatex
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/oc-basic hides /home/zhengyi/src/emacs/lisp/org/oc-basic
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-sql hides /home/zhengyi/src/emacs/lisp/org/ob-sql
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-table hides /home/zhengyi/src/emacs/lisp/org/ob-table
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-shell hides /home/zhengyi/src/emacs/lisp/org/ob-shell
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-sed hides /home/zhengyi/src/emacs/lisp/org/ob-sed
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-screen hides /home/zhengyi/src/emacs/lisp/org/ob-screen
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-scheme hides /home/zhengyi/src/emacs/lisp/org/ob-scheme
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-sass hides /home/zhengyi/src/emacs/lisp/org/ob-sass
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-ruby hides /home/zhengyi/src/emacs/lisp/org/ob-ruby
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-ref hides /home/zhengyi/src/emacs/lisp/org/ob-ref
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-fortran hides /home/zhengyi/src/emacs/lisp/org/ob-fortran
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-plantuml hides /home/zhengyi/src/emacs/lisp/org/ob-plantuml
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-perl hides /home/zhengyi/src/emacs/lisp/org/ob-perl
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-org hides /home/zhengyi/src/emacs/lisp/org/ob-org
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-maxima hides /home/zhengyi/src/emacs/lisp/org/ob-maxima
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-octave hides /home/zhengyi/src/emacs/lisp/org/ob-octave
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-ocaml hides /home/zhengyi/src/emacs/lisp/org/ob-ocaml
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-matlab hides /home/zhengyi/src/emacs/lisp/org/ob-matlab
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-makefile hides /home/zhengyi/src/emacs/lisp/org/ob-makefile
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-lua hides /home/zhengyi/src/emacs/lisp/org/ob-lua
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-lisp hides /home/zhengyi/src/emacs/lisp/org/ob-lisp
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-lob hides /home/zhengyi/src/emacs/lisp/org/ob-lob
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-lilypond hides /home/zhengyi/src/emacs/lisp/org/ob-lilypond
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-latex hides /home/zhengyi/src/emacs/lisp/org/ob-latex
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-C hides /home/zhengyi/src/emacs/lisp/org/ob-C
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-java hides /home/zhengyi/src/emacs/lisp/org/ob-java
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-js hides /home/zhengyi/src/emacs/lisp/org/ob-js
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-haskell hides /home/zhengyi/src/emacs/lisp/org/ob-haskell
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-gnuplot hides /home/zhengyi/src/emacs/lisp/org/ob-gnuplot
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-groovy hides /home/zhengyi/src/emacs/lisp/org/ob-groovy
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-forth hides /home/zhengyi/src/emacs/lisp/org/ob-forth
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-eshell hides /home/zhengyi/src/emacs/lisp/org/ob-eshell
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-emacs-lisp hides /home/zhengyi/src/emacs/lisp/org/ob-emacs-lisp
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-eval hides /home/zhengyi/src/emacs/lisp/org/ob-eval
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob hides /home/zhengyi/src/emacs/lisp/org/ob
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-dot hides /home/zhengyi/src/emacs/lisp/org/ob-dot
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-ditaa hides /home/zhengyi/src/emacs/lisp/org/ob-ditaa
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-css hides /home/zhengyi/src/emacs/lisp/org/ob-css
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-comint hides /home/zhengyi/src/emacs/lisp/org/ob-comint
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-calc hides /home/zhengyi/src/emacs/lisp/org/ob-calc
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ob-awk hides /home/zhengyi/src/emacs/lisp/org/ob-awk
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/ox-texinfo hides /home/zhengyi/src/emacs/lisp/org/ox-texinfo
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/oc hides /home/zhengyi/src/emacs/lisp/org/oc
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-macro hides /home/zhengyi/src/emacs/lisp/org/org-macro
/home/zhengyi/.emacs.d/straight/build-30.0.93/org/org-version hides /home/zhengyi/src/emacs/lisp/org/org-version
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-status-sidebar hides /home/zhengyi/src/emacs/lisp/erc/erc-status-sidebar
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-track hides /home/zhengyi/src/emacs/lisp/erc/erc-track
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-truncate hides /home/zhengyi/src/emacs/lisp/erc/erc-truncate
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-speedbar hides /home/zhengyi/src/emacs/lisp/erc/erc-speedbar
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-stamp hides /home/zhengyi/src/emacs/lisp/erc/erc-stamp
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-spelling hides /home/zhengyi/src/emacs/lisp/erc/erc-spelling
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-services hides /home/zhengyi/src/emacs/lisp/erc/erc-services
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-nicks hides /home/zhengyi/src/emacs/lisp/erc/erc-nicks
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-sasl hides /home/zhengyi/src/emacs/lisp/erc/erc-sasl
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-pcomplete hides /home/zhengyi/src/emacs/lisp/erc/erc-pcomplete
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-notify hides /home/zhengyi/src/emacs/lisp/erc/erc-notify
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc hides /home/zhengyi/src/emacs/lisp/erc/erc
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-match hides /home/zhengyi/src/emacs/lisp/erc/erc-match
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-networks hides /home/zhengyi/src/emacs/lisp/erc/erc-networks
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-log hides /home/zhengyi/src/emacs/lisp/erc/erc-log
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-join hides /home/zhengyi/src/emacs/lisp/erc/erc-join
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-imenu hides /home/zhengyi/src/emacs/lisp/erc/erc-imenu
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-loaddefs hides /home/zhengyi/src/emacs/lisp/erc/erc-loaddefs
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-goodies hides /home/zhengyi/src/emacs/lisp/erc/erc-goodies
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-fill hides /home/zhengyi/src/emacs/lisp/erc/erc-fill
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-ibuffer hides /home/zhengyi/src/emacs/lisp/erc/erc-ibuffer
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-button hides /home/zhengyi/src/emacs/lisp/erc/erc-button
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-backend hides /home/zhengyi/src/emacs/lisp/erc/erc-backend
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-common hides /home/zhengyi/src/emacs/lisp/erc/erc-common
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-compat hides /home/zhengyi/src/emacs/lisp/erc/erc-compat
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-xdcc hides /home/zhengyi/src/emacs/lisp/erc/erc-xdcc
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-sound hides /home/zhengyi/src/emacs/lisp/erc/erc-sound
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-ring hides /home/zhengyi/src/emacs/lisp/erc/erc-ring
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-replace hides /home/zhengyi/src/emacs/lisp/erc/erc-replace
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-page hides /home/zhengyi/src/emacs/lisp/erc/erc-page
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-netsplit hides /home/zhengyi/src/emacs/lisp/erc/erc-netsplit
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-menu hides /home/zhengyi/src/emacs/lisp/erc/erc-menu
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-lang hides /home/zhengyi/src/emacs/lisp/erc/erc-lang
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-list hides /home/zhengyi/src/emacs/lisp/erc/erc-list
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-identd hides /home/zhengyi/src/emacs/lisp/erc/erc-identd
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-dcc hides /home/zhengyi/src/emacs/lisp/erc/erc-dcc
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-ezbounce hides /home/zhengyi/src/emacs/lisp/erc/erc-ezbounce
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-desktop-notifications hides /home/zhengyi/src/emacs/lisp/erc/erc-desktop-notifications
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-capab hides /home/zhengyi/src/emacs/lisp/erc/erc-capab
/home/zhengyi/.emacs.d/straight/build-30.0.93/erc/erc-autoaway hides /home/zhengyi/src/emacs/lisp/erc/erc-autoaway
/home/zhengyi/.emacs.d/straight/build-30.0.93/track-changes/track-changes hides /home/zhengyi/src/emacs/lisp/emacs-lisp/track-changes
/home/zhengyi/.emacs.d/straight/build-30.0.93/let-alist/let-alist hides /home/zhengyi/src/emacs/lisp/emacs-lisp/let-alist
/home/zhengyi/.emacs.d/straight/build-30.0.93/compat/compat hides /home/zhengyi/src/emacs/lisp/emacs-lisp/compat
/home/zhengyi/.emacs.d/straight/build-30.0.93/seq/seq hides /home/zhengyi/src/emacs/lisp/emacs-lisp/seq
/home/zhengyi/.emacs.d/straight/build-30.0.93/eldoc/eldoc hides /home/zhengyi/src/emacs/lisp/emacs-lisp/eldoc

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny rfc822
mml mml-sec epa epg rfc6068 epg-config gnus-util mailabbrev gmm-utils
mailheader sendmail mail-utils gtags xref copyright consult
bookmark-extras bookmark quick-window popon ws-butler tramp-cache
time-stamp recentf tree-widget autorevert filenotify diff-hl vc-hg
vc-git log-view pcvs-util vc-dir ewoc diff-mode track-changes vc
vc-dispatcher bug-reference dynamic-highlight hi-lock cc-mode cc-fonts
cc-guess cc-menus cc-cmds buffer-env help-fns tramp-cmds compile
text-property-search saveplace tramp-sh tramp trampver tramp-integration
files-x tramp-message tramp-compat xdg parse-time iso8601
auth-source-pass url-parse url-vars auth-source eieio eieio-core
password-cache json map tramp-loaddefs show-font dired-aux
nerd-icons-multimodal dired-x lin hl-line face-remap gdb-mi bindat gud
corfu-popupinfo corfu-history corfu vertico-directory mule-util
nerd-icons-completion marginalia cursor-sensor savehist vertico-repeat
vertico paren-face breadcrumb cus-start project imenu goggles whitespace
hl-todo display-line-numbers display-fill-column-indicator elec-pair
init mastodon-autoloads tp-autoloads telega-autoloads
visual-fill-column-autoloads org-protocol org ob ob-tangle ob-ref ob-lob
ob-table ob-exp org-macro org-src sh-script smie executable ob-comint
org-pcomplete org-list org-footnote org-faces org-entities time-date
noutline outline ob-emacs-lisp ob-core ob-eval org-cycle org-table ol
org-fold org-fold-core org-keys oc org-loaddefs thingatpt find-func
cal-menu calendar cal-loaddefs org-compat org-version org-macs
format-spec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047
rfc2045 mm-util ietf-drums mail-prsvr with-editor shell pcomplete comint
ansi-osc ring server sgml-mode facemenu dom indent-aux ansi-color pulsar
pulse orderless doom-modeline doom-modeline-segments let-alist
doom-modeline-env doom-modeline-core comp comp-cstr warnings comp-run
comp-common shrink-path f s dash nerd-icons nerd-icons-faces
nerd-icons-data nerd-icons-data-mdicon nerd-icons-data-flicon
nerd-icons-data-codicon nerd-icons-data-devicon nerd-icons-data-sucicon
nerd-icons-data-wicon nerd-icons-data-faicon nerd-icons-data-powerline
nerd-icons-data-octicon nerd-icons-data-pomicon nerd-icons-data-ipsicon
modus-vivendi-tritanopia-theme modus-vivendi-deuteranopia-theme
modus-vivendi-tinted-theme modus-vivendi-theme
modus-operandi-tritanopia-theme modus-operandi-deuteranopia-theme
modus-operandi-tinted-theme modus-operandi-theme cus-edit pp icons
wid-edit meow-tree-sitter treesit meow meow-tutor meow-cheatsheet
meow-cheatsheet-layout meow-core meow-shims meow-esc meow-command array
meow-thing meow-visual meow-keypad meow-beacon kmacro byte-opt
meow-helpers meow-util color meow-keymap meow-face meow-var delsel
cus-load modus-themes derived compat early-init dotemacs-core
yaml-mode-autoloads xterm-color-autoloads ws-butler-autoloads
vundo-autoloads vertico-autoloads vala-mode-autoloads cc-styles cc-align
cc-engine cc-vars cc-defs transducers-autoloads toml-mode-autoloads
systemd-mode-autoloads rx sly-autoloads show-font-autoloads
rust-mode-autoloads pyim-basedict-autoloads pyim-autoloads xr-autoloads
async-autoloads puni-autoloads pulsar-autoloads popper-autoloads
persist-autoloads pdf-tools-autoloads let-alist-autoloads
tablist-autoloads pcre2el-autoloads pass-autoloads
password-store-otp-autoloads password-store-autoloads
paren-face-autoloads outline-minor-faces-autoloads org-modern-autoloads
orderless-autoloads olivetti-autoloads nerd-icons-ibuffer-autoloads
nerd-icons-corfu-autoloads nerd-icons-completion-autoloads
modus-themes-autoloads meow-tree-sitter-autoloads meow-autoloads
marginalia-autoloads magit-autoloads with-editor-autoloads
magit-section-autoloads logos-autoloads lin-autoloads inf-ruby-autoloads
hl-todo-autoloads goggles-autoloads geiser-guile-autoloads
geiser-chicken-autoloads geiser-chez-autoloads geiser-autoloads
explain-pause-mode-autoloads erc-autoloads embark-consult-autoloads
embark-autoloads eglot-tempel-autoloads peg-autoloads tempel-autoloads
dpkg-dev-el-autoloads doom-modeline-autoloads shrink-path-autoloads
diff-hl-autoloads devdocs-autoloads mathjax-autoloads
debian-el-autoloads debian-el dired dired-loaddefs deadgrep-autoloads
spinner-autoloads corfu-terminal-autoloads corfu-autoloads
copilot-autoloads f-autoloads editorconfig-autoloads s-autoloads
consult-eglot-autoloads eglot-autoloads track-changes-autoloads
jsonrpc-autoloads flymake-autoloads external-completion-autoloads
eldoc-autoloads consult-dir-autoloads colorful-mode-autoloads
clipetty-autoloads cape-autoloads buffer-terminator-autoloads
buffer-env-autoloads browser-hist-autoloads breadcrumb-autoloads
project-autoloads xref-autoloads autocrypt-autoloads apheleia-autoloads
anaphora-autoloads adaptive-wrap-autoloads term-keys-autoloads
rime-autoloads posframe-autoloads popup-autoloads dash-autoloads
popon-autoloads p-search-autoloads heap-autoloads
nerd-icons-multimodal-autoloads nerd-icons-autoloads
image-slicing-autoloads gptel-quick-autoloads gptel-autoloads
transient-autoloads eldoc-diffstat-autoloads eat-autoloads
discourse-autoloads finder-inf markdown-mode-autoloads request-autoloads
consult-everything-autoloads consult-autoloads compat-autoloads
seq-autoloads cmake-mode-autoloads straight-autoloads cl-extra help-mode
straight info loaddefs-gen generate-lisp-file lisp-mnt radix-tree
easy-mmode cl-seq pcase subr-x cl-macs gv cl-loaddefs cl-lib bytecomp
byte-compile rmc iso-transl tooltip cconv eldoc paren electric uniquify
ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win
term/common-win x-dnd touch-screen 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 theme-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 dbusbind inotify dynamic-setting system-font-setting
font-render-setting xinput2 x multi-tty move-toolbar
make-network-process native-compile emacs)

Memory information:
((conses 16 894769 630234) (symbols 48 36634 3)
 (strings 32 151841 32702) (string-bytes 1 6251786) (vectors 16 59614)
 (vector-slots 8 1362770 215514) (floats 8 650 3618)
 (intervals 56 5933 2666) (buffers 992 20))




Acknowledgement sent to Zhengyi Fu <i@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#75199; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.