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:55:24 +0300 Message-ID: <86v81pduw3.fsf@gnu.org> References: <87y16lbh10.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37234"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yantar92@posteo.net, emacs-devel@gnu.org, eller.helmut@gmail.com To: Gerd =?iso-8859-1?Q?M=F6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jul 01 16:56:32 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 1sOISF-0009Pn-OS for ged-emacs-devel@m.gmane-mx.org; Mon, 01 Jul 2024 16:56:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOIRG-0001gB-92; Mon, 01 Jul 2024 10:55:30 -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 1sOIRE-0001fr-KF for emacs-devel@gnu.org; Mon, 01 Jul 2024 10:55:28 -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 1sOIRD-00049O-NA; Mon, 01 Jul 2024 10:55:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=J++wSpt5/B835GwMBdmA2tMV374GHbrPk74akdc0GFw=; b=EdTpu+kie3eEKIIKSwT1 UQRhQqe84AIIJDzph68hYKjL0MeCj8QG7tGapprmS5p9J1pLK55HFGJl5o37diVL5YmwOFeoXSDqo B0culqbFsL7JOGUvMdVNQy/7mg7L1doj3xFFvqP4ROtLRE7blHs8XCTwsMEbHFRMaRB9m4dqMJKXZ eUXicKHYKMar4rJJ7YvL8yay6wW+XxmkggtwkNEAbsY4GYgdiS9WptssvtqTMtEv6t0dftz1oWznR xMa9L6Mgq/Bvldl/4KCxJgygPrQdqeyKaitWIgge3VRjQH01TcdO//emocVJ/cIvgksCRjW3izM4J fb3mebbypspsqg==; In-Reply-To: (message from Gerd =?iso-8859-1?Q?M=F6llmann?= on Mon, 01 Jul 2024 16:48:21 +0200) 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:321031 Archived-At: > From: Gerd Möllmann > Cc: emacs-devel@gnu.org, Eli Zaretskii , eller.helmut@gmail.com > Date: Mon, 01 Jul 2024 16:48:21 +0200 > > > Not the slightest idea what's happening there. Aoparently Gtk gets > involved somehow and then everything is optimized out. > > Maybe you could buld with CFLAGS="-g -O0" or something? Otherwise one > can't see much. The problem is that GTK calls our callback: > > Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=sig@entry=11, backtrace_limit=backtrace_limit@entry=40) at emacs.c:443 > > 443 { > > (gdb) bt > > #0 terminate_due_to_signal (sig=sig@entry=11, backtrace_limit=backtrace_limit@entry=40) at emacs.c:443 > > #1 0x00005555556e446b in handle_fatal_signal (sig=sig@entry=11) at sysdep.c:1800 > > #2 0x00005555556e44d0 in deliver_thread_signal (sig=11, handler=0x5555556e4457 ) at sysdep.c:1792 > > #3 deliver_fatal_thread_signal (sig=sig@entry=11) at sysdep.c:1812 > > #4 0x00005555556e44fd in handle_sigsegv (sig=11, siginfo=, arg=) at sysdep.c:1950 > > #5 0x00007ffff3048050 in () at /lib64/libc.so.6 > > #6 0x00007ffff304822b in kill () at /lib64/libc.so.6 > > #7 0x0000555555880af9 in sigHandle (sig=, info=, uap=) at /home/yantar92/Dist/mps/code/protsgix.c:114 > > #8 0x00007ffff3048050 in () at /lib64/libc.so.6 > > #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.