all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Gerd Möllmann" <gerd.moellmann@gmail.com>
Cc: yantar92@posteo.net, emacs-devel@gnu.org, eller.helmut@gmail.com
Subject: Re: MPS: Crash while completing symbol with corfu
Date: Mon, 01 Jul 2024 17:55:24 +0300	[thread overview]
Message-ID: <86v81pduw3.fsf@gnu.org> (raw)
In-Reply-To: <m24j99cgne.fsf@pro2.fritz.box> (message from Gerd Möllmann on Mon, 01 Jul 2024 16:48:21 +0200)

> From: Gerd Möllmann <gerd.moellmann@gmail.com>
> Cc: emacs-devel@gnu.org,  Eli Zaretskii <eliz@gnu.org>,  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 <handle_fatal_signal>) 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=<optimized out>, arg=<optimized out>) at sysdep.c:1950
> > #5  0x00007ffff3048050 in <signal handler called> () at /lib64/libc.so.6
> > #6  0x00007ffff304822b in kill () at /lib64/libc.so.6
> > #7  0x0000555555880af9 in sigHandle (sig=<optimized out>, info=<optimized out>, uap=<optimized out>) at /home/yantar92/Dist/mps/code/protsgix.c:114
> > #8  0x00007ffff3048050 in <signal handler called> () 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.



  reply	other threads:[~2024-07-01 14:55 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-01  9:25 MPS: Crash while completing symbol with corfu Ihor Radchenko
2024-07-01 14:48 ` Gerd Möllmann
2024-07-01 14:55   ` Eli Zaretskii [this message]
2024-07-01 14:58     ` Eli Zaretskii
2024-07-01 15:09       ` Gerd Möllmann
2024-07-01 15:02     ` Gerd Möllmann
2024-07-01 15:16     ` Ihor Radchenko
2024-07-02  0:24       ` Pip Cet
2024-07-02 11:39         ` Ihor Radchenko
2024-07-02 14:19           ` Pip Cet
2024-07-02 15:14             ` Ihor Radchenko
2024-07-03 14:19               ` Pip Cet
2024-07-03 15:32                 ` Eli Zaretskii
2024-07-03 15:44                   ` Eli Zaretskii
2024-07-03 18:25                 ` Ihor Radchenko
2024-07-03 20:25                   ` Pip Cet
2024-07-04 20:46                     ` Pip Cet
2024-07-05  5:51                       ` Eli Zaretskii
2024-07-05  6:12                         ` Pip Cet
2024-07-05  6:29                           ` Eli Zaretskii
2024-07-02 12:14         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86v81pduw3.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=eller.helmut@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=gerd.moellmann@gmail.com \
    --cc=yantar92@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.