Subject: Re: bug#70385: Crash in note_fringe_highlight

From: Björn Bidar <[email-masked]>
Date: Sun, 14 Apr 2024 23:13:32 +0300

Vladimir Kazanov <[email-masked]> writes:

> Hi Juri,
>
> This must be related to the recent patch introducing the function.
>
> Can you reliably reproduce the crash?

I have the same problem. I tried to replicate it with Emacs -Q but
it seems hard to do since it just happens at some point when using Emacs
and moving around between screens/virtual desktops.

Here my backtrace.
Warning: /home/bidar/../lwlib: No such file or directory.
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0
TERM = xterm-256color
Breakpoint 1 at 0x558c06b58ebd: file /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/emacs.c, line 441.
Breakpoint 2 at 0x558c06c6aeb0: file /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xterm.c, line 26990.

Thread 7 (Thread 0x7f28844006c0 (LWP 46005)):
You can't do that without a process to debug.

Thread 7 (Thread 0x7f28844006c0 (LWP 46005)):
warning: Section `.reg-xstate/46005' in core file too small.
#0  0x00007f289430578f in __GI___poll (fds=0x7f284c007110, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f28858bfe71 in  () at /lib64/libpulse.so.0
#2  0x00007f28858a9854 in pa_mainloop_poll () at /lib64/libpulse.so.0
#3  0x00007f28858b40d6 in pa_mainloop_iterate () at /lib64/libpulse.so.0
#4  0x00007f28858b4180 in pa_mainloop_run () at /lib64/libpulse.so.0
#5  0x00007f28858c3e19 in  () at /lib64/libpulse.so.0
#6  0x00007f288586189f in  () at /usr/lib64/pulseaudio/libpulsecommon-17.0.so
#7  0x00007f2894292bb2 in start_thread (arg=<optimized out>) at pthread_create.c:447
#8  0x00007f289431400c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 6 (Thread 0x7f28882006c0 (LWP 45993)):
warning: Section `.reg-xstate/45993' in core file too small.
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f289ebdce00 in g_cond_wait () at /lib64/libglib-2.0.so.0
#2  0x00007f289eb4b0bb in  () at /lib64/libglib-2.0.so.0
#3  0x00007f289ebafae2 in  () at /lib64/libglib-2.0.so.0
#4  0x00007f289ebaf2ee in  () at /lib64/libglib-2.0.so.0
#5  0x00007f2894292bb2 in start_thread (arg=<optimized out>) at pthread_create.c:447
#6  0x00007f289431400c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x7f28864006c0 (LWP 45999)):
warning: Section `.reg-xstate/45999' in core file too small.
#0  0x00007f289430578f in __GI___poll (fds=0x7f2860000b90, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f289eb822ff in  () at /lib64/libglib-2.0.so.0
#2  0x00007f289eb82a0c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f288831d99d in  () at /usr/lib64/gio/modules/libdconfsettings.so
#4  0x00007f289ebaf2ee in  () at /lib64/libglib-2.0.so.0
#5  0x00007f2894292bb2 in start_thread (arg=<optimized out>) at pthread_create.c:447
#6  0x00007f289431400c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7f28878006c0 (LWP 45994)):
warning: Section `.reg-xstate/45994' in core file too small.
#0  0x00007f289430578f in __GI___poll (fds=0x558c0d1575a0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f289eb822ff in  () at /lib64/libglib-2.0.so.0
#2  0x00007f289eb82a0c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f289eb82a51 in  () at /lib64/libglib-2.0.so.0
#4  0x00007f289ebaf2ee in  () at /lib64/libglib-2.0.so.0
#5  0x00007f2894292bb2 in start_thread (arg=<optimized out>) at pthread_create.c:447
#6  0x00007f289431400c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7f2886e006c0 (LWP 45995)):
warning: Section `.reg-xstate/45995' in core file too small.
#0  0x00007f289430578f in __GI___poll (fds=0x7f2868000b90, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f289eb822ff in  () at /lib64/libglib-2.0.so.0
#2  0x00007f289eb82c2f in g_main_loop_run () at /lib64/libglib-2.0.so.0
#3  0x00007f289edf82d6 in  () at /lib64/libgio-2.0.so.0
#4  0x00007f289ebaf2ee in  () at /lib64/libglib-2.0.so.0
#5  0x00007f2894292bb2 in start_thread (arg=<optimized out>) at pthread_create.c:447
#6  0x00007f289431400c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7f2884e006c0 (LWP 46004)):
warning: Section `.reg-xstate/46004' in core file too small.
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f289ebdce00 in g_cond_wait () at /lib64/libglib-2.0.so.0
#2  0x00007f289eb4b0bb in  () at /lib64/libglib-2.0.so.0
#3  0x00007f289eb4b547 in g_async_queue_pop () at /lib64/libglib-2.0.so.0
#4  0x00007f289685cce3 in  () at /lib64/libpangoft2-1.0.so.0
#5  0x00007f289ebaf2ee in  () at /lib64/libglib-2.0.so.0
#6  0x00007f2894292bb2 in start_thread (arg=<optimized out>) at pthread_create.c:447
#7  0x00007f289431400c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7f28913a9300 (LWP 45863)):
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007f2894294a73 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007f2894241176 in __GI_raise (sig=sig@entry=11) at ../sysdeps/posix/raise.c:26
#3  0x0000558c06b58f70 in terminate_due_to_signal (sig=11, backtrace_limit=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/emacs.c:479
#4  0x0000558c06b59603 in handle_fatal_signal (sig=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/sysdep.c:1800
#5  0x0000558c06e22618 in deliver_thread_signal.constprop.0 (sig=sig@entry=11, handler=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/sysdep.c:1792
#6  0x0000558c06cbdb89 in deliver_fatal_thread_signal (sig=11) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/sysdep.c:1812
#7  handle_sigsegv (sig=11, siginfo=<optimized out>, arg=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/sysdep.c:1950
#8  0x00007f2894241240 in <signal handler called> () at /lib64/libc.so.6
#9  0x0000558c06bcf76c in note_fringe_highlight (part=<optimized out>, y=<optimized out>, x=<optimized out>, window=0x558c157380dd) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xdisp.c:35762
#10 note_mouse_highlight (f=0x558c2caee540, x=<optimized out>, y=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xdisp.c:36016
#11 0x0000558c06c58770 in x_note_mouse_movement (frame=0x558c2caee540, event=0x7ffe2655c540, device=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xterm.c:14667
#12 0x0000558c06c6376a in handle_one_xevent (dpyinfo=0x558c15d679a0, event=<optimized out>, finish=<optimized out>, hold_quit=0x7ffe2655ccc0) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xterm.c:23162
#13 0x0000558c06c5b461 in event_handler_gdk (gxev=0x7ffe2655ca30, ev=<optimized out>, data=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xterm.c:17890
#14 0x00007f289f18b82f in gdk_event_apply_filters (xevent=xevent@entry=0x7ffe2655ca30, event=event@entry=0x558c7065a0d0, window=window@entry=0x0) at ../gdk/x11/gdkeventsource.c:79
#15 0x00007f289f19303f in gdk_event_source_translate_event (xevent=0x7ffe2655ca30, event_source=0x558c0bdbb260) at ../gdk/x11/gdkeventsource.c:198
#16 _gdk_x11_display_queue_events (display=0x558c0bf96450) at ../gdk/x11/gdkeventsource.c:341
#17 0x00007f289f13b9b9 in gdk_display_get_event (display=0x558c0bf96450) at ../gdk/gdkdisplay.c:442
#18 0x00007f289f193412 in gdk_event_source_dispatch.lto_priv () at ../gdk/x11/gdkeventsource.c:354
#19 0x00007f289eb80710 in  () at /lib64/libglib-2.0.so.0
#20 0x00007f289eb82358 in  () at /lib64/libglib-2.0.so.0
#21 0x00007f289eb82a0c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#22 0x00007f289f3f6b95 in gtk_main_iteration () at ../gtk/gtkmain.c:1433
#23 0x0000558c06c6b082 in XTread_socket (terminal=<optimized out>, hold_quit=0x7ffe2655ccc0) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xterm.c:25657
#24 0x0000558c06cad6c2 in gobble_input () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:7898
#25 0x0000558c06cad9c5 in handle_async_input () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:8137
#26 process_pending_signals () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:8151
#27 unblock_input_to (level=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:8166
#28 unblock_input_to (level=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:8160
#29 unblock_input () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:8185
#30 0x0000558c06bdb150 in set_frame_menubar (f=<optimized out>, deep_p=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xmenu.c:1259
#31 0x0000558c06bd3eda in update_menu_bar.part.0.lto_priv.0 (f=0x558c398b1c80, save_match_data=false, hooks_run=true) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xdisp.c:14086
#32 0x0000558c06ba56fa in update_menu_bar (hooks_run=true, save_match_data=false, f=0x558c398b1c80) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xdisp.c:14020
#33 prepare_menu_bars () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xdisp.c:13975
#34 redisplay_internal () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xdisp.c:16982
#35 0x0000558c06ba626a in redisplay_preserve_echo_area (from_where=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xdisp.c:17740
#36 0x0000558c06b6f18a in swallow_events (do_display=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:4588
#37 swallow_events (do_display=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:4578
#38 sit_for (timeout=0x7a, reading=<optimized out>, display_option=1) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/dispnew.c:6267
#39 0x0000558c06ca9b22 in read_char (commandflag=1, map=0x558c184c56a3, prev_event=0x0, used_mouse_menu=0x7ffe2655e9ab, end_time=0x0) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:2922
#40 0x0000558c06cbac9f in read_key_sequence (keybuf=0x7ffe2655eb40, prompt=0x0, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:10722
#41 0x0000558c06ca2047 in command_loop_1 () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:1428
#42 0x0000558c06d3f007 in internal_condition_case (bfun=0x558c06ca1e70 <command_loop_1>, handlers=<optimized out>, hfun=0x558c06ca0f50 <cmd_error>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/eval.c:1537
#43 0x0000558c06ca138e in command_loop_2 (handlers=handlers@entry=0x90) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:1167
#44 0x0000558c06d3ef11 in internal_catch (tag=<optimized out>, func=0x558c06ca1360 <command_loop_2>, arg=0x90) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/eval.c:1217
#45 0x0000558c06c9fef9 in command_loop () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:1145
#46 0x0000558c06ca0a36 in recursive_edit_1 () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:753
#47 0x0000558c06ca0e4c in Frecursive_edit () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:836
#48 0x0000558c06b63adc in main (argc=2, argv=0x7ffe2655eff8) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/emacs.c:2626

Thread 7 (Thread 0x7f28844006c0 (LWP 46005)):
#0  0x00007f289430578f in __GI___poll (fds=0x7f284c007110, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f28858bfe71 in  () at /lib64/libpulse.so.0
#2  0x00007f28858a9854 in pa_mainloop_poll () at /lib64/libpulse.so.0
#3  0x00007f28858b40d6 in pa_mainloop_iterate () at /lib64/libpulse.so.0
#4  0x00007f28858b4180 in pa_mainloop_run () at /lib64/libpulse.so.0
#5  0x00007f28858c3e19 in  () at /lib64/libpulse.so.0
#6  0x00007f288586189f in  () at /usr/lib64/pulseaudio/libpulsecommon-17.0.so
#7  0x00007f2894292bb2 in start_thread (arg=<optimized out>) at pthread_create.c:447
#8  0x00007f289431400c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 6 (Thread 0x7f28882006c0 (LWP 45993)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f289ebdce00 in g_cond_wait () at /lib64/libglib-2.0.so.0
#2  0x00007f289eb4b0bb in  () at /lib64/libglib-2.0.so.0
#3  0x00007f289ebafae2 in  () at /lib64/libglib-2.0.so.0
#4  0x00007f289ebaf2ee in  () at /lib64/libglib-2.0.so.0
#5  0x00007f2894292bb2 in start_thread (arg=<optimized out>) at pthread_create.c:447
#6  0x00007f289431400c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x7f28864006c0 (LWP 45999)):
#0  0x00007f289430578f in __GI___poll (fds=0x7f2860000b90, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f289eb822ff in  () at /lib64/libglib-2.0.so.0
#2  0x00007f289eb82a0c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f288831d99d in  () at /usr/lib64/gio/modules/libdconfsettings.so
#4  0x00007f289ebaf2ee in  () at /lib64/libglib-2.0.so.0
#5  0x00007f2894292bb2 in start_thread (arg=<optimized out>) at pthread_create.c:447
#6  0x00007f289431400c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7f28878006c0 (LWP 45994)):
#0  0x00007f289430578f in __GI___poll (fds=0x558c0d1575a0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f289eb822ff in  () at /lib64/libglib-2.0.so.0
#2  0x00007f289eb82a0c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f289eb82a51 in  () at /lib64/libglib-2.0.so.0
#4  0x00007f289ebaf2ee in  () at /lib64/libglib-2.0.so.0
#5  0x00007f2894292bb2 in start_thread (arg=<optimized out>) at pthread_create.c:447
#6  0x00007f289431400c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7f2886e006c0 (LWP 45995)):
#0  0x00007f289430578f in __GI___poll (fds=0x7f2868000b90, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f289eb822ff in  () at /lib64/libglib-2.0.so.0
#2  0x00007f289eb82c2f in g_main_loop_run () at /lib64/libglib-2.0.so.0
#3  0x00007f289edf82d6 in  () at /lib64/libgio-2.0.so.0
#4  0x00007f289ebaf2ee in  () at /lib64/libglib-2.0.so.0
#5  0x00007f2894292bb2 in start_thread (arg=<optimized out>) at pthread_create.c:447
#6  0x00007f289431400c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7f2884e006c0 (LWP 46004)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f289ebdce00 in g_cond_wait () at /lib64/libglib-2.0.so.0
#2  0x00007f289eb4b0bb in  () at /lib64/libglib-2.0.so.0
#3  0x00007f289eb4b547 in g_async_queue_pop () at /lib64/libglib-2.0.so.0
#4  0x00007f289685cce3 in  () at /lib64/libpangoft2-1.0.so.0
#5  0x00007f289ebaf2ee in  () at /lib64/libglib-2.0.so.0
#6  0x00007f2894292bb2 in start_thread (arg=<optimized out>) at pthread_create.c:447
#7  0x00007f289431400c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7f28913a9300 (LWP 45863)):
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007f2894294a73 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007f2894241176 in __GI_raise (sig=sig@entry=11) at ../sysdeps/posix/raise.c:26
#3  0x0000558c06b58f70 in terminate_due_to_signal (sig=11, backtrace_limit=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/emacs.c:479
#4  0x0000558c06b59603 in handle_fatal_signal (sig=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/sysdep.c:1800
#5  0x0000558c06e22618 in deliver_thread_signal.constprop.0 (sig=sig@entry=11, handler=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/sysdep.c:1792
#6  0x0000558c06cbdb89 in deliver_fatal_thread_signal (sig=11) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/sysdep.c:1812
#7  handle_sigsegv (sig=11, siginfo=<optimized out>, arg=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/sysdep.c:1950
#8  0x00007f2894241240 in <signal handler called> () at /lib64/libc.so.6
#9  0x0000558c06bcf76c in note_fringe_highlight (part=<optimized out>, y=<optimized out>, x=<optimized out>, window=0x558c157380dd) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xdisp.c:35762
#10 note_mouse_highlight (f=0x558c2caee540, x=<optimized out>, y=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xdisp.c:36016
#11 0x0000558c06c58770 in x_note_mouse_movement (frame=0x558c2caee540, event=0x7ffe2655c540, device=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xterm.c:14667
#12 0x0000558c06c6376a in handle_one_xevent (dpyinfo=0x558c15d679a0, event=<optimized out>, finish=<optimized out>, hold_quit=0x7ffe2655ccc0) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xterm.c:23162
#13 0x0000558c06c5b461 in event_handler_gdk (gxev=0x7ffe2655ca30, ev=<optimized out>, data=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xterm.c:17890
#14 0x00007f289f18b82f in gdk_event_apply_filters (xevent=xevent@entry=0x7ffe2655ca30, event=event@entry=0x558c7065a0d0, window=window@entry=0x0) at ../gdk/x11/gdkeventsource.c:79
#15 0x00007f289f19303f in gdk_event_source_translate_event (xevent=0x7ffe2655ca30, event_source=0x558c0bdbb260) at ../gdk/x11/gdkeventsource.c:198
#16 _gdk_x11_display_queue_events (display=0x558c0bf96450) at ../gdk/x11/gdkeventsource.c:341
#17 0x00007f289f13b9b9 in gdk_display_get_event (display=0x558c0bf96450) at ../gdk/gdkdisplay.c:442
#18 0x00007f289f193412 in gdk_event_source_dispatch.lto_priv () at ../gdk/x11/gdkeventsource.c:354
#19 0x00007f289eb80710 in  () at /lib64/libglib-2.0.so.0
#20 0x00007f289eb82358 in  () at /lib64/libglib-2.0.so.0
#21 0x00007f289eb82a0c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#22 0x00007f289f3f6b95 in gtk_main_iteration () at ../gtk/gtkmain.c:1433
#23 0x0000558c06c6b082 in XTread_socket (terminal=<optimized out>, hold_quit=0x7ffe2655ccc0) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xterm.c:25657
#24 0x0000558c06cad6c2 in gobble_input () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:7898
#25 0x0000558c06cad9c5 in handle_async_input () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:8137
#26 process_pending_signals () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:8151
#27 unblock_input_to (level=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:8166
#28 unblock_input_to (level=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:8160
#29 unblock_input () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:8185
#30 0x0000558c06bdb150 in set_frame_menubar (f=<optimized out>, deep_p=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xmenu.c:1259
#31 0x0000558c06bd3eda in update_menu_bar.part.0.lto_priv.0 (f=0x558c398b1c80, save_match_data=false, hooks_run=true) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xdisp.c:14086
#32 0x0000558c06ba56fa in update_menu_bar (hooks_run=true, save_match_data=false, f=0x558c398b1c80) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xdisp.c:14020
#33 prepare_menu_bars () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xdisp.c:13975
#34 redisplay_internal () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xdisp.c:16982
#35 0x0000558c06ba626a in redisplay_preserve_echo_area (from_where=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xdisp.c:17740
#36 0x0000558c06b6f18a in swallow_events (do_display=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:4588
#37 swallow_events (do_display=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:4578
#38 sit_for (timeout=0x7a, reading=<optimized out>, display_option=1) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/dispnew.c:6267
#39 0x0000558c06ca9b22 in read_char (commandflag=1, map=0x558c184c56a3, prev_event=0x0, used_mouse_menu=0x7ffe2655e9ab, end_time=0x0) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:2922
#40 0x0000558c06cbac9f in read_key_sequence (keybuf=0x7ffe2655eb40, prompt=0x0, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:10722
#41 0x0000558c06ca2047 in command_loop_1 () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:1428
#42 0x0000558c06d3f007 in internal_condition_case (bfun=0x558c06ca1e70 <command_loop_1>, handlers=<optimized out>, hfun=0x558c06ca0f50 <cmd_error>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/eval.c:1537
#43 0x0000558c06ca138e in command_loop_2 (handlers=handlers@entry=0x90) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:1167
#44 0x0000558c06d3ef11 in internal_catch (tag=<optimized out>, func=0x558c06ca1360 <command_loop_2>, arg=0x90) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/eval.c:1217
#45 0x0000558c06c9fef9 in command_loop () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:1145
#46 0x0000558c06ca0a36 in recursive_edit_1 () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:753
#47 0x0000558c06ca0e4c in Frecursive_edit () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:836
#48 0x0000558c06b63adc in main (argc=2, argv=0x7ffe2655eff8) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/emacs.c:2626
Warning: /home/bidar/../lwlib: No such file or directory.
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0
TERM = xterm-256color
Breakpoint 1 at 0x558c06b58ebd: file /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/emacs.c, line 441.
Breakpoint 2 at 0x558c06c6aeb0: file /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xterm.c, line 26990.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007f2894294a73 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007f2894241176 in __GI_raise (sig=sig@entry=11) at ../sysdeps/posix/raise.c:26
#3  0x0000558c06b58f70 in terminate_due_to_signal (sig=11, backtrace_limit=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/emacs.c:479
#4  0x0000558c06b59603 in handle_fatal_signal (sig=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/sysdep.c:1800
#5  0x0000558c06e22618 in deliver_thread_signal.constprop.0 (sig=sig@entry=11, handler=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/sysdep.c:1792
#6  0x0000558c06cbdb89 in deliver_fatal_thread_signal (sig=11) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/sysdep.c:1812
#7  handle_sigsegv (sig=11, siginfo=<optimized out>, arg=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/sysdep.c:1950
#8  0x00007f2894241240 in <signal handler called> () at /lib64/libc.so.6
#9  0x0000558c06bcf76c in note_fringe_highlight (part=<optimized out>, y=<optimized out>, x=<optimized out>, window=XIL(0x558c157380dd)) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xdisp.c:35762
#10 note_mouse_highlight (f=0x558c2caee540, x=<optimized out>, y=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xdisp.c:36016
#11 0x0000558c06c58770 in x_note_mouse_movement (frame=0x558c2caee540, event=0x7ffe2655c540, device=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xterm.c:14667
#12 0x0000558c06c6376a in handle_one_xevent (dpyinfo=0x558c15d679a0, event=<optimized out>, finish=<optimized out>, hold_quit=0x7ffe2655ccc0) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xterm.c:23162
#13 0x0000558c06c5b461 in event_handler_gdk (gxev=0x7ffe2655ca30, ev=<optimized out>, data=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xterm.c:17890
#14 0x00007f289f18b82f in gdk_event_apply_filters (xevent=xevent@entry=0x7ffe2655ca30, event=event@entry=0x558c7065a0d0, window=window@entry=0x0) at ../gdk/x11/gdkeventsource.c:79
#15 0x00007f289f19303f in gdk_event_source_translate_event (xevent=0x7ffe2655ca30, event_source=0x558c0bdbb260) at ../gdk/x11/gdkeventsource.c:198
#16 _gdk_x11_display_queue_events (display=0x558c0bf96450) at ../gdk/x11/gdkeventsource.c:341
#17 0x00007f289f13b9b9 in gdk_display_get_event (display=0x558c0bf96450) at ../gdk/gdkdisplay.c:442
#18 0x00007f289f193412 in gdk_event_source_dispatch.lto_priv () at ../gdk/x11/gdkeventsource.c:354
#19 0x00007f289eb80710 in  () at /lib64/libglib-2.0.so.0
#20 0x00007f289eb82358 in  () at /lib64/libglib-2.0.so.0
#21 0x00007f289eb82a0c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#22 0x00007f289f3f6b95 in gtk_main_iteration () at ../gtk/gtkmain.c:1433
#23 0x0000558c06c6b082 in XTread_socket (terminal=<optimized out>, hold_quit=0x7ffe2655ccc0) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xterm.c:25657
#24 0x0000558c06cad6c2 in gobble_input () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:7898
#25 0x0000558c06cad9c5 in handle_async_input () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:8137
#26 process_pending_signals () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:8151
#27 unblock_input_to (level=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:8166
#28 unblock_input_to (level=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:8160
#29 unblock_input () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:8185
#30 0x0000558c06bdb150 in set_frame_menubar (f=<optimized out>, deep_p=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xmenu.c:1259
#31 0x0000558c06bd3eda in update_menu_bar.part.0.lto_priv.0 (f=0x558c398b1c80, save_match_data=false, hooks_run=true) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xdisp.c:14086
#32 0x0000558c06ba56fa in update_menu_bar (hooks_run=true, save_match_data=false, f=0x558c398b1c80) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xdisp.c:14020
#33 prepare_menu_bars () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xdisp.c:13975
#34 redisplay_internal () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xdisp.c:16982
#35 0x0000558c06ba626a in redisplay_preserve_echo_area (from_where=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/xdisp.c:17740
#36 0x0000558c06b6f18a in swallow_events (do_display=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:4588
#37 swallow_events (do_display=<optimized out>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:4578
#38 sit_for (timeout=make_fixnum(30), reading=<optimized out>, display_option=1) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/dispnew.c:6267
#39 0x0000558c06ca9b22 in read_char (commandflag=1, map=XIL(0x558c184c56a3), prev_event=XIL(0), used_mouse_menu=0x7ffe2655e9ab, end_time=0x0) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:2922
#40 0x0000558c06cbac9f in read_key_sequence (keybuf=0x7ffe2655eb40, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:10722
#41 0x0000558c06ca2047 in command_loop_1 () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:1428
#42 0x0000558c06d3f007 in internal_condition_case (bfun=0x558c06ca1e70 <command_loop_1>, handlers=<optimized out>, hfun=0x558c06ca0f50 <cmd_error>) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/eval.c:1537
#43 0x0000558c06ca138e in command_loop_2 (handlers=handlers@entry=XIL(0x90)) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:1167
#44 0x0000558c06d3ef11 in internal_catch (tag=<optimized out>, func=0x558c06ca1360 <command_loop_2>, arg=XIL(0x90)) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/eval.c:1217
#45 0x0000558c06c9fef9 in command_loop () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:1145
#46 0x0000558c06ca0a36 in recursive_edit_1 () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:753
#47 0x0000558c06ca0e4c in Frecursive_edit () at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/keyboard.c:836
#48 0x0000558c06b63adc in main (argc=2, argv=0x7ffe2655eff8) at /usr/src/debug/emacs-30.0.50.5968.24957ea566b/src/emacs.c:2626
You can't do that without a process to debug.

Thread 7 (Thread 0x7f28844006c0 (LWP 46005)):
You can't do that without a process to debug.

In GNU Emacs 30.0.50 (build 1, x86_64-suse-linux-gnu, GTK+ Version
3.24.41, cairo version 1.18.0)
Windowing system distributor 'The X.Org Foundation', version 11.0.12101012
System Description: openSUSE Tumbleweed

Configured using:
 'configure --disable-build-details --without-pop --with-mailutils
 --without-hesiod --with-gameuser=:games --with-kerberos
 --with-kerberos5 --with-file-notification=inotify --with-modules
 --enable-autodepend --enable-link-time-optimization --prefix=/usr
 --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
 --localstatedir=/var --sharedstatedir=/var/lib
 --libexecdir=/usr/libexec --with-file-notification=yes
 --libdir=/usr/lib64 --with-native-compilation=aot
 --enable-locallisppath=/usr/share/emacs/30.0.50/site-lisp:/usr/share/emacs/site-lisp
 --with-x --with-xim --with-sound --with-xpm --with-jpeg --with-tiff
 --with-gif --with-png --with-rsvg --with-dbus --with-xft --without-gpm
 --with-tree-sitter --with-x-toolkit=gtk --without-pgtk
 --with-toolkit-scroll-bars --x-includes=/usr/include
 --x-libraries=/usr/lib64 --with-libotf --with-m17n-flt --with-cairo
 --with-xwidgets --build=x86_64-suse-linux --with-dumping=pdumper
 build_alias=x86_64-suse-linux 'CC=sccache cc' 'CFLAGS=-O2 -Wall
 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong
 -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection
 -Werror=return-type -flto=auto -march=znver3 -mmmx -mpopcnt -msse
 -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -msse4a -mno-fma4
 -mno-xop -mfma -mno-avx512f -mbmi -mbmi2 -maes -mpclmul -mno-avx512vl
 -mno-avx512bw -mno-avx512dq -mno-avx512cd -mno-avx512er -mno-avx512pf
 -mno-avx512vbmi -mno-avx512ifma -mno-avx5124vnniw -mno-avx5124fmaps
 -mno-avx512vpopcntdq -mno-avx512vbmi2 -mno-gfni -mvpclmulqdq
 -mno-avx512vnni -mno-avx512bitalg -mno-avx512bf16
 -mno-avx512vp2intersect -mno-3dnow -madx -mabm -mno-cldemote
 -mclflushopt -mclwb -mclzero -mcx16 -mno-enqcmd -mf16c -mfsgsbase
 -mfxsr -mno-hle -msahf -mno-lwp -mlzcnt -mmovbe -mno-movdir64b
 -mno-movdiri -mmwaitx -mno-pconfig -mpku -mno-prefetchwt1 -mprfchw
 -mno-ptwrite -mrdpid -mrdrnd -mrdseed -mno-rtm -mno-serialize -mno-sgx
 -msha -mshstk -mno-tbm -mno-tsxldtrk -mvaes -mno-waitpkg -mwbnoinvd
 -mxsave -mxsavec -mxsaveopt -mxsaves -mno-amx-tile -mno-amx-int8
 -mno-amx-bf16 -mno-uintr -mno-hreset -mno-kl -mno-widekl -mno-avxvnni
 -mno-avx512fp16 -mno-avxifma -mno-avxvnniint8 -mno-avxneconvert
 -mno-cmpccxadd -mno-amx-fp16 -mno-prefetchi -mno-raoint
 -mno-amx-complex --param l1-cache-size=32 --param l1-cache-line-size=64
 --param l2-cache-size=512 -mtune=znver3 -g -D_GNU_SOURCE
 -DGDK_DISABLE_DEPRECATION_WARNINGS -DGLIB_DISABLE_DEPRECATION_WARNINGS
 -pipe -Wno-pointer-sign -Wno-unused-variable -Wno-unused-label
 -fno-optimize-sibling-calls -DPDMP_BASE='\''"emacs-gtk"'\'''
 LDFLAGS=-Wl,-O2 'CXX=sccache c++'
 PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG
LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP
NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM XWIDGETS
GTK3 ZLIB

Important settings:
  value of $LC_MONETARY: fi_FI.UTF-8
  value of $LC_NUMERIC: POSIX
  value of $LANG: en_GB.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix