From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Zhengyi Fu Newsgroups: gmane.emacs.bugs Subject: bug#75199: 30.0.93; Emacs crashes when completing with corfu Date: Mon, 30 Dec 2024 23:55:12 +0800 Message-ID: <8ac665654425902f3deb81481ac0242c@fuzy.me> References: <87cyh9qq64.fsf@fuzy.me> <86ttalnsj4.fsf@gnu.org> <87r05pmctv.fsf@fuzy.me> <86ldvxnqgv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17597"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 75199@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 30 16:56:10 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tSI7k-0004LF-MC for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Dec 2024 16:56:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSI7g-0008V6-Va; Mon, 30 Dec 2024 10:56:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tSI7e-0008UI-Qn for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2024 10:56:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tSI7e-0004Z4-Ga for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2024 10:56:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:MIME-Version:To:Subject; bh=6He8hXQsxcxsFwVJOZUqXGMVs08F+T6pg0hgp+yK7Gw=; b=iUz6v4yT1VWh21yqCvuhlk7vu25rhIUbfHDq8BDe/nNsUmDR43FZwz3MJISostP3yYF7PUAA8862xI7SVoTZSpZO7UnM2VGtWqL8shPU/CDaIWZT8sj5yg5h1XPJqyUPCiOyOs16A7BxJDZhqzJ7x/K3SM3GsJOEwnd+cl7CjVfkq8ed8RDNeZRY492mrlWgcDly7R9W0JN6rOa111aCtVRVw8Iuq/F5zVqOzRNbe8iP1qaFjADZMR6ptPPtR5gkc86TvgXwWkR3z0/wVX4gSC4TWNLb2MXNrexUtScUyVvirpxeskc/txDGkl/iwTR1MJC4XuO0WtM8DBaY1Gzi6g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tSI7e-0000of-4i for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2024 10:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Zhengyi Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Dec 2024 15:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75199 X-GNU-PR-Package: emacs Original-Received: via spool by 75199-submit@debbugs.gnu.org id=B75199.17355741413063 (code B ref 75199); Mon, 30 Dec 2024 15:56:02 +0000 Original-Received: (at 75199) by debbugs.gnu.org; 30 Dec 2024 15:55:41 +0000 Original-Received: from localhost ([127.0.0.1]:59573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSI7I-0000nK-M8 for submit@debbugs.gnu.org; Mon, 30 Dec 2024 10:55:41 -0500 Original-Received: from relay1-d.mail.gandi.net ([217.70.183.193]:45851) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSI7H-0000mr-1y for 75199@debbugs.gnu.org; Mon, 30 Dec 2024 10:55:40 -0500 Original-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== In-Reply-To: <86ldvxnqgv.fsf@gnu.org> X-Sender: i@fuzy.me X-GND-Sasl: id@fuzy.me X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298008 Archived-At: 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 [])