From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: MPS: Crash while completing symbol with corfu Date: Mon, 01 Jul 2024 17:58:37 +0300 Message-ID: <86tth9duqq.fsf@gnu.org> References: <87y16lbh10.fsf@localhost> <86v81pduw3.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11685"; mail-complaints-to="usenet@ciao.gmane.io" To: gerd.moellmann@gmail.com, yantar92@posteo.net, emacs-devel@gnu.org, eller.helmut@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jul 01 16:59:05 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 1sOIUi-0002t0-0l for ged-emacs-devel@m.gmane-mx.org; Mon, 01 Jul 2024 16:59:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOIUS-0003Av-Vy; Mon, 01 Jul 2024 10:58:49 -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 1sOIUR-0003AY-8d for emacs-devel@gnu.org; Mon, 01 Jul 2024 10:58:47 -0400 Original-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 ) id 1sOIUQ-0004iv-Kr; Mon, 01 Jul 2024 10:58:46 -0400 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=butAMyQYliZOqyK8FuZjEMY2a8clp5jIQD+Fv9kkcUU=; b=GhVbhdEBT7Zt bXl1GN/OuXVEzVrN16WhdDUx/7c7rb/SblehF0iUdGLRTVHQag9gNAfHRAS6mfynRQ0i7EVDEfPRb VAjtxMuOLAROl02nBqVvg8/jgzbdb/xyyjN9Wg7FGvYO3u5aTGxPS9+7NS7aoMltcHXnBx/vrn/Zo oF5Al+EH8PUxRa3DfqNjHpQu9HmIPWd+/vqWDVoHz9czBqTAyFO5pSopCwsB8g+K3djsJte344cUw Q394mqvczjfPfHpZpJAD8mtQVEaYlT/sillrJ8tLip5EbMgyYdZCRENOVRzS2H0KzcK5Atmw2mthB AsgAMDlXO/2uTkb5wXbjoQ==; In-Reply-To: <86v81pduw3.fsf@gnu.org> (message from Eli Zaretskii on Mon, 01 Jul 2024 17:55:24 +0300) 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:321032 Archived-At: > Date: Mon, 01 Jul 2024 17:55:24 +0300 > From: Eli Zaretskii > Cc: yantar92@posteo.net, emacs-devel@gnu.org, eller.helmut@gmail.com > > > > #9 qttip_cb (widget=0x5555913b54b0, xpos=222, ypos=80, keyboard_mode=0, tooltip=0x555556741b10, user_data=0x7ffee6e6b3c8) at gtkutil.c:855 > > > #10 0x00007ffff7486d63 in ??? () at /usr/lib64/libgtk-3.so.0 > > > #11 0x00007ffff6e08d30 in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0 > > See that qttip_cb from gtkutil.c? That callback (from a tool-tip?) > probably accesses some data that MPS owns or something. And here it is: static gboolean qttip_cb (GtkWidget *widget, gint xpos, gint ypos, gboolean keyboard_mode, GtkTooltip *tooltip, gpointer user_data) { struct frame *f = user_data; xp_output *x = f->output_data.xp; if (x->ttip_widget == NULL) <<<<<<<<<<<<<<<<<<<<< line 855 of gtkutil.c I'm guessing that user_data was moved meanwhile or something.