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

Ihor Radchenko <yantar92@posteo.net> writes:

> 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
> #12 0x00007ffff6e1c2ec in ??? () at /usr/lib64/libgobject-2.0.so.0
> #13 0x00007ffff6e1d541 in ??? () at /usr/lib64/libgobject-2.0.so.0
> #14 0x00007ffff6e23976 in g_signal_emit_valist () at /usr/lib64/libgobject-2.0.so.0
> #15 0x00007ffff6e23a33 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
> #16 0x00007ffff777ef9d in ??? () at /usr/lib64/libgtk-3.so.0
> #17 0x00007ffff77352e9 in ??? () at /usr/lib64/libgtk-3.so.0
> #18 0x00007ffff77357cd in ??? () at /usr/lib64/libgtk-3.so.0
> #19 0x00007ffff7614fd5 in gtk_main_do_event () at /usr/lib64/libgtk-3.so.0
> #20 0x00007ffff7c71409 in ??? () at /usr/lib64/libgdk-3.so.0
> #21 0x00007ffff7cc8e06 in ??? () at /usr/lib64/libgdk-3.so.0
> #22 0x00007ffff6d07e04 in ??? () at /usr/lib64/libglib-2.0.so.0
> #23 0x00007ffff6d0af27 in ??? () at /usr/lib64/libglib-2.0.so.0
> #24 0x00007ffff6d0b540 in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
> #25 0x00007ffff7614239 in gtk_main_iteration () at /usr/lib64/libgtk-3.so.0
> #26 0x00005555556834aa in XTread_socket (terminal=<optimized out>, hold_quit=0x7fffffffcd40) at xterm.c:25802
> #27 0x00005555556d1bb5 in gobble_input () at keyboard.c:7934
> #28 0x00005555555acbb2 in sit_for (timeout=timeout@entry=make_fixnum(37), reading=reading@entry=true, display_option=display_option@entry=1)
>     at dispnew.c:6358
> #29 0x00005555556d5efc in read_char
>     (commandflag=1, map=map@entry=XIL(0x7ffee68ac24b), prev_event=XIL(0), used_mouse_menu=used_mouse_menu@entry=0x7fffffffd2fb, end_time=end_time@entry=0x0)
>     at keyboard.c:2934
> #30 0x00005555556d768a in read_key_sequence
>     (keybuf=keybuf@entry=0x7fffffffd460, prompt=prompt@entry=XIL(0),
> dont_downcase_last=dont_downcase_last@entry=false,
> can_return_switch_frame=can_return_switch_frame@entry=true,
> fix_current_buffer=fix_current_buffer@entry=true,
> prevent_redisplay=prevent_redisplay@entry=false,
> disable_text_conversion_p=false)
>     at keyboard.c:10759
> #31 0x00005555556da3f3 in command_loop_1 () at keyboard.c:1440
> #32 0x0000555555748c92 in internal_condition_case
>     (bfun=bfun@entry=0x5555556d9208 <command_loop_1>, handlers=handlers@entry=XIL(0x90), hfun=hfun@entry=0x5555556ca60c <cmd_error>) at eval.c:1629
> #33 0x00005555556c5838 in command_loop_2 (handlers=handlers@entry=XIL(0x90)) at keyboard.c:1179
> --Type <RET> for more, q to quit, c to continue without paging--c
> #34 0x0000555555748bc4 in internal_catch (tag=tag@entry=XIL(0x12360), func=func@entry=0x5555556c5811 <command_loop_2>, arg=arg@entry=XIL(0x90))
>     at eval.c:1308
> #35 0x00005555556c57ee in command_loop () at keyboard.c:1157
> #36 0x00005555556ca1c1 in recursive_edit_1 () at keyboard.c:765
> #37 0x00005555556ca52e in Frecursive_edit () at keyboard.c:848
> #38 0x00005555556c4aad in main (argc=1, argv=<optimized out>) at emacs.c:2651
> (gdb) xbacktrace 
> (gdb) c
> Continuing.
> Fatal error 11: Segmentation fault
> [Thread 0x7fffd74006c0 (LWP 24071) exited]
> [Thread 0x7fffdd2006c0 (LWP 24069) exited]
> [Thread 0x7fffddc006c0 (LWP 24068) exited]
> [Thread 0x7fffde6006c0 (LWP 24067) exited]
> [Thread 0x7ffff34142c0 (LWP 24055) exited]
> [Thread 0x7fffdf0006c0 (LWP 24066) exited]
> [New process 24055]
>
> Program terminated with signal SIGSEGV, Segmentation fault.
> The program no longer exists.
> (gdb) bt
> No stack.

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.



  reply	other threads:[~2024-07-01 14:48 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 [this message]
2024-07-01 14:55   ` Eli Zaretskii
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=m24j99cgne.fsf@pro2.fritz.box \
    --to=gerd.moellmann@gmail.com \
    --cc=eliz@gnu.org \
    --cc=eller.helmut@gmail.com \
    --cc=emacs-devel@gnu.org \
    --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.