From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.devel Subject: Re: MPS: Crash while completing symbol with corfu Date: Tue, 02 Jul 2024 00:24:40 +0000 Message-ID: <4aK6qyh6gPCldT2u0rLYOuIk7a5Coo8yNf71tkkBOlUh0yk3nU8yjRAZygm9rIzK3kOcyq_IAatIKS2buH7tgA2PwHIOgLTiqQRSoypoOfY=@protonmail.com> References: <87y16lbh10.fsf@localhost> <86v81pduw3.fsf@gnu.org> <87sewt87ni.fsf@localhost> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_D6eCRYTS3kfo1jvMKqg5yMpVl072m0jKJY3MnfDrfo" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15610"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , =?utf-8?Q?Gerd_M=C3=B6llmann?= , emacs-devel@gnu.org, eller.helmut@gmail.com To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 02 04:24:01 2024 Return-path: Envelope-to: ged-emacs-devel@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 1sOTBZ-0003r3-29 for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Jul 2024 04:24:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOTB3-0002Ou-6C; Mon, 01 Jul 2024 22:23:29 -0400 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 1sORKG-0000eR-2F for emacs-devel@gnu.org; Mon, 01 Jul 2024 20:24:52 -0400 Original-Received: from mail-4316.protonmail.ch ([185.70.43.16]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sORK9-0000oR-TX for emacs-devel@gnu.org; Mon, 01 Jul 2024 20:24:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1719879883; x=1720139083; bh=z47UtnIIlhNjOqAcjjUUI0+ioseIr2ew+0CbEua2cFU=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=sKCC9C6yptsfQTUmFyxpxytMU+OfNOUgFEmEV8WH7SPCSXjoUgqssWBpaIjgc6bhF +wYikhwpZPoKudn1KQ4ovao6ifyWWRWqCx6uFt24x5ipOak3sGfcqtfneH0sl5F8XO yeuDJqo7GcIfR8yM/YWmfmGtgas1nkL09/2QaCSfVAW9AV1v5QAOBRGUb0NL8laUPh dgYE1scc922GGu+MIv6nR5aF/1LaloU2IcvRSdKqFRH6LwCt6FLeWb8mqBh+Cw/yT7 FIfxhEqhkdsXtIVUwE8ysihAYL6kvxG1iCrB7Lr8YMiUYd5OS5vEj/DhQwYfKEnM89 DlGEA2nV7J3Og== In-Reply-To: <87sewt87ni.fsf@localhost> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: 304eea215153bb4570ffb907e535dba812a57405 Received-SPF: pass client-ip=185.70.43.16; envelope-from=pipcet@protonmail.com; helo=mail-4316.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 01 Jul 2024 22:23:15 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:321082 Archived-At: This is a multi-part message in MIME format. --b1_D6eCRYTS3kfo1jvMKqg5yMpVl072m0jKJY3MnfDrfo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Monday, July 1st, 2024 at 15:16, Ihor Radchenko wr= ote: > Eli Zaretskii eliz@gnu.org writes: >=20 > > See that qttip_cb from gtkutil.c? That callback (from a tool-tip?) > > probably accesses some data that MPS owns or something. >=20 >=20 > I confirm that it was an input with tooltip displayed (that's what corfu = does). Ihor, is this one reproducible? If it is, could you try with this patch ins= talled? Thanks Pip --b1_D6eCRYTS3kfo1jvMKqg5yMpVl072m0jKJY3MnfDrfo Content-Type: text/x-patch; name=0001-Try-to-fix-GTK-related-crashes.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=0001-Try-to-fix-GTK-related-crashes.patch RnJvbSA0Y2U2M2FiZTdhZTdhNGUwZjcxYTVkM2FmZjJiZjI0NTRlOGMyYWM0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBQaXAgQ2V0IDxwaXBjZXRAcHJvdG9ubWFpbC5jb20+CkRhdGU6 IFR1ZSwgMiBKdWwgMjAyNCAwMDoxODo0MyArMDAwMApTdWJqZWN0OiBbUEFUQ0ggMS8yXSBUcnkg dG8gZml4IEdUSy1yZWxhdGVkIGNyYXNoZXMuCgotLS0KIHNyYy9ndGt1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