GNU bug report logs - #75870
30.0.93; feature/igc: Breakpoint 1, terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=40) at ./src/emacs.c:432

Previous Next

Package: emacs;

Reported by: Gregor Zattler <telegraph <at> gmx.net>

Date: Sun, 26 Jan 2025 14:46:01 UTC

Severity: normal

Found in version 30.0.93

Done: Pip Cet <pipcet <at> protonmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75870 in the body.
You can then email your comments to 75870 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#75870; Package emacs. (Sun, 26 Jan 2025 14:46:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gregor Zattler <telegraph <at> gmx.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 26 Jan 2025 14:46:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gregor Zattler <telegraph <at> gmx.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.93; feature/igc: Breakpoint 1, terminate_due_to_signal
 (sig=sig <at> entry=6, backtrace_limit=backtrace_limit <at> entry=40) at
 ./src/emacs.c:432
Date: Sun, 26 Jan 2025 15:44:14 +0100
Dear Emacs developers,

when I switched to the Emacs frame it
stayed blank and in GDB I saw

Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=6, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432

it wasn't me who signalled to Emacs, at
least not deliberately.  Therefore i
wouldn't know how to reproduce.

I started another instance of this very
Emacs build in order to get the version
and configuring info, see next.  At the
very end of this email find the GDB
output from 'bt' and 'xbacktrace' (the
latter empty).

The GDB session is still running.

If you have questions involving GDB
please give specific instructions how to
get the needed info.

HTH, Gregor


In GNU Emacs 31.0.50 (build 1,
 x86_64-pc-linux-gnu, cairo version
 1.16.0) of 2025-01-22 built on no
Repository revision: 4fda39cb1670106eac8b912a77d03586eafc18a2
Repository branch: feature/igc
Windowing system distributor 'The X.Org Foundation', version 11.0.12101007
System Description: Debian GNU/Linux 12 (bookworm)

Configured using:
 'configure
 --infodir=/usr/share/info/emacs
 --with-json
 --with-file-notification=yes
 --with-libsystemd --with-cairo
 --with-x=yes --with-x-toolkit=no
 --without-toolkit-scroll-bars
 --without-gsettings
 --enable-check-lisp-object-type
 --enable-checking=yes,glyphs
 --with-native-compilation=yes
 --with-mps=yes 'CFLAGS=-ggdb3 -O3
 -ffile-prefix-map=/home/grfz/src/emacs-igc=. -fstack-protector-strong
 -Wformat -Werror=format-security
 -fno-omit-frame-pointer'
 'CPPFLAGS=-I/home/grfz/mps-artifacts
 -Wdate-time -D_FORTIFY_SOURCE=2'
 'LDFLAGS=-L/home/grfz/mps-artifacts
 -Wl,-z,relro''

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

Important settings:
  value of $LC_ALL:
  value of $LC_COLLATE: de_DE.utf8
  value of $LC_CTYPE: de_DE.utf8
  value of $LC_MESSAGES: POSIX
  value of $LC_MONETARY: de_DE.utf8
  value of $LC_NUMERIC: de_DE.utf8
  value of $LC_TIME: de_DE.utf8
  value of $LANG: de_DE.utf8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  rainbow-delimiters-mode: t
  winner-mode: t
  which-key-mode: t
  mail-abbrevs-mode: t
  savehist-mode: t
  ws-butler-global-mode: t
  ws-butler-mode: t
  delete-selection-mode: t
  minibuffer-depth-indicate-mode: t
  which-function-mode: t
  windmove-mode: t
  xterm-mouse-mode: t
  key-chord-mode: t
  find-function-mode: t
  override-global-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  minibuffer-regexp-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/grfz/src/notmuch/emacs/notmuch-lib hides /usr/local/share/emacs/site-lisp/notmuch-lib
/home/grfz/src/notmuch/emacs/coolj hides /usr/local/share/emacs/site-lisp/coolj
/home/grfz/src/notmuch/emacs/notmuch-address hides /usr/local/share/emacs/site-lisp/notmuch-address
/home/grfz/src/notmuch/emacs/notmuch-hello hides /usr/local/share/emacs/site-lisp/notmuch-hello
/home/grfz/src/notmuch/emacs/notmuch-parser hides /usr/local/share/emacs/site-lisp/notmuch-parser
/home/grfz/src/notmuch/emacs/notmuch-show hides /usr/local/share/emacs/site-lisp/notmuch-show
/home/grfz/src/notmuch/emacs/notmuch-wash hides /usr/local/share/emacs/site-lisp/notmuch-wash
/home/grfz/src/notmuch/emacs/notmuch-draft hides /usr/local/share/emacs/site-lisp/notmuch-draft
/home/grfz/src/notmuch/emacs/notmuch-tree hides /usr/local/share/emacs/site-lisp/notmuch-tree
/home/grfz/src/notmuch/emacs/notmuch-version hides /usr/local/share/emacs/site-lisp/notmuch-version
/home/grfz/src/notmuch/emacs/notmuch-jump hides /usr/local/share/emacs/site-lisp/notmuch-jump
/home/grfz/src/notmuch/emacs/notmuch-company hides /usr/local/share/emacs/site-lisp/notmuch-company
/home/grfz/src/notmuch/emacs/notmuch hides /usr/local/share/emacs/site-lisp/notmuch
/home/grfz/src/notmuch/emacs/notmuch-crypto hides /usr/local/share/emacs/site-lisp/notmuch-crypto
/home/grfz/src/notmuch/emacs/notmuch-compat hides /usr/local/share/emacs/site-lisp/notmuch-compat
/home/grfz/src/notmuch/emacs/notmuch-maildir-fcc hides /usr/local/share/emacs/site-lisp/notmuch-maildir-fcc
/home/grfz/src/notmuch/emacs/notmuch-tag hides /usr/local/share/emacs/site-lisp/notmuch-tag
/home/grfz/src/notmuch/emacs/notmuch-message hides /usr/local/share/emacs/site-lisp/notmuch-message
/home/grfz/src/notmuch/emacs/notmuch-print hides /usr/local/share/emacs/site-lisp/notmuch-print
/home/grfz/src/notmuch/emacs/notmuch-mua hides /usr/local/share/emacs/site-lisp/notmuch-mua
/home/grfz/src/notmuch/emacs/notmuch-query hides /usr/local/share/emacs/site-lisp/notmuch-query
/home/grfz/src/notmuch/emacs/notmuch-address hides /home/grfz/.config/emacs/elisp/notmuch-address
/home/grfz/src/ol-notmuch/ol-notmuch hides /home/grfz/.config/emacs/elisp/ol-notmuch
/home/grfz/.config/emacs/elpa-31.0/magit-4.2.0/magit-autorevert hides /home/grfz/.config/emacs/elpa-31.0/magit-section-4.2.0/magit-autorevert
/home/grfz/.config/emacs/elpa-31.0/eglot-1.18/eglot hides /home/grfz/src/emacs-igc/lisp/progmodes/eglot
/home/grfz/.config/emacs/elpa-31.0/idlwave-6.5.1/idlw-shell hides /home/grfz/src/emacs-igc/lisp/obsolete/idlw-shell
/home/grfz/.config/emacs/elpa-31.0/idlwave-6.5.1/idlwave hides /home/grfz/src/emacs-igc/lisp/obsolete/idlwave
/home/grfz/.config/emacs/elpa-31.0/idlwave-6.5.1/idlw-toolbar hides /home/grfz/src/emacs-igc/lisp/obsolete/idlw-toolbar
/home/grfz/.config/emacs/elpa-31.0/idlwave-6.5.1/idlw-help hides /home/grfz/src/emacs-igc/lisp/obsolete/idlw-help
/home/grfz/.config/emacs/elpa-31.0/idlwave-6.5.1/idlw-complete-structtag hides /home/grfz/src/emacs-igc/lisp/obsolete/idlw-complete-structtag

Features:
(shadow sort compile orgalist
wcheck-mode ecomplete mail-extr emacsbug
tramp trampver tramp-integration files-x
tramp-message tramp-compat shell
parse-time iso8601 tramp-loaddefs
add-log rainbow-delimiters winner
which-key ol-notmuch notmuch
notmuch-tree notmuch-jump notmuch-hello
notmuch-show notmuch-print
notmuch-crypto notmuch-mua
notmuch-message notmuch-draft
notmuch-maildir-fcc notmuch-address
notmuch-company notmuch-parser
notmuch-wash diff-mode track-changes
coolj goto-addr icalendar diary-lib
diary-loaddefs notmuch-tag crm
notmuch-lib notmuch-version
notmuch-compat hl-line mm-view mml-smime
smime gnutls dig compat org-contrib
org-crypt org-protocol org-clock dbus
xml ob-plantuml gnus-alias advice
message yank-media puny dired
dired-loaddefs rfc822 mml mml-sec epa
derived epg rfc6068 epg-config gnus-util
text-property-search mm-decode mm-bodies
mm-encode mail-parse rfc2231 gmm-utils
mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils
finder-inf mailabbrev savehist
auth-source-pass holidays
holiday-loaddefs ws-butler delsel
modus-operandi-theme modus-themes
mb-depth which-func imenu windmove
xt-mouse edmacro kmacro key-chord comp
comp-cstr cl-extra help-mode warnings
comp-run comp-common org ob ob-ref
ob-lob ob-table ob-exp org-macro
org-pcomplete pcomplete org-list
org-footnote org-faces org-entities
time-date noutline outline ob-emacs-lisp
org-table org-loaddefs thingatpt
find-func cal-menu calendar cal-loaddefs
ob-tangle ol org-src sh-script rx smie
treesit executable org-keys oc ob-comint
comint ansi-osc ansi-color ring ob-core
org-cycle org-fold org-fold-core
org-compat ob-eval org-version org-macs
format-spec use-package
use-package-ensure use-package-delight
use-package-diminish
use-package-bind-key bind-key easy-mmode
use-package-core async-autoloads
csv-mode-autoloads debbugs-autoloads
dired-git-info-autoloads eglot-autoloads
hyperbole-autoloads kotl-autoloads hact
set hhist idlwave-autoloads
key-chord-autoloads magit-autoloads
pcase magit-section-autoloads
dash-autoloads minibuffer-line-autoloads
org-contrib-autoloads org-autoloads
orgalist-autoloads paredit-autoloads
rainbow-delimiters-autoloads
wcheck-mode-autoloads info
with-editor-autoloads
ws-butler-autoloads package browse-url
xdg url url-proxy url-privacy url-expand
url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util
mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core
cl-macs password-cache json subr-x map
byte-opt gv bytecomp byte-compile
url-vars cus-edit pp cus-load icons
wid-edit cl-loaddefs cl-lib rmc
iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd
touch-screen tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode
register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer
select scroll-bar mouse jit-lock
font-lock syntax font-core
term/tty-colors frame minibuffer nadvice
seq simple cl-generic indonesian
philippine cham georgian utf-8-lang
misc-lang vietnamese tibetan thai
tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak
czech european ethiopic indian cyrillic
chinese composite emoji-zwj charscript
charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray
oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp
files window text-properties overlay
sha1 md5 base64 format env code-pages
mule custom widget keymap
hashtable-print-readable backquote
threads dbusbind inotify lcms2
dynamic-setting font-render-setting
cairo xinput2 x multi-tty move-toolbar
make-network-process tty-child-frames
native-compile mps emacs)

Memory information:
((conses 24 0 0) (symbols 56 0 0) (strings 40 0 0) (string-bytes 1 0)
 (vectors 24 0) (vector-slots 8 0 0) (floats 24 0 0) (intervals 64 0 0)
 (buffers 992 0))





Starting program: /home/grfz/src/emacs-igc/src/emacs --debug-init -xrm --init-directory="${USER_EMACS_DIRECTORY}" --fg-daemon="${EMACS_SERVER_NAME}"
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after vfork from child process 8489]
[Detaching after vfork from child process 8491]
[Detaching after vfork from child process 8492]
[Detaching after vfork from child process 8516]
[Detaching after vfork from child process 8654]
[Detaching after vfork from child process 8678]
[Detaching after vfork from child process 8679]
[Detaching after vfork from child process 8881]
[Detaching after vfork from child process 8882]

Program received signal SIGSEGV, Segmentation fault.

[... 64 identical lines deleted ...]

Program received signal SIGSEGV, Segmentation fault.
[Detaching after vfork from child process 75697]
[Detaching after vfork from child process 75833]
[Detaching after vfork from child process 75837]
[Detaching after vfork from child process 75840]
[Detaching after vfork from child process 76161]
[Detaching after vfork from child process 76162]

[... 575 identical lines deteled ...]
Program received signal SIGSEGV, Segmentation fault.
[Detaching after vfork from child process 76190]
[Detaching after vfork from child process 76191]
[Detaching after vfork from child process 76192]
[Detaching after vfork from child process 76196]
[Detaching after vfork from child process 76202]
[Detaching after vfork from child process 76209]
[Detaching after vfork from child process 76426]
[Detaching after vfork from child process 76589]
[Detaching after vfork from child process 76679]
[Detaching after vfork from child process 76683]
[Detaching after vfork from child process 76687]
[Detaching after vfork from child process 76691]
[Detaching after vfork from child process 76696]
[Detaching after vfork from child process 76701]
[Detaching after vfork from child process 76706]
[Detaching after vfork from child process 76710]
[Detaching after vfork from child process 76736]

Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=6, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
432	{
#0  terminate_due_to_signal (sig=sig <at> entry=6, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
#1  0x00005555555b39a2 in emacs_abort () at ./src/sysdep.c:2390
#2  0x00005555555cc9ff in igc_check_freeable (start=start <at> entry=0x555556646030) at ./src/igc.c:3068
#3  0x00005555557ef088 in xfree (block=0x555556646030) at ./src/alloc.c:842
#4  xfree (block=0x555556646030) at ./src/alloc.c:835
#5  0x000055555571e72c in xi_disable_devices (dpyinfo=dpyinfo <at> entry=0x555556633190, to_disable=to_disable <at> entry=0x7fffffffb340, n_disabled=n_disabled <at> entry=1) at ./src/xterm.c:13970
#6  0x0000555555730ede in xi_disable_devices (n_disabled=1, to_disable=0x7fffffffb340, dpyinfo=0x555556633190) at ./src/xterm.c:13885
#7  handle_one_xevent (dpyinfo=dpyinfo <at> entry=0x555556633190, event=event <at> entry=0x7fffffffba00, finish=finish <at> entry=0x7fffffffb9fc, hold_quit=hold_quit <at> entry=0x7fffffffbb20) at ./src/xterm.c:24779
#8  0x0000555555739421 in XTread_socket (terminal=<optimized out>, hold_quit=0x7fffffffbb20) at ./src/xterm.c:25771
#9  0x0000555555771f21 in gobble_input () at ./src/keyboard.c:7937
#10 0x00005555557725b5 in handle_async_input () at ./src/keyboard.c:8176
#11 process_pending_signals () at ./src/keyboard.c:8190
#12 0x00005555557740b5 in unblock_input_to (level=0) at ./src/keyboard.c:8207
#13 0x000055555592bdb9 in xg_select (fds_lim=<optimized out>, rfds=<optimized out>, wfds=<optimized out>, efds=<optimized out>, timeout=<optimized out>, sigmask=<optimized out>) at ./src/xgselect.c:282
#14 0x00005555558a2d22 in wait_reading_process_output (time_limit=time_limit <at> entry=0, nsecs=nsecs <at> entry=0, read_kbd=read_kbd <at> entry=-1, do_display=true, wait_for_cell=Python Exception <class 'gdb.error'>: value has been optimized out
, wait_for_cell <at> entry=XIL(0), wait_proc=wait_proc <at> entry=0x0, just_wait_proc=<optimized out>) at ./src/process.c:5761
#15 0x0000555555779a5e in kbd_buffer_get_event (used_mouse_menu=<optimized out>, end_time=0x0, kbp=<synthetic pointer>) at ./src/lisp.h:1229
#16 read_event_from_main_queue (used_mouse_menu=<optimized out>, local_getcjmp=0x7fffffffc840, end_time=0x0) at ./src/keyboard.c:2336
#17 read_decoded_event_from_main_queue (used_mouse_menu=<optimized out>, prev_event=Python Exception <class 'gdb.error'>: value has been optimized out
, local_getcjmp=<optimized out>, end_time=<optimized out>) at ./src/keyboard.c:2400
#18 read_char (commandflag=1, map=Python Exception <class 'gdb.error'>: value has been optimized out
, map <at> entry=XIL(0x7fffd58bf61b), prev_event=Python Exception <class 'gdb.error'>: value has been optimized out
, used_mouse_menu=used_mouse_menu <at> entry=0x7fffffffcc1b, end_time=end_time <at> entry=0x0) at ./src/keyboard.c:3031
#19 0x000055555577e38b in read_key_sequence (keybuf=keybuf <at> entry=0x7fffffffcd80, prompt=Python Exception <class 'gdb.error'>: value has been optimized out
, prompt <at> entry=XIL(0), dont_downcase_last=dont_downcase_last <at> entry=false, can_return_switch_frame=can_return_switch_frame <at> entry=true, fix_current_buffer=fix_current_buffer <at> entry=true, prevent_redisplay=prevent_redisplay <at> entry=false, disable_text_conversion_p=<optimized out>) at ./src/keyboard.c:10790
#20 0x00005555557800b7 in command_loop_1 () at ./src/lisp.h:1229
#21 0x000055555581f6a6 in internal_condition_case (bfun=bfun <at> entry=0x55555577fe60 <command_loop_1>, handlers=handlers <at> entry=XIL(0xa8), hfun=hfun <at> entry=0x555555764040 <cmd_error>) at ./src/eval.c:1627
#22 0x0000555555762c7e in command_loop_2 (handlers=handlers <at> entry=XIL(0xa8)) at ./src/keyboard.c:1174
#23 0x000055555581f42f in internal_catch (tag=tag <at> entry=XIL(0x15498), func=func <at> entry=0x555555762c50 <command_loop_2>, arg=Python Exception <class 'gdb.error'>: value has been optimized out
, arg <at> entry=XIL(0xa8)) at ./src/eval.c:1306
#24 0x0000555555762c19 in command_loop () at ./src/lisp.h:1229
#25 0x000055555576f725 in recursive_edit_1 () at ./src/keyboard.c:760
#26 0x000055555576fad5 in Frecursive_edit () at ./src/keyboard.c:843
#27 0x00005555555d20b5 in main (argc=5, argv=<optimized out>) at ./src/emacs.c:2658




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#75870; Package emacs. (Tue, 28 Jan 2025 18:27:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pip Cet <pipcet <at> protonmail.com>
To: bug-gnu-emacs <at> gnu.org, 75870 <at> debbugs.gnu.org,
 Gregor Zattler <telegraph <at> gmx.net>
Subject: Re: bug#75870: 30.0.93;
 feature/igc: Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=6,
 backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
Date: Tue, 28 Jan 2025 18:26:20 +0000
"Gregor Zattler via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\"" <bug-gnu-emacs <at> gnu.org> writes:

> Dear Emacs developers,

Hello Gregor!

Sorry I'm only getting to this now.

> when I switched to the Emacs frame it
> stayed blank and in GDB I saw
>
> Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=6, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432

That means we aborted, which may be hard or easy to track down.  In this
case, it's the latter.

> it wasn't me who signalled to Emacs, at
> least not deliberately.  Therefore i
> wouldn't know how to reproduce.

abort() is handled on GNU/Linux by making a process send a signal to
itself, and then it will terminate upon receiving it.

> I started another instance of this very
> Emacs build in order to get the version
> and configuring info, see next.  At the
> very end of this email find the GDB
> output from 'bt' and 'xbacktrace' (the
> latter empty).

So these are two backtraces?

> If you have questions involving GDB
> please give specific instructions how to
> get the needed info.

> HTH, Gregor

It definitely does!

> Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=6, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
> 432	{
> #0  terminate_due_to_signal (sig=sig <at> entry=6, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
> #1  0x00005555555b39a2 in emacs_abort () at ./src/sysdep.c:2390
> #2  0x00005555555cc9ff in igc_check_freeable (start=start <at> entry=0x555556646030) at ./src/igc.c:3068

I wrote igc_check_freeable to catch cases in which an igc_xzalloc was
paired with an xfree rather than an igc_xfree.  If undetected, such
unbalanced calls would leak roots, which can be a major slowdown.

> #3  0x00005555557ef088 in xfree (block=0x555556646030) at ./src/alloc.c:842
> #4  xfree (block=0x555556646030) at ./src/alloc.c:835
> #5  0x000055555571e72c in xi_disable_devices (dpyinfo=dpyinfo <at> entry=0x555556633190, to_disable=to_disable <at> entry=0x7fffffffb340, n_disabled=n_disabled <at> entry=1) at ./src/xterm.c:13970

That line is:

      xfree (dpyinfo->devices);

You know where this is going.  Here's where we allocated it:

#ifdef HAVE_MPS
  // FIXME/igc: use exact references
  dpyinfo->devices = igc_xzalloc_ambig (sizeof *dpyinfo->devices * ndevices);
#else
  dpyinfo->devices = xzalloc (sizeof *dpyinfo->devices * ndevices);
#endif

So the we shouldn't call xfree, but:

#ifdef HAVE_MPS
  igc_xfree (dpyinfo->devices);
#else
  xfree (dpyinfo->devices);
#endif

> #6  0x0000555555730ede in xi_disable_devices (n_disabled=1, to_disable=0x7fffffffb340, dpyinfo=0x555556633190) at ./src/xterm.c:13885

I'm not entirely sure what precisely a device is in terms of XI.  Did
you add or remove a mouse/keyboard/touchscreen, or suspend and resume
your computer?  Or maybe connect or disconnect from a docking station?
Many USB devices are also "input" devices, so it might have been one of
those, like a hardware security token (which emulates a keyboard) or a
sound device (which has buttons which might be handled by XI).

Here's the patch:

From aad2659d864d7ab2f81ab1983a5d85e966d14708 Mon Sep 17 00:00:00 2001
From: Pip Cet <pipcet <at> protonmail.com>
Subject: [PATCH] [MPS] Fix crashes on XI devices being disabled (bug#75870)

* src/xterm.c (x_free_xi_devices):
(xi_disable_devices) [HAVE_MPS]: Use 'igc_xfree', not 'xfree'.
---
 src/xterm.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/xterm.c b/src/xterm.c
index ada7fbc2e41..049e283cdbc 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -5414,7 +5414,11 @@ x_free_xi_devices (struct x_display_info *dpyinfo)
 #endif /* HAVE_XINPUT2_2 */
 	}
 
+#ifdef HAVE_MPS
+      igc_xfree (dpyinfo->devices);
+#else
       xfree (dpyinfo->devices);
+#endif
       dpyinfo->devices = NULL;
       dpyinfo->num_devices = 0;
     }
@@ -13967,7 +13971,11 @@ xi_disable_devices (struct x_display_info *dpyinfo,
     }
 
   /* Free the old devices array and replace it with ndevices.  */
+#ifdef HAVE_MPS
+  igc_xfree (dpyinfo->devices);
+#else
   xfree (dpyinfo->devices);
+#endif
 
   dpyinfo->devices = devices;
   dpyinfo->num_devices = ndevices;
-- 
2.47.1

It's reasonably obvious, so I'll push it and close this bug ASAP.

Thank you again for the report.  Please keep those coming if you can do
so at all!

Pip





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#75870; Package emacs. (Tue, 28 Jan 2025 18:27:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#75870; Package emacs. (Tue, 28 Jan 2025 18:49:02 GMT) Full text and rfc822 format available.

Message #14 received at 75870 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Pip Cet <pipcet <at> protonmail.com>
Cc: 75870 <at> debbugs.gnu.org, telegraph <at> gmx.net
Subject: Re: bug#75870: 30.0.93;
 feature/igc: Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=6,
 backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
Date: Tue, 28 Jan 2025 20:48:48 +0200
> Date: Tue, 28 Jan 2025 18:26:20 +0000
> From:  Pip Cet via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> > #3  0x00005555557ef088 in xfree (block=0x555556646030) at ./src/alloc.c:842
> > #4  xfree (block=0x555556646030) at ./src/alloc.c:835
> > #5  0x000055555571e72c in xi_disable_devices (dpyinfo=dpyinfo <at> entry=0x555556633190, to_disable=to_disable <at> entry=0x7fffffffb340, n_disabled=n_disabled <at> entry=1) at ./src/xterm.c:13970
> 
> That line is:
> 
>       xfree (dpyinfo->devices);

There's a similar line at xterm.c:5417, it seems.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#75870; Package emacs. (Tue, 28 Jan 2025 19:42:01 GMT) Full text and rfc822 format available.

Message #17 received at 75870 <at> debbugs.gnu.org (full text, mbox):

From: Pip Cet <pipcet <at> protonmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 75870 <at> debbugs.gnu.org, telegraph <at> gmx.net
Subject: Re: bug#75870: 30.0.93;
 feature/igc: Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=6,
 backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
Date: Tue, 28 Jan 2025 19:41:15 +0000
"Eli Zaretskii" <eliz <at> gnu.org> writes:

>> Date: Tue, 28 Jan 2025 18:26:20 +0000
>> From:  Pip Cet via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>>
>> > #3  0x00005555557ef088 in xfree (block=0x555556646030) at ./src/alloc.c:842
>> > #4  xfree (block=0x555556646030) at ./src/alloc.c:835
>> > #5 0x000055555571e72c in xi_disable_devices
>> > (dpyinfo=dpyinfo <at> entry=0x555556633190,
>> > to_disable=to_disable <at> entry=0x7fffffffb340,
>> > n_disabled=n_disabled <at> entry=1) at ./src/xterm.c:13970
>>
>> That line is:
>>
>>       xfree (dpyinfo->devices);
>
> There's a similar line at xterm.c:5417, it seems.

Thanks for the heads-up!  Here's the patch again, which seems to cover
that line.  Or did I mess up somehow?

Pip

diff --git a/src/xterm.c b/src/xterm.c
index ada7fbc2e41..049e283cdbc 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -5414,7 +5414,11 @@ x_free_xi_devices (struct x_display_info *dpyinfo)
 #endif /* HAVE_XINPUT2_2 */
 	}
 
+#ifdef HAVE_MPS
+      igc_xfree (dpyinfo->devices);
+#else
       xfree (dpyinfo->devices);
+#endif
       dpyinfo->devices = NULL;
       dpyinfo->num_devices = 0;
     }
@@ -13967,7 +13971,11 @@ xi_disable_devices (struct x_display_info *dpyinfo,
     }
 
   /* Free the old devices array and replace it with ndevices.  */
+#ifdef HAVE_MPS
+  igc_xfree (dpyinfo->devices);
+#else
   xfree (dpyinfo->devices);
+#endif
 
   dpyinfo->devices = devices;
   dpyinfo->num_devices = ndevices;
-- 
2.47.1





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#75870; Package emacs. (Tue, 28 Jan 2025 19:52:02 GMT) Full text and rfc822 format available.

Message #20 received at 75870 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Pip Cet <pipcet <at> protonmail.com>
Cc: 75870 <at> debbugs.gnu.org, telegraph <at> gmx.net
Subject: Re: bug#75870: 30.0.93;
 feature/igc: Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=6,
 backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
Date: Tue, 28 Jan 2025 21:51:07 +0200
> Date: Tue, 28 Jan 2025 19:41:15 +0000
> From: Pip Cet <pipcet <at> protonmail.com>
> Cc: 75870 <at> debbugs.gnu.org, telegraph <at> gmx.net
> 
> "Eli Zaretskii" <eliz <at> gnu.org> writes:
> 
> >> Date: Tue, 28 Jan 2025 18:26:20 +0000
> >> From:  Pip Cet via "Bug reports for GNU Emacs,
> >>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> >>
> >> > #3  0x00005555557ef088 in xfree (block=0x555556646030) at ./src/alloc.c:842
> >> > #4  xfree (block=0x555556646030) at ./src/alloc.c:835
> >> > #5 0x000055555571e72c in xi_disable_devices
> >> > (dpyinfo=dpyinfo <at> entry=0x555556633190,
> >> > to_disable=to_disable <at> entry=0x7fffffffb340,
> >> > n_disabled=n_disabled <at> entry=1) at ./src/xterm.c:13970
> >>
> >> That line is:
> >>
> >>       xfree (dpyinfo->devices);
> >
> > There's a similar line at xterm.c:5417, it seems.
> 
> Thanks for the heads-up!  Here's the patch again, which seems to cover
> that line.  Or did I mess up somehow?

LGTM, thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#75870; Package emacs. (Tue, 28 Jan 2025 22:57:02 GMT) Full text and rfc822 format available.

Message #23 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gregor Zattler <telegraph <at> gmx.net>
To: Pip Cet <pipcet <at> protonmail.com>, bug-gnu-emacs <at> gnu.org,
 75870 <at> debbugs.gnu.org
Subject: Re: bug#75870: 30.0.93; feature/igc: Breakpoint 1,
 terminate_due_to_signal (sig=sig <at> entry=6,
 backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
Date: Tue, 28 Jan 2025 23:55:22 +0100
Hi Pip,
* Pip Cet <pipcet <at> protonmail.com> [2025-01-28; 18:26 GMT]:
> "Gregor Zattler via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\"" <bug-gnu-emacs <at> gnu.org> writes:
>> when I switched to the Emacs frame it
>> stayed blank and in GDB I saw
>>
>> Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=6, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
>
> That means we aborted, which may be hard or easy to track down.  In this
> case, it's the latter.
>
>> it wasn't me who signalled to Emacs, at
>> least not deliberately.  Therefore i
>> wouldn't know how to reproduce.
>
> abort() is handled on GNU/Linux by making a process send a signal to
> itself, and then it will terminate upon receiving it.
>
>> I started another instance of this very
>> Emacs build in order to get the version
>> and configuring info, see next.  At the
>> very end of this email find the GDB
>> output from 'bt' and 'xbacktrace' (the
>> latter empty).
>
> So these are two backtraces?

I did "bt" and it resulted in the output
and then "xbacktrace" which did not add
additional lines (no output).


>> If you have questions involving GDB
>> please give specific instructions how to
>> get the needed info.
>
>> HTH, Gregor
>
> It definitely does!
>
>> Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=6, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
>> 432	{
>> #0  terminate_due_to_signal (sig=sig <at> entry=6, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
>> #1  0x00005555555b39a2 in emacs_abort () at ./src/sysdep.c:2390
>> #2  0x00005555555cc9ff in igc_check_freeable (start=start <at> entry=0x555556646030) at ./src/igc.c:3068
>
> I wrote igc_check_freeable to catch cases in which an igc_xzalloc was
> paired with an xfree rather than an igc_xfree.  If undetected, such
> unbalanced calls would leak roots, which can be a major slowdown.
>
>> #3  0x00005555557ef088 in xfree (block=0x555556646030) at ./src/alloc.c:842
>> #4  xfree (block=0x555556646030) at ./src/alloc.c:835
>> #5  0x000055555571e72c in xi_disable_devices (dpyinfo=dpyinfo <at> entry=0x555556633190, to_disable=to_disable <at> entry=0x7fffffffb340, n_disabled=n_disabled <at> entry=1) at ./src/xterm.c:13970
>
> That line is:
>
>       xfree (dpyinfo->devices);
>
> You know where this is going.  Here's where we allocated it:
>
> #ifdef HAVE_MPS
>   // FIXME/igc: use exact references
>   dpyinfo->devices = igc_xzalloc_ambig (sizeof *dpyinfo->devices * ndevices);
> #else
>   dpyinfo->devices = xzalloc (sizeof *dpyinfo->devices * ndevices);
> #endif
>
> So the we shouldn't call xfree, but:
>
> #ifdef HAVE_MPS
>   igc_xfree (dpyinfo->devices);
> #else
>   xfree (dpyinfo->devices);
> #endif
>
>> #6  0x0000555555730ede in xi_disable_devices (n_disabled=1, to_disable=0x7fffffffb340, dpyinfo=0x555556633190) at ./src/xterm.c:13885
>
> I'm not entirely sure what precisely a device is in terms of XI.  Did
> you add or remove a mouse/keyboard/touchscreen, or suspend and resume
> your computer?  Or maybe connect or disconnect from a docking station?
> Many USB devices are also "input" devices, so it might have been one of
> those, like a hardware security token (which emulates a keyboard) or a
> sound device (which has buttons which might be handled by XI).

That's quite likely, I played at the
time with "udisksctl power-off  -b
/dev/sdb" to remove an usb-storage
device which is in a dock.  It might be
that I did that while the Emacs session
in question was running, not sure
thought.

It just tried, if issuing this command
stops the MPS-enabled Emacs but it
didn't, so could not reproduce.


> Here's the patch:
>
> From aad2659d864d7ab2f81ab1983a5d85e966d14708 Mon Sep 17 00:00:00 2001
> From: Pip Cet <pipcet <at> protonmail.com>
> Subject: [PATCH] [MPS] Fix crashes on XI devices being disabled (bug#75870)
>
> * src/xterm.c (x_free_xi_devices):
> (xi_disable_devices) [HAVE_MPS]: Use 'igc_xfree', not 'xfree'.
> ---
>  src/xterm.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/src/xterm.c b/src/xterm.c
> index ada7fbc2e41..049e283cdbc 100644
> --- a/src/xterm.c
> +++ b/src/xterm.c
> @@ -5414,7 +5414,11 @@ x_free_xi_devices (struct x_display_info *dpyinfo)
>  #endif /* HAVE_XINPUT2_2 */
>  	}
>
> +#ifdef HAVE_MPS
> +      igc_xfree (dpyinfo->devices);
> +#else
>        xfree (dpyinfo->devices);
> +#endif
>        dpyinfo->devices = NULL;
>        dpyinfo->num_devices = 0;
>      }
> @@ -13967,7 +13971,11 @@ xi_disable_devices (struct x_display_info *dpyinfo,
>      }
>
>    /* Free the old devices array and replace it with ndevices.  */
> +#ifdef HAVE_MPS
> +  igc_xfree (dpyinfo->devices);
> +#else
>    xfree (dpyinfo->devices);
> +#endif
>
>    dpyinfo->devices = devices;
>    dpyinfo->num_devices = ndevices;


will try and the one in the your thanks,
next email.


Since I'm not able to reproduce I'll
simply use it and wait.

Ciao; Gregor
--
 -... --- .-. . -.. ..--.. ...-.-




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#75870; Package emacs. (Tue, 28 Jan 2025 22:57:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#75870; Package emacs. (Tue, 28 Jan 2025 23:13:02 GMT) Full text and rfc822 format available.

Message #29 received at 75870 <at> debbugs.gnu.org (full text, mbox):

From: Gregor Zattler <telegraph <at> gmx.net>
To: Pip Cet <pipcet <at> protonmail.com>, bug-gnu-emacs <at> gnu.org,
 75870 <at> debbugs.gnu.org
Subject: Re: bug#75870: 30.0.93; feature/igc: Breakpoint 1,
 terminate_due_to_signal (sig=sig <at> entry=6,
 backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
Date: Wed, 29 Jan 2025 00:12:08 +0100
Hi Pip,
* Gregor Zattler <telegraph <at> gmx.net> [2025-01-28; 23:55 +01]:
> will try and the one in the your thanks,
> next email.

realized now, it's one patch.  I'll
apply and test.


Ciao; Gregor
--
 -... --- .-. . -.. ..--.. ...-.-




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#75870; Package emacs. (Tue, 28 Jan 2025 23:14:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#75870; Package emacs. (Sat, 01 Feb 2025 23:47:02 GMT) Full text and rfc822 format available.

Message #35 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pip Cet <pipcet <at> protonmail.com>
To: Gregor Zattler <telegraph <at> gmx.net>
Cc: bug-gnu-emacs <at> gnu.org, 75870-noe <at> debbugs.gnu.org
Subject: Re: bug#75870: 30.0.93;
 feature/igc: Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=6,
 backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
Date: Sat, 01 Feb 2025 23:46:17 +0000
"Gregor Zattler" <telegraph <at> gmx.net> writes:

> Since I'm not able to reproduce I'll
> simply use it and wait.

I'm closing this bug; please reopen or open new ones as appropriate
(when in doubt, file a bug!)

Thanks for the helpful report!

Pip





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#75870; Package emacs. (Mon, 03 Feb 2025 16:45:02 GMT) Full text and rfc822 format available.

Message #38 received at 75870 <at> debbugs.gnu.org (full text, mbox):

From: Gregor Zattler <telegraph <at> gmx.net>
To: Pip Cet <pipcet <at> protonmail.com>
Cc: 75870 <at> debbugs.gnu.org, request <at> debbugs.gnu.org
Subject: Re: bug#75870: 30.0.93; feature/igc: Breakpoint 1,
 terminate_due_to_signal (sig=sig <at> entry=6,
 backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
Date: Mon, 03 Feb 2025 17:43:13 +0100
reopen 75870
stop

Hi Pip, Emacs developers, please inform
me, if this is the wrong way to reopen
an bug.

* Pip Cet <pipcet <at> protonmail.com> [2025-02-01; 23:45 GMT]:
> "Gregor Zattler" <telegraph <at> gmx.net> writes:
>> * Gregor Zattler <telegraph <at> gmx.net> [2025-01-28; 23:55 +01]:
>>> will try and the one in the your thanks,
>>> next email.
>>
>> realized now, it's one patch.  I'll
>> apply and test.
>
> Hello again!
>
> I've pushed the patch and am closing this bug.  Please feel free to
> reopen or open a new one if I missed a problem somewhere.

since this and bug#75459 were closed, I
build Emacs from feature/igc as of
today.  An Emacs frame was open for
quite some time because I went out to
have a coffee and when I came back Emacs
had terminated again.  While this time
there is no other frame in a terminal,
the graphical frame again is completely
white and does not react.

The Emacs session is still in GDB.

Here are the usual infos.

This is from a new Emacs instance but
from the same build:

In GNU Emacs 31.0.50 (build 1,
 x86_64-pc-linux-gnu, cairo version
 1.16.0) of 2025-02-03 built on no
Repository revision: 4fda39cb1670106eac8b912a77d03586eafc18a2
Repository branch: feature/igc
Windowing system distributor 'The X.Org Foundation', version 11.0.12101007
System Description: Debian GNU/Linux 12 (bookworm)

Configured using:
 'configure
 --infodir=/usr/share/info/emacs
 --with-json
 --with-file-notification=yes
 --with-libsystemd --with-cairo
 --with-x=yes --with-x-toolkit=no
 --without-toolkit-scroll-bars
 --without-gsettings
 --enable-check-lisp-object-type
 --enable-checking=yes,glyphs
 --with-native-compilation=yes
 --with-mps=yes 'CFLAGS=-ggdb3 -O3
 -ffile-prefix-map=/home/grfz/src/emacs-igc=. -fstack-protector-strong
 -Wformat -Werror=format-security
 -fno-omit-frame-pointer'
 'CPPFLAGS=-I/home/grfz/mps-artifacts
 -Wdate-time -D_FORTIFY_SOURCE=2'
 'LDFLAGS=-L/home/grfz/mps-artifacts
 -Wl,-z,relro''

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

Important settings:
  value of $LC_ALL:
  value of $LC_COLLATE: de_DE.utf8
  value of $LC_CTYPE: de_DE.utf8
  value of $LC_MESSAGES: POSIX
  value of $LC_MONETARY: de_DE.utf8
  value of $LC_NUMERIC: de_DE.utf8
  value of $LC_TIME: de_DE.utf8
  value of $LANG: de_DE.utf8
  locale-coding-system: utf-8-unix

Major mode: Message[Notmuch]

Minor modes in effect:
  orgalist-mode: t
  wcheck-mode: t
  rainbow-delimiters-mode: t
  winner-mode: t
  which-key-mode: t
  mml-mode: t
  mail-abbrevs-mode: t
  savehist-mode: t
  ws-butler-global-mode: t
  ws-butler-mode: t
  delete-selection-mode: t
  minibuffer-depth-indicate-mode: t
  which-function-mode: t
  windmove-mode: t
  xterm-mouse-mode: t
  key-chord-mode: t
  find-function-mode: t
  override-global-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  minibuffer-regexp-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  auto-fill-function: #[128 \304\300\301#\207 [orgalist--auto-fill message-do-auto-fill :around nil apply] 5 advice]
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  abbrev-mode: t

Load-path shadows:
/home/grfz/src/notmuch/emacs/notmuch-lib hides /usr/local/share/emacs/site-lisp/notmuch-lib
/home/grfz/src/notmuch/emacs/coolj hides /usr/local/share/emacs/site-lisp/coolj
/home/grfz/src/notmuch/emacs/notmuch-address hides /usr/local/share/emacs/site-lisp/notmuch-address
/home/grfz/src/notmuch/emacs/notmuch-hello hides /usr/local/share/emacs/site-lisp/notmuch-hello
/home/grfz/src/notmuch/emacs/notmuch-parser hides /usr/local/share/emacs/site-lisp/notmuch-parser
/home/grfz/src/notmuch/emacs/notmuch-show hides /usr/local/share/emacs/site-lisp/notmuch-show
/home/grfz/src/notmuch/emacs/notmuch-wash hides /usr/local/share/emacs/site-lisp/notmuch-wash
/home/grfz/src/notmuch/emacs/notmuch-draft hides /usr/local/share/emacs/site-lisp/notmuch-draft
/home/grfz/src/notmuch/emacs/notmuch-tree hides /usr/local/share/emacs/site-lisp/notmuch-tree
/home/grfz/src/notmuch/emacs/notmuch-version hides /usr/local/share/emacs/site-lisp/notmuch-version
/home/grfz/src/notmuch/emacs/notmuch-jump hides /usr/local/share/emacs/site-lisp/notmuch-jump
/home/grfz/src/notmuch/emacs/notmuch-company hides /usr/local/share/emacs/site-lisp/notmuch-company
/home/grfz/src/notmuch/emacs/notmuch hides /usr/local/share/emacs/site-lisp/notmuch
/home/grfz/src/notmuch/emacs/notmuch-crypto hides /usr/local/share/emacs/site-lisp/notmuch-crypto
/home/grfz/src/notmuch/emacs/notmuch-compat hides /usr/local/share/emacs/site-lisp/notmuch-compat
/home/grfz/src/notmuch/emacs/notmuch-maildir-fcc hides /usr/local/share/emacs/site-lisp/notmuch-maildir-fcc
/home/grfz/src/notmuch/emacs/notmuch-tag hides /usr/local/share/emacs/site-lisp/notmuch-tag
/home/grfz/src/notmuch/emacs/notmuch-message hides /usr/local/share/emacs/site-lisp/notmuch-message
/home/grfz/src/notmuch/emacs/notmuch-print hides /usr/local/share/emacs/site-lisp/notmuch-print
/home/grfz/src/notmuch/emacs/notmuch-mua hides /usr/local/share/emacs/site-lisp/notmuch-mua
/home/grfz/src/notmuch/emacs/notmuch-query hides /usr/local/share/emacs/site-lisp/notmuch-query
/home/grfz/src/notmuch/emacs/notmuch-address hides /home/grfz/.config/emacs/elisp/notmuch-address
/home/grfz/src/ol-notmuch/ol-notmuch hides /home/grfz/.config/emacs/elisp/ol-notmuch
/home/grfz/.config/emacs/elpa-31.0/magit-4.2.0/magit-autorevert hides /home/grfz/.config/emacs/elpa-31.0/magit-section-4.2.0/magit-autorevert
/home/grfz/.config/emacs/elpa-31.0/transient-0.8.4/transient hides /home/grfz/src/emacs-igc/lisp/transient
/home/grfz/.config/emacs/elpa-31.0/eglot-1.18/eglot hides /home/grfz/src/emacs-igc/lisp/progmodes/eglot
/home/grfz/.config/emacs/elpa-31.0/idlwave-6.5.1/idlw-shell hides /home/grfz/src/emacs-igc/lisp/obsolete/idlw-shell
/home/grfz/.config/emacs/elpa-31.0/idlwave-6.5.1/idlwave hides /home/grfz/src/emacs-igc/lisp/obsolete/idlwave
/home/grfz/.config/emacs/elpa-31.0/idlwave-6.5.1/idlw-toolbar hides /home/grfz/src/emacs-igc/lisp/obsolete/idlw-toolbar
/home/grfz/.config/emacs/elpa-31.0/idlwave-6.5.1/idlw-help hides /home/grfz/src/emacs-igc/lisp/obsolete/idlw-help
/home/grfz/.config/emacs/elpa-31.0/idlwave-6.5.1/idlw-complete-structtag hides /home/grfz/src/emacs-igc/lisp/obsolete/idlw-complete-structtag

Features:
(shadow emacsbug sort orgalist
wcheck-mode ecomplete mail-extr misearch
multi-isearch smerge-mode diff
mm-archive mule-util tramp trampver
tramp-integration files-x tramp-message
tramp-compat shell parse-time iso8601
tramp-loaddefs add-log
rainbow-delimiters winner which-key
ol-notmuch notmuch notmuch-tree
notmuch-jump notmuch-hello notmuch-show
notmuch-print notmuch-crypto notmuch-mua
notmuch-message notmuch-draft
notmuch-maildir-fcc notmuch-address
notmuch-company notmuch-parser
notmuch-wash diff-mode track-changes
coolj goto-addr icalendar diary-lib
diary-loaddefs notmuch-tag crm
notmuch-lib notmuch-version
notmuch-compat hl-line mm-view mml-smime
smime gnutls dig compat org-contrib
org-crypt org-protocol org-clock dbus
xml ob-plantuml gnus-alias advice
message yank-media puny dired
dired-loaddefs rfc822 mml mml-sec epa
derived epg rfc6068 epg-config gnus-util
text-property-search mm-decode mm-bodies
mm-encode mail-parse rfc2231 gmm-utils
mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils
finder-inf mailabbrev savehist
auth-source-pass holidays
holiday-loaddefs ws-butler delsel
modus-operandi-theme modus-themes
mb-depth which-func imenu windmove
xt-mouse edmacro kmacro key-chord comp
comp-cstr cl-extra help-mode warnings
comp-run comp-common org ob ob-ref
ob-lob ob-table ob-exp org-macro
org-pcomplete pcomplete org-list
org-footnote org-faces org-entities
time-date noutline outline ob-emacs-lisp
org-table org-loaddefs thingatpt
find-func cal-menu calendar cal-loaddefs
ob-tangle ol org-src sh-script rx smie
treesit executable org-keys oc ob-comint
comint ansi-osc ansi-color ring ob-core
org-cycle org-fold org-fold-core
org-compat ob-eval org-version org-macs
format-spec use-package
use-package-ensure use-package-delight
use-package-diminish
use-package-bind-key bind-key easy-mmode
use-package-core async-autoloads
csv-mode-autoloads debbugs-autoloads
dired-git-info-autoloads eglot-autoloads
hyperbole-autoloads kotl-autoloads hact
set hhist idlwave-autoloads
key-chord-autoloads magit-autoloads
pcase magit-section-autoloads
dash-autoloads minibuffer-line-autoloads
org-contrib-autoloads org-autoloads
orgalist-autoloads paredit-autoloads
rainbow-delimiters-autoloads
transient-autoloads
wcheck-mode-autoloads info
with-editor-autoloads
ws-butler-autoloads package browse-url
xdg url url-proxy url-privacy url-expand
url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util
mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core
cl-macs password-cache json subr-x map
byte-opt gv bytecomp byte-compile
url-vars cus-edit pp cus-load icons
wid-edit cl-loaddefs cl-lib rmc
iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd
touch-screen tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode
register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer
select scroll-bar mouse jit-lock
font-lock syntax font-core
term/tty-colors frame minibuffer nadvice
seq simple cl-generic indonesian
philippine cham georgian utf-8-lang
misc-lang vietnamese tibetan thai
tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak
czech european ethiopic indian cyrillic
chinese composite emoji-zwj charscript
charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray
oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp
files window text-properties overlay
sha1 md5 base64 format env code-pages
mule custom widget keymap
hashtable-print-readable backquote
threads dbusbind inotify lcms2
dynamic-setting font-render-setting
cairo xinput2 x multi-tty move-toolbar
make-network-process tty-child-frames
native-compile mps emacs)

Memory information:
((conses 24 0 0) (symbols 56 0 0) (strings 40 0 0) (string-bytes 1 0)
 (vectors 24 0) (vector-slots 8 0 0) (floats 24 0 0) (intervals 64 0 0)
 (buffers 992 0))



And this is the output of GDB from the
hung Emacs instance:

+run --debug-init -xrm --init-directory="${USER_EMACS_DIRECTORY}" --fg-daemon="${EMACS_SERVER_NAME}"
Starting program: /home/grfz/src/emacs-igc/src/emacs --debug-init -xrm --init-directory="${USER_EMACS_DIRECTORY}" --fg-daemon="${EMACS_SERVER_NAME}"
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after vfork from child process 2486640]
[Detaching after vfork from child process 2486654]
[Detaching after vfork from child process 2486655]
[Detaching after vfork from child process 2486669]
[Detaching after vfork from child process 2486737]
[Detaching after vfork from child process 2486738]
[Detaching after vfork from child process 2487266]
[Detaching after vfork from child process 2487267]
[Detaching after vfork from child process 2487268]
[New Thread 0x7fffde2d3380 (LWP 2487269)]
[New Thread 0x7fffde2bb380 (LWP 2487270)]
[Detaching after vfork from child process 2487271]
[Detaching after vfork from child process 2487272]
[Detaching after vfork from child process 2487273]
[Detaching after vfork from child process 2487274]
[Thread 0x7fffde2d3380 (LWP 2487269) exited]
[Thread 0x7fffde2bb380 (LWP 2487270) exited]

Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.

[... 59 such lines deleted ...]

Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
[Detaching after vfork from child process 2487275]
[Detaching after vfork from child process 2487276]

Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.


[... 35 such lines deleted ...]

Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
[Detaching after vfork from child process 2487279]

Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.

[... 96 such lines deleted ...]

Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
[Detaching after vfork from child process 2487395]

Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
[Detaching after vfork from child process 2487556]
[Detaching after vfork from child process 2487557]
[Detaching after vfork from child process 2487729]
[Detaching after vfork from child process 2487738]
[Detaching after vfork from child process 2487770]
[Detaching after vfork from child process 2487778]
[Detaching after vfork from child process 2487804]
[Detaching after vfork from child process 2487809]
[Detaching after vfork from child process 2487813]
[Detaching after vfork from child process 2487817]
[Detaching after vfork from child process 2487821]
[Detaching after vfork from child process 2487826]
[Detaching after vfork from child process 2487830]
[Detaching after vfork from child process 2487835]
[Detaching after vfork from child process 2487839]
[Detaching after vfork from child process 2487843]
[Detaching after vfork from child process 2487851]
[Detaching after vfork from child process 2487855]
[Detaching after vfork from child process 2487860]
[Detaching after vfork from child process 2488326]
[Detaching after vfork from child process 2488327]

Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
[Detaching after vfork from child process 2488328]

[... 53 such lines deleted ...]
[Detaching after vfork from child process 2489114]

Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=6, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
432	{
+bt
#0  terminate_due_to_signal (sig=sig <at> entry=6, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
#1  0x00005555555b39a2 in emacs_abort () at ./src/sysdep.c:2390
#2  0x00005555555cc9ff in igc_check_freeable (start=start <at> entry=0x55555663fdb0) at ./src/igc.c:3068
#3  0x00005555557ef088 in xfree (block=0x55555663fdb0) at ./src/alloc.c:842
#4  xfree (block=0x55555663fdb0) at ./src/alloc.c:835
#5  0x000055555571e72c in xi_disable_devices (dpyinfo=dpyinfo <at> entry=0x55555662cf70, to_disable=to_disable <at> entry=0x7fffffffb330, n_disabled=n_disabled <at> entry=1) at ./src/xterm.c:13970
#6  0x0000555555730ede in xi_disable_devices (n_disabled=1, to_disable=0x7fffffffb330, dpyinfo=0x55555662cf70) at ./src/xterm.c:13885
#7  handle_one_xevent (dpyinfo=dpyinfo <at> entry=0x55555662cf70, event=event <at> entry=0x7fffffffb9f0, finish=finish <at> entry=0x7fffffffb9ec, hold_quit=hold_quit <at> entry=0x7fffffffbb10) at ./src/xterm.c:24779
#8  0x0000555555739421 in XTread_socket (terminal=<optimized out>, hold_quit=0x7fffffffbb10) at ./src/xterm.c:25771
#9  0x0000555555771f21 in gobble_input () at ./src/keyboard.c:7937
#10 0x00005555557725b5 in handle_async_input () at ./src/keyboard.c:8176
#11 process_pending_signals () at ./src/keyboard.c:8190
#12 0x00005555557740b5 in unblock_input_to (level=0) at ./src/keyboard.c:8207
#13 0x000055555592bdb9 in xg_select (fds_lim=<optimized out>, rfds=<optimized out>, wfds=<optimized out>, efds=<optimized out>, timeout=<optimized out>, sigmask=<optimized out>) at ./src/xgselect.c:282
#14 0x00005555558a2d22 in wait_reading_process_output (time_limit=time_limit <at> entry=0, nsecs=nsecs <at> entry=0, read_kbd=read_kbd <at> entry=-1, do_display=true, wait_for_cell=Python Exception <class 'gdb.error'>: value has been optimized out
, wait_for_cell <at> entry=XIL(0), wait_proc=wait_proc <at> entry=0x0, just_wait_proc=<optimized out>) at ./src/process.c:5761
#15 0x0000555555779a5e in kbd_buffer_get_event (used_mouse_menu=<optimized out>, end_time=0x0, kbp=<synthetic pointer>) at ./src/lisp.h:1229
#16 read_event_from_main_queue (used_mouse_menu=<optimized out>, local_getcjmp=0x7fffffffc830, end_time=0x0) at ./src/keyboard.c:2336
#17 read_decoded_event_from_main_queue (used_mouse_menu=<optimized out>, prev_event=Python Exception <class 'gdb.error'>: value has been optimized out
, local_getcjmp=<optimized out>, end_time=<optimized out>) at ./src/keyboard.c:2400
#18 read_char (commandflag=1, map=Python Exception <class 'gdb.error'>: value has been optimized out
, map <at> entry=XIL(0x7fffc605c43b), prev_event=Python Exception <class 'gdb.error'>: value has been optimized out
, used_mouse_menu=used_mouse_menu <at> entry=0x7fffffffcc0b, end_time=end_time <at> entry=0x0) at ./src/keyboard.c:3031
#19 0x000055555577e38b in read_key_sequence (keybuf=keybuf <at> entry=0x7fffffffcd70, prompt=Python Exception <class 'gdb.error'>: value has been optimized out
, prompt <at> entry=XIL(0), dont_downcase_last=dont_downcase_last <at> entry=false, can_return_switch_frame=can_return_switch_frame <at> entry=true, fix_current_buffer=fix_current_buffer <at> entry=true, prevent_redisplay=prevent_redisplay <at> entry=false, disable_text_conversion_p=<optimized out>) at ./src/keyboard.c:10790
#20 0x00005555557800b7 in command_loop_1 () at ./src/lisp.h:1229
#21 0x000055555581f6a6 in internal_condition_case (bfun=bfun <at> entry=0x55555577fe60 <command_loop_1>, handlers=handlers <at> entry=XIL(0xa8), hfun=hfun <at> entry=0x555555764040 <cmd_error>) at ./src/eval.c:1627
#22 0x0000555555762c7e in command_loop_2 (handlers=handlers <at> entry=XIL(0xa8)) at ./src/keyboard.c:1174
#23 0x000055555581f42f in internal_catch (tag=tag <at> entry=XIL(0x15498), func=func <at> entry=0x555555762c50 <command_loop_2>, arg=Python Exception <class 'gdb.error'>: value has been optimized out
, arg <at> entry=XIL(0xa8)) at ./src/eval.c:1306
#24 0x0000555555762c19 in command_loop () at ./src/lisp.h:1229
#25 0x000055555576f725 in recursive_edit_1 () at ./src/keyboard.c:760
#26 0x000055555576fad5 in Frecursive_edit () at ./src/keyboard.c:843
#27 0x00005555555d20b5 in main (argc=5, argv=<optimized out>) at ./src/emacs.c:2658
++set $bt = backtrace_top ()
++if backtrace_p ($bt)
+xbacktrace
++set $bt = backtrace_top ()
++while backtrace_p ($bt)
+bt full
#0  terminate_due_to_signal (sig=sig <at> entry=6, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
#1  0x00005555555b39a2 in emacs_abort () at ./src/sysdep.c:2390
#2  0x00005555555cc9ff in igc_check_freeable (start=start <at> entry=0x55555663fdb0) at ./src/igc.c:3068
        r = <optimized out>
#3  0x00005555557ef088 in xfree (block=0x55555663fdb0) at ./src/alloc.c:842
#4  xfree (block=0x55555663fdb0) at ./src/alloc.c:835
#5  0x000055555571e72c in xi_disable_devices (dpyinfo=dpyinfo <at> entry=0x55555662cf70, to_disable=to_disable <at> entry=0x7fffffffb330, n_disabled=n_disabled <at> entry=1) at ./src/xterm.c:13970
        devices = 0x555556c30b60
        ndevices = <optimized out>
        i = <optimized out>
        j = <optimized out>
        tem = <optimized out>
        last = <optimized out>
        output = <optimized out>
        tail = Python Exception <class 'gdb.error'>: value has been optimized out

        frame = Python Exception <class 'gdb.error'>: value has been optimized out

#6  0x0000555555730ede in xi_disable_devices (n_disabled=1, to_disable=0x7fffffffb330, dpyinfo=0x55555662cf70) at ./src/xterm.c:13885
        hev = <optimized out>
        info = <optimized out>
        i = <optimized out>
        disabled = 0x7fffffffb330
        device = <optimized out>
        any_changed = false
        ndevices = 1
        n_disabled = 1
        must_free_data = <optimized out>
        xi_event = <optimized out>
        xev = <optimized out>
        inev = {
          kind = NO_EVENT,
          ie = {
            kind = NO_EVENT,
            part = scroll_bar_nowhere,
            code = 0,
            modifiers = 0,
            x = XIL(0),
            y = XIL(0),
            timestamp = 0,
            frame_or_window = XIL(0),
            arg = XIL(0),
            device = XIL(0x38)
          },
          sie = {
            kind = NO_EVENT,
            dpyinfo = 0x0,
            requestor = 0,
            selection = 0,
            target = 0,
            property = 0,
            time = 0
          }
        }
        count = 0
        do_help = 0
        gen_help_device = 0x0
        gen_help_time = 0
        nbytes = 0
        any = <optimized out>
        f = 0x0
        mouse_frame = <optimized out>
        hlinfo = 0x55555662d068
        compose_status = {
          compose_ptr = 0x0,
          chars_matched = 0
        }
        configureEvent = {
          type = -18928,
          xany = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312
          },
          xkey = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            root = 281470681751469,
            subwindow = 0,
            time = 0,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 0,
            state = 0,
            keycode = 0,
            same_screen = 0
          },
          xbutton = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            root = 281470681751469,
            subwindow = 0,
            time = 0,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 0,
            state = 0,
            button = 0,
            same_screen = 0
          },
          xmotion = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            root = 281470681751469,
            subwindow = 0,
            time = 0,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 0,
            state = 0,
            is_hint = 0 '\000',
            same_screen = 0
          },
          xcrossing = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            root = 281470681751469,
            subwindow = 0,
            time = 0,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 0,
            mode = 0,
            detail = 0,
            same_screen = 0,
            focus = 0,
            state = 0
          },
          xfocus = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            mode = 8109,
            detail = 65535
          },
          xexpose = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            x = 8109,
            y = 65535,
            width = 0,
            height = 0,
            count = 0
          },
          xgraphicsexpose = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            drawable = 140737488310312,
            x = 8109,
            y = 65535,
            width = 0,
            height = 0,
            count = 0,
            major_code = 0,
            minor_code = 0
          },
          xnoexpose = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            drawable = 140737488310312,
            major_code = 8109,
            minor_code = 65535
          },
          xvisibility = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            state = 8109
          },
          xcreatewindow = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            parent = 140737488310312,
            window = 281470681751469,
            x = 0,
            y = 0,
            width = 0,
            height = 0,
            border_width = 0,
            override_redirect = 0
          },
          xdestroywindow = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            event = 140737488310312,
            window = 281470681751469
          },
          xunmap = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            event = 140737488310312,
            window = 281470681751469,
            from_configure = 0
          },
          xmap = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            event = 140737488310312,
            window = 281470681751469,
            override_redirect = 0
          },
          xmaprequest = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            parent = 140737488310312,
            window = 281470681751469
          },
          xreparent = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            event = 140737488310312,
            window = 281470681751469,
            parent = 0,
            x = 0,
            y = 0,
            override_redirect = 0
          },
          xconfigure = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            event = 140737488310312,
            window = 281470681751469,
            x = 0,
            y = 0,
            width = 0,
            height = 0,
            border_width = 0,
            above = 0,
            override_redirect = 0
          },
          xgravity = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            event = 140737488310312,
            window = 281470681751469,
            x = 0,
            y = 0
          },
          xresizerequest = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            width = 8109,
            height = 65535
          },
          xconfigurerequest = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            parent = 140737488310312,
            window = 281470681751469,
            x = 0,
            y = 0,
            width = 0,
            height = 0,
            border_width = 0,
            above = 0,
            detail = 0,
            value_mask = 0
          },
          xcirculate = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            event = 140737488310312,
            window = 281470681751469,
            place = 0
          },
          xcirculaterequest = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            parent = 140737488310312,
            window = 281470681751469,
            place = 0
          },
          xproperty = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            atom = 281470681751469,
            time = 0,
            state = 0
          },
          xselectionclear = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            selection = 281470681751469,
            time = 0
          },
          xselectionrequest = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            owner = 140737488310312,
            requestor = 281470681751469,
            selection = 0,
            target = 0,
            property = 0,
            time = 0
          },
          xselection = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            requestor = 140737488310312,
            selection = 281470681751469,
            target = 0,
            property = 0,
            time = 0
          },
          xcolormap = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            colormap = 281470681751469,
            new = 0,
            state = 0
          },
          xclient = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            message_type = 281470681751469,
            format = 0,
            data = {
              b = '\000' <repeats 19 times>,
              s = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
              l = {0, 0, 0, 0, 0}
            }
          },
          xmapping = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            request = 8109,
            first_keycode = 65535,
            count = 0
          },
          xerror = {
            type = -18928,
            display = 0x5555558266dd <funcall_general+797>,
            resourceid = 895,
            serial = 93824995106277,
            error_code = 40 '(',
            request_code = 80 'P',
            minor_code = 255 '\377'
          },
          xkeymap = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            key_vector = "\255\037\000\000\377\377", '\000' <repeats 25 times>
          },
          xgeneric = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            extension = -45016,
            evtype = 32767
          },
          xcookie = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            extension = -45016,
            evtype = 32767,
            cookie = 8109,
            data = 0x0
          },
          pad = {140737488336400, 93824995190493, 895, 93824995106277, 140737488310312, 281470681751469, 0 <repeats 12 times>, -1297036692682702848, 16389, -1297036692682702848, 16389, 1, 85565567}
        }
        next_event = {
          type = 0,
          xany = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0
          },
          xkey = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            root = 0,
            subwindow = 0,
            time = 0,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 0,
            state = 0,
            keycode = 0,
            same_screen = 0
          },
          xbutton = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            root = 0,
            subwindow = 0,
            time = 0,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 0,
            state = 0,
            button = 0,
            same_screen = 0
          },
          xmotion = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            root = 0,
            subwindow = 0,
            time = 0,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 0,
            state = 0,
            is_hint = 0 '\000',
            same_screen = 0
          },
          xcrossing = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            root = 0,
            subwindow = 0,
            time = 0,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 0,
            mode = 0,
            detail = 0,
            same_screen = 0,
            focus = 0,
            state = 0
          },
          xfocus = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            mode = 0,
            detail = 0
          },
          xexpose = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            x = 0,
            y = 0,
            width = 0,
            height = 0,
            count = 0
          },
          xgraphicsexpose = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            drawable = 0,
            x = 0,
            y = 0,
            width = 0,
            height = 0,
            count = 0,
            major_code = 0,
            minor_code = 0
          },
          xnoexpose = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            drawable = 0,
            major_code = 0,
            minor_code = 0
          },
          xvisibility = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            state = 0
          },
          xcreatewindow = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            parent = 0,
            window = 0,
            x = 0,
            y = 0,
            width = 0,
            height = 0,
            border_width = 0,
            override_redirect = 0
          },
          xdestroywindow = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            event = 0,
            window = 0
          },
          xunmap = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            event = 0,
            window = 0,
            from_configure = 0
          },
          xmap = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            event = 0,
            window = 0,
            override_redirect = 0
          },
          xmaprequest = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            parent = 0,
            window = 0
          },
          xreparent = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            event = 0,
            window = 0,
            parent = 0,
            x = 0,
            y = 0,
            override_redirect = 0
          },
          xconfigure = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            event = 0,
            window = 0,
            x = 0,
            y = 0,
            width = 0,
            height = 0,
            border_width = 0,
            above = 0,
            override_redirect = 0
          },
          xgravity = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            event = 0,
            window = 0,
            x = 0,
            y = 0
          },
          xresizerequest = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            width = 0,
            height = 0
          },
          xconfigurerequest = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            parent = 0,
            window = 0,
            x = 0,
            y = 0,
            width = 0,
            height = 0,
            border_width = 0,
            above = 0,
            detail = 0,
            value_mask = 0
          },
          xcirculate = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            event = 0,
            window = 0,
            place = 0
          },
          xcirculaterequest = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            parent = 0,
            window = 0,
            place = 0
          },
          xproperty = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            atom = 0,
            time = 0,
            state = 0
          },
          xselectionclear = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            selection = 0,
            time = 0
          },
          xselectionrequest = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            owner = 0,
            requestor = 0,
            selection = 0,
            target = 0,
            property = 0,
            time = 0
          },
          xselection = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            requestor = 0,
            selection = 0,
            target = 0,
            property = 0,
            time = 0
          },
          xcolormap = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            colormap = 0,
            new = 0,
            state = 0
          },
          xclient = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            message_type = 0,
            format = 0,
            data = {
              b = '\000' <repeats 19 times>,
              s = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
              l = {0, 0, 0, 0, 0}
            }
          },
          xmapping = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            request = 0,
            first_keycode = 0,
            count = 0
          },
          xerror = {
            type = 0,
            display = 0x0,
            resourceid = 0,
            serial = 0,
            error_code = 0 '\000',
            request_code = 0 '\000',
            minor_code = 0 '\000'
          },
          xkeymap = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            key_vector = '\000' <repeats 31 times>
          },
          xgeneric = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            extension = 0,
            evtype = 0
          },
          xcookie = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            extension = 0,
            evtype = 0,
            cookie = 0,
            data = 0x0
          },
          pad = {0 <repeats 18 times>, 4607182418800017408, 0, 4636737291354636288, 0, 4656913329724325888, 0}
        }
        coding = Python Exception <class 'gdb.error'>: value has been optimized out

        dx = <optimized out>
        dy = <optimized out>
        sa_avail = <optimized out>
        sa_count = {
          bytes = 192
        }
#7  handle_one_xevent (dpyinfo=dpyinfo <at> entry=0x55555662cf70, event=event <at> entry=0x7fffffffb9f0, finish=finish <at> entry=0x7fffffffb9ec, hold_quit=hold_quit <at> entry=0x7fffffffbb10) at ./src/xterm.c:24779
        hev = <optimized out>
        info = <optimized out>
        i = <optimized out>
        disabled = 0x7fffffffb330
        device = <optimized out>
        any_changed = false
        ndevices = 1
        n_disabled = 1
        must_free_data = <optimized out>
        xi_event = <optimized out>
        xev = <optimized out>
        inev = {
          kind = NO_EVENT,
          ie = {
            kind = NO_EVENT,
            part = scroll_bar_nowhere,
            code = 0,
            modifiers = 0,
            x = XIL(0),
            y = XIL(0),
            timestamp = 0,
            frame_or_window = XIL(0),
            arg = XIL(0),
            device = XIL(0x38)
          },
          sie = {
            kind = NO_EVENT,
            dpyinfo = 0x0,
            requestor = 0,
            selection = 0,
            target = 0,
            property = 0,
            time = 0
          }
        }
        count = 0
        do_help = 0
        gen_help_device = 0x0
        gen_help_time = 0
        nbytes = 0
        any = <optimized out>
        f = 0x0
        mouse_frame = <optimized out>
        hlinfo = 0x55555662d068
        compose_status = {
          compose_ptr = 0x0,
          chars_matched = 0
        }
        configureEvent = {
          type = -18928,
          xany = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312
          },
          xkey = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            root = 281470681751469,
            subwindow = 0,
            time = 0,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 0,
            state = 0,
            keycode = 0,
            same_screen = 0
          },
          xbutton = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            root = 281470681751469,
            subwindow = 0,
            time = 0,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 0,
            state = 0,
            button = 0,
            same_screen = 0
          },
          xmotion = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            root = 281470681751469,
            subwindow = 0,
            time = 0,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 0,
            state = 0,
            is_hint = 0 '\000',
            same_screen = 0
          },
          xcrossing = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            root = 281470681751469,
            subwindow = 0,
            time = 0,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 0,
            mode = 0,
            detail = 0,
            same_screen = 0,
            focus = 0,
            state = 0
          },
          xfocus = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            mode = 8109,
            detail = 65535
          },
          xexpose = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            x = 8109,
            y = 65535,
            width = 0,
            height = 0,
            count = 0
          },
          xgraphicsexpose = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            drawable = 140737488310312,
            x = 8109,
            y = 65535,
            width = 0,
            height = 0,
            count = 0,
            major_code = 0,
            minor_code = 0
          },
          xnoexpose = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            drawable = 140737488310312,
            major_code = 8109,
            minor_code = 65535
          },
          xvisibility = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            state = 8109
          },
          xcreatewindow = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            parent = 140737488310312,
            window = 281470681751469,
            x = 0,
            y = 0,
            width = 0,
            height = 0,
            border_width = 0,
            override_redirect = 0
          },
          xdestroywindow = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            event = 140737488310312,
            window = 281470681751469
          },
          xunmap = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            event = 140737488310312,
            window = 281470681751469,
            from_configure = 0
          },
          xmap = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            event = 140737488310312,
            window = 281470681751469,
            override_redirect = 0
          },
          xmaprequest = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            parent = 140737488310312,
            window = 281470681751469
          },
          xreparent = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            event = 140737488310312,
            window = 281470681751469,
            parent = 0,
            x = 0,
            y = 0,
            override_redirect = 0
          },
          xconfigure = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            event = 140737488310312,
            window = 281470681751469,
            x = 0,
            y = 0,
            width = 0,
            height = 0,
            border_width = 0,
            above = 0,
            override_redirect = 0
          },
          xgravity = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            event = 140737488310312,
            window = 281470681751469,
            x = 0,
            y = 0
          },
          xresizerequest = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            width = 8109,
            height = 65535
          },
          xconfigurerequest = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            parent = 140737488310312,
            window = 281470681751469,
            x = 0,
            y = 0,
            width = 0,
            height = 0,
            border_width = 0,
            above = 0,
            detail = 0,
            value_mask = 0
          },
          xcirculate = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            event = 140737488310312,
            window = 281470681751469,
            place = 0
          },
          xcirculaterequest = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            parent = 140737488310312,
            window = 281470681751469,
            place = 0
          },
          xproperty = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            atom = 281470681751469,
            time = 0,
            state = 0
          },
          xselectionclear = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            selection = 281470681751469,
            time = 0
          },
          xselectionrequest = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            owner = 140737488310312,
            requestor = 281470681751469,
            selection = 0,
            target = 0,
            property = 0,
            time = 0
          },
          xselection = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            requestor = 140737488310312,
            selection = 281470681751469,
            target = 0,
            property = 0,
            time = 0
          },
          xcolormap = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            colormap = 281470681751469,
            new = 0,
            state = 0
          },
          xclient = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            message_type = 281470681751469,
            format = 0,
            data = {
              b = '\000' <repeats 19 times>,
              s = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
              l = {0, 0, 0, 0, 0}
            }
          },
          xmapping = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            request = 8109,
            first_keycode = 65535,
            count = 0
          },
          xerror = {
            type = -18928,
            display = 0x5555558266dd <funcall_general+797>,
            resourceid = 895,
            serial = 93824995106277,
            error_code = 40 '(',
            request_code = 80 'P',
            minor_code = 255 '\377'
          },
          xkeymap = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            window = 140737488310312,
            key_vector = "\255\037\000\000\377\377", '\000' <repeats 25 times>
          },
          xgeneric = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            extension = -45016,
            evtype = 32767
          },
          xcookie = {
            type = -18928,
            serial = 93824995190493,
            send_event = 895,
            display = 0x555555811de5 <styled_format+6005>,
            extension = -45016,
            evtype = 32767,
            cookie = 8109,
            data = 0x0
          },
          pad = {140737488336400, 93824995190493, 895, 93824995106277, 140737488310312, 281470681751469, 0 <repeats 12 times>, -1297036692682702848, 16389, -1297036692682702848, 16389, 1, 85565567}
        }
        next_event = {
          type = 0,
          xany = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0
          },
          xkey = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            root = 0,
            subwindow = 0,
            time = 0,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 0,
            state = 0,
            keycode = 0,
            same_screen = 0
          },
          xbutton = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            root = 0,
            subwindow = 0,
            time = 0,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 0,
            state = 0,
            button = 0,
            same_screen = 0
          },
          xmotion = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            root = 0,
            subwindow = 0,
            time = 0,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 0,
            state = 0,
            is_hint = 0 '\000',
            same_screen = 0
          },
          xcrossing = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            root = 0,
            subwindow = 0,
            time = 0,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 0,
            mode = 0,
            detail = 0,
            same_screen = 0,
            focus = 0,
            state = 0
          },
          xfocus = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            mode = 0,
            detail = 0
          },
          xexpose = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            x = 0,
            y = 0,
            width = 0,
            height = 0,
            count = 0
          },
          xgraphicsexpose = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            drawable = 0,
            x = 0,
            y = 0,
            width = 0,
            height = 0,
            count = 0,
            major_code = 0,
            minor_code = 0
          },
          xnoexpose = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            drawable = 0,
            major_code = 0,
            minor_code = 0
          },
          xvisibility = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            state = 0
          },
          xcreatewindow = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            parent = 0,
            window = 0,
            x = 0,
            y = 0,
            width = 0,
            height = 0,
            border_width = 0,
            override_redirect = 0
          },
          xdestroywindow = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            event = 0,
            window = 0
          },
          xunmap = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            event = 0,
            window = 0,
            from_configure = 0
          },
          xmap = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            event = 0,
            window = 0,
            override_redirect = 0
          },
          xmaprequest = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            parent = 0,
            window = 0
          },
          xreparent = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            event = 0,
            window = 0,
            parent = 0,
            x = 0,
            y = 0,
            override_redirect = 0
          },
          xconfigure = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            event = 0,
            window = 0,
            x = 0,
            y = 0,
            width = 0,
            height = 0,
            border_width = 0,
            above = 0,
            override_redirect = 0
          },
          xgravity = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            event = 0,
            window = 0,
            x = 0,
            y = 0
          },
          xresizerequest = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            width = 0,
            height = 0
          },
          xconfigurerequest = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            parent = 0,
            window = 0,
            x = 0,
            y = 0,
            width = 0,
            height = 0,
            border_width = 0,
            above = 0,
            detail = 0,
            value_mask = 0
          },
          xcirculate = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            event = 0,
            window = 0,
            place = 0
          },
          xcirculaterequest = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            parent = 0,
            window = 0,
            place = 0
          },
          xproperty = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            atom = 0,
            time = 0,
            state = 0
          },
          xselectionclear = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            selection = 0,
            time = 0
          },
          xselectionrequest = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            owner = 0,
            requestor = 0,
            selection = 0,
            target = 0,
            property = 0,
            time = 0
          },
          xselection = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            requestor = 0,
            selection = 0,
            target = 0,
            property = 0,
            time = 0
          },
          xcolormap = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            colormap = 0,
            new = 0,
            state = 0
          },
          xclient = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            message_type = 0,
            format = 0,
            data = {
              b = '\000' <repeats 19 times>,
              s = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
              l = {0, 0, 0, 0, 0}
            }
          },
          xmapping = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            request = 0,
            first_keycode = 0,
            count = 0
          },
          xerror = {
            type = 0,
            display = 0x0,
            resourceid = 0,
            serial = 0,
            error_code = 0 '\000',
            request_code = 0 '\000',
            minor_code = 0 '\000'
          },
          xkeymap = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            window = 0,
            key_vector = '\000' <repeats 31 times>
          },
          xgeneric = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            extension = 0,
            evtype = 0
          },
          xcookie = {
            type = 0,
            serial = 0,
            send_event = 0,
            display = 0x0,
            extension = 0,
            evtype = 0,
            cookie = 0,
            data = 0x0
          },
          pad = {0 <repeats 18 times>, 4607182418800017408, 0, 4636737291354636288, 0, 4656913329724325888, 0}
        }
        coding = Python Exception <class 'gdb.error'>: value has been optimized out

        dx = <optimized out>
        dy = <optimized out>
        sa_avail = <optimized out>
        sa_count = {
          bytes = 192
        }
#8  0x0000555555739421 in XTread_socket (terminal=<optimized out>, hold_quit=0x7fffffffbb10) at ./src/xterm.c:25771
        finish = 0
        event = {
          type = 35,
          xany = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            window = 47244640387
          },
          xkey = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            window = 47244640387,
            root = 305,
            subwindow = 93825018537952,
            time = 8295732102477905920,
            x = 1853317488,
            y = 1313423904,
            x_root = 6845245,
            y_root = 1,
            state = 0,
            keycode = 0,
            same_screen = 0
          },
          xbutton = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            window = 47244640387,
            root = 305,
            subwindow = 93825018537952,
            time = 8295732102477905920,
            x = 1853317488,
            y = 1313423904,
            x_root = 6845245,
            y_root = 1,
            state = 0,
            button = 0,
            same_screen = 0
          },
          xmotion = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            window = 47244640387,
            root = 305,
            subwindow = 93825018537952,
            time = 8295732102477905920,
            x = 1853317488,
            y = 1313423904,
            x_root = 6845245,
            y_root = 1,
            state = 0,
            is_hint = 0 '\000',
            same_screen = 0
          },
          xcrossing = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            window = 47244640387,
            root = 305,
            subwindow = 93825018537952,
            time = 8295732102477905920,
            x = 1853317488,
            y = 1313423904,
            x_root = 6845245,
            y_root = 1,
            mode = 0,
            detail = 0,
            same_screen = 0,
            focus = 0,
            state = 0
          },
          xfocus = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            window = 47244640387,
            mode = 305,
            detail = 0
          },
          xexpose = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            window = 47244640387,
            x = 305,
            y = 0,
            width = 1457956832,
            height = 21845,
            count = 0
          },
          xgraphicsexpose = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            drawable = 47244640387,
            x = 305,
            y = 0,
            width = 1457956832,
            height = 21845,
            count = 0,
            major_code = 1931500645,
            minor_code = 1853317488
          },
          xnoexpose = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            drawable = 47244640387,
            major_code = 305,
            minor_code = 0
          },
          xvisibility = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            window = 47244640387,
            state = 305
          },
          xcreatewindow = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            parent = 47244640387,
            window = 305,
            x = 1457956832,
            y = 21845,
            width = 0,
            height = 1931500645,
            border_width = 1853317488,
            override_redirect = 1313423904
          },
          xdestroywindow = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            event = 47244640387,
            window = 305
          },
          xunmap = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            event = 47244640387,
            window = 305,
            from_configure = 1457956832
          },
          xmap = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            event = 47244640387,
            window = 305,
            override_redirect = 1457956832
          },
          xmaprequest = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            parent = 47244640387,
            window = 305
          },
          xreparent = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            event = 47244640387,
            window = 305,
            parent = 93825018537952,
            x = 0,
            y = 1931500645,
            override_redirect = 1853317488
          },
          xconfigure = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            event = 47244640387,
            window = 305,
            x = 1457956832,
            y = 21845,
            width = 0,
            height = 1931500645,
            border_width = 1853317488,
            above = 4301812541,
            override_redirect = 0
          },
          xgravity = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            event = 47244640387,
            window = 305,
            x = 1457956832,
            y = 21845
          },
          xresizerequest = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            window = 47244640387,
            width = 305,
            height = 0
          },
          xconfigurerequest = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            parent = 47244640387,
            window = 305,
            x = 1457956832,
            y = 21845,
            width = 0,
            height = 1931500645,
            border_width = 1853317488,
            above = 4301812541,
            detail = 0,
            value_mask = 0
          },
          xcirculate = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            event = 47244640387,
            window = 305,
            place = 1457956832
          },
          xcirculaterequest = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            parent = 47244640387,
            window = 305,
            place = 1457956832
          },
          xproperty = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            window = 47244640387,
            atom = 305,
            time = 93825018537952,
            state = 0
          },
          xselectionclear = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            window = 47244640387,
            selection = 305,
            time = 93825018537952
          },
          xselectionrequest = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            owner = 47244640387,
            requestor = 305,
            selection = 93825018537952,
            target = 8295732102477905920,
            property = 5641112715317961072,
            time = 4301812541
          },
          xselection = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            requestor = 47244640387,
            selection = 305,
            target = 93825018537952,
            property = 8295732102477905920,
            time = 5641112715317961072
          },
          xcolormap = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            window = 47244640387,
            colormap = 305,
            new = 1457956832,
            state = 21845
          },
          xclient = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            window = 47244640387,
            message_type = 305,
            format = 1457956832,
            data = {
              b = "\000\000\000\000e\\ spawn BIN=sh",
              s = {0, 0, 23653, 29472, 24944, 28279, 16928, 20041, 29501, 104},
              l = {8295732102477905920, 5641112715317961072, 4301812541, 0, 0}
            }
          },
          xmapping = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            window = 47244640387,
            request = 305,
            first_keycode = 0,
            count = 1457956832
          },
          xerror = {
            type = 35,
            display = 0x2e8d2,
            resourceid = 0,
            serial = 93825009820592,
            error_code = 131 '\203',
            request_code = 0 '\000',
            minor_code = 0 '\000'
          },
          xkeymap = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            window = 47244640387,
            key_vector = "1\001\000\000\000\000\000\000\340\247\346VUU\000\000\000\000\000\000e\\ spawn BIN"
          },
          xgeneric = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            extension = 131,
            evtype = 11
          },
          xcookie = {
            type = 35,
            serial = 190674,
            send_event = 0,
            display = 0x55555661a3b0,
            extension = 131,
            evtype = 11,
            cookie = 305,
            data = 0x555556e6a7e0
          },
          pad = {35, 190674, 0, 93825009820592, 47244640387, 305, 93825018537952, 8295732102477905920, 5641112715317961072, 4301812541, 0, 0, 651370973425041408, 7575089895587192864, 2965947409628540270, 7793514477514656297, 7362662363615753065, 3275371949150530665, 723435946912279910, 8458080209000414011, 2885228880928206708, 8245845101526803812, 8026308938828819815, 2749483257017235054}
        }
        count = 0
        event_found = true
        dpyinfo = 0x55555662cf70
#9  0x0000555555771f21 in gobble_input () at ./src/keyboard.c:7937
        nr = <optimized out>
        hold_quit = {
          kind = NO_EVENT,
          part = scroll_bar_nowhere,
          code = 0,
          modifiers = 0,
          x = XIL(0),
          y = XIL(0),
          timestamp = 0,
          frame_or_window = XIL(0),
          arg = XIL(0),
          device = XIL(0x38)
        }
        next = 0x7fffeca56818
        nread = 0
        err = false
        t = 0x7fffe5b93360
#10 0x00005555557725b5 in handle_async_input () at ./src/keyboard.c:8176
        nread = <optimized out>
#11 process_pending_signals () at ./src/keyboard.c:8190
#12 0x00005555557740b5 in unblock_input_to (level=0) at ./src/keyboard.c:8207
#13 0x000055555592bdb9 in xg_select (fds_lim=<optimized out>, rfds=<optimized out>, wfds=<optimized out>, efds=<optimized out>, timeout=<optimized out>, sigmask=<optimized out>) at ./src/xgselect.c:282
        pselect_errno = 11
        all_rfds = {
          fds_bits = {2048, 0 <repeats 15 times>}
        }
        all_wfds = {
          fds_bits = {0 <repeats 16 times>}
        }
        tmo = {
          tv_sec = 140737353883648,
          tv_nsec = 0
        }
        tmop = <optimized out>
        context = <optimized out>
        have_wfds = <optimized out>
        gfds_buf = {{
            fd = 6,
            events = 1,
            revents = 0
          }, {
            fd = -286234544,
            events = 32767,
            revents = 0
          }, {
            fd = 4,
            events = 0,
            revents = 0
          }, {
            fd = 1,
            events = 0,
            revents = 0
          }, {
            fd = -16896,
            events = 32767,
            revents = 0
          }, {
            fd = -308599224,
            events = 32767,
            revents = 0
          }, {
            fd = 1,
            events = 0,
            revents = 0
          }, {
            fd = 1434603424,
            events = 21845,
            revents = 0
          }, {
            fd = 3,
            events = 0,
            revents = 0
          }, {
            fd = -166057036,
            events = 32767,
            revents = 0
          }, {
            fd = -971949595,
            events = 32767,
            revents = 0
          }, {
            fd = 2,
            events = 0,
            revents = 0
          }, {
            fd = 1,
            events = 0,
            revents = 0
          }, {
            fd = -203642262,
            events = 32767,
            revents = 0
          }, {
            fd = -16912,
            events = 32767,
            revents = 0
          }, {
            fd = 11,
            events = 0,
            revents = 0
          }, {
            fd = 1449248864,
            events = 21845,
            revents = 0
          }, {
            fd = -205710999,
            events = 32767,
            revents = 0
          }, {
            fd = -402646752,
            events = 32767,
            revents = 0
          }, {
            fd = -402112832,
            events = 32767,
            revents = 0
          }, {
            fd = -970772480,
            events = 32767,
            revents = 0
          }, {
            fd = -1,
            events = 65535,
            revents = 65535
          }, {
            fd = 1449248980,
            events = 21845,
            revents = 0
          }, {
            fd = 4096,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = -16928,
            events = 32767,
            revents = 0
          }, {
            fd = 1,
            events = 0,
            revents = 0
          }, {
            fd = -16848,
            events = 32767,
            revents = 0
          }, {
            fd = 80,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = -999488779,
            events = 32767,
            revents = 0
          }, {
            fd = 13,
            events = 3,
            revents = 0
          }, {
            fd = -134470056,
            events = 32767,
            revents = 0
          }, {
            fd = -134471680,
            events = 32767,
            revents = 0
          }, {
            fd = 1436173900,
            events = 21845,
            revents = 0
          }, {
            fd = 24,
            events = 0,
            revents = 0
          }, {
            fd = -402652168,
            events = 32767,
            revents = 0
          }, {
            fd = -16616,
            events = 32767,
            revents = 0
          }, {
            fd = -134471680,
            events = 32767,
            revents = 0
          }, {
            fd = -402652912,
            events = 32767,
            revents = 0
          }, {
            fd = -999488779,
            events = 32767,
            revents = 0
          }, {
            fd = 13,
            events = 3,
            revents = 0
          }, {
            fd = 1289420288,
            events = 24003,
            revents = 39982
          }, {
            fd = 1444133920,
            events = 21845,
            revents = 0
          }, {
            fd = 1449248864,
            events = 21845,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 1449248888,
            events = 21845,
            revents = 0
          }, {
            fd = -16176,
            events = 32767,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = -205709084,
            events = 32767,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 1449239472,
            events = 21845,
            revents = 0
          }, {
            fd = 1449244240,
            events = 21845,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = -137799042,
            events = 32767,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 1289420288,
            events = 24003,
            revents = 39982
          }, {
            fd = 1449239472,
            events = 21845,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = -134469984,
            events = 32767,
            revents = 0
          }, {
            fd = -134471680,
            events = 32767,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = -134471680,
            events = 32767,
            revents = 0
          }, {
            fd = -134471680,
            events = 32767,
            revents = 0
          }, {
            fd = -16312,
            events = 32767,
            revents = 0
          }, {
            fd = 34744713,
            events = 0,
            revents = 0
          }, {
            fd = -134470056,
            events = 32767,
            revents = 0
          }, {
            fd = -134471680,
            events = 32767,
            revents = 0
          }, {
            fd = 1436173900,
            events = 21845,
            revents = 0
          }, {
            fd = 1449316208,
            events = 21845,
            revents = 0
          }, {
            fd = 1449316208,
            events = 21845,
            revents = 0
          }, {
            fd = -16208,
            events = 32767,
            revents = 0
          }, {
            fd = -134471680,
            events = 32767,
            revents = 0
          }, {
            fd = -402652912,
            events = 32767,
            revents = 0
          }, {
            fd = -16312,
            events = 32767,
            revents = 0
          }, {
            fd = 34744713,
            events = 0,
            revents = 0
          }, {
            fd = 1056964608,
            events = 0,
            revents = 16384
          }, {
            fd = -16096,
            events = 32767,
            revents = 0
          }, {
            fd = 1436179843,
            events = 21845,
            revents = 0
          }, {
            fd = -134471680,
            events = 32767,
            revents = 0
          }, {
            fd = 1436180471,
            events = 21845,
            revents = 0
          }, {
            fd = 2,
            events = 0,
            revents = 0
          }, {
            fd = -134471680,
            events = 32767,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 1436030611,
            events = 21845,
            revents = 0
          }, {
            fd = -134471680,
            events = 32767,
            revents = 0
          }, {
            fd = 1436191971,
            events = 21845,
            revents = 0
          }, {
            fd = -16288,
            events = 32767,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 1444588272,
            events = 21845,
            revents = 0
          }, {
            fd = -16256,
            events = 32767,
            revents = 0
          }, {
            fd = -16312,
            events = 32767,
            revents = 0
          }, {
            fd = 1435343181,
            events = 21845,
            revents = 0
          }, {
            fd = -16208,
            events = 32767,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = -970772261,
            events = 32767,
            revents = 0
          }, {
            fd = -323660904,
            events = 32767,
            revents = 0
          }, {
            fd = 1056964608,
            events = 0,
            revents = 16384
          }, {
            fd = 1738591598,
            events = 0,
            revents = 0
          }, {
            fd = 846188505,
            events = 0,
            revents = 0
          }, {
            fd = -203885575,
            events = 32767,
            revents = 0
          }, {
            fd = -16208,
            events = 32767,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = -3,
            events = 0,
            revents = 0
          }, {
            fd = -16096,
            events = 32767,
            revents = 0
          }, {
            fd = -970772264,
            events = 32767,
            revents = 0
          }, {
            fd = -970772261,
            events = 32767,
            revents = 0
          }, {
            fd = -16016,
            events = 32767,
            revents = 0
          }, {
            fd = 1433873066,
            events = 21845,
            revents = 0
          }, {
            fd = -970772165,
            events = 32767,
            revents = 0
          }, {
            fd = 0,
            events = 12504,
            revents = 50723
          }, {
            fd = 760622938,
            events = 0,
            revents = 0
          }, {
            fd = 1738591597,
            events = 0,
            revents = 0
          }, {
            fd = -999488779,
            events = 32767,
            revents = 0
          }, {
            fd = 1,
            events = 0,
            revents = 0
          }, {
            fd = -970772261,
            events = 32767,
            revents = 0
          }, {
            fd = 18,
            events = 0,
            revents = 0
          }, {
            fd = 648470069,
            events = 0,
            revents = 0
          }, {
            fd = 85565567,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = -1,
            events = 0,
            revents = 0
          }, {
            fd = 1056964608,
            events = 0,
            revents = 16384
          }, {
            fd = 1444133920,
            events = 21845,
            revents = 0
          }}
        gfds = <optimized out>
        gfds_size = <optimized out>
        n_gfds = <optimized out>
        retval = 1
        our_fds = 0
        max_fds = <optimized out>
        i = <optimized out>
        nfds = <optimized out>
        tmo_in_millisec = -1
        must_free = <optimized out>
        need_to_dispatch = true
#14 0x00005555558a2d22 in wait_reading_process_output (time_limit=time_limit <at> entry=0, nsecs=nsecs <at> entry=0, read_kbd=read_kbd <at> entry=-1, do_display=true, wait_for_cell=Python Exception <class 'gdb.error'>: value has been optimized out
, wait_for_cell <at> entry=XIL(0), wait_proc=wait_proc <at> entry=0x0, just_wait_proc=<optimized out>) at ./src/process.c:5761
        tls_nfds = 0
        tls_available = {
          fds_bits = {0 <repeats 16 times>}
        }
        process_skipped = <optimized out>
        wrapped = <optimized out>
        channel_start = <optimized out>
        child_fd = <optimized out>
        channel = <optimized out>
        nfds = <optimized out>
        Available = {
          fds_bits = {2048, 0 <repeats 15 times>}
        }
        Writeok = {
          fds_bits = {0 <repeats 16 times>}
        }
        check_write = true
        check_delay = <optimized out>
        no_avail = <optimized out>
        xerrno = 11
        proc = Python Exception <class 'gdb.error'>: value has been optimized out

        timeout = {
          tv_sec = 0,
          tv_nsec = 0
        }
        end_time = {
          tv_sec = 140737282641057,
          tv_nsec = 93825009830008
        }
        timer_delay = {
          tv_sec = <optimized out>,
          tv_nsec = <optimized out>
        }
        got_output_end_time = {
          tv_sec = <optimized out>,
          tv_nsec = <optimized out>
        }
        wait = FOREVER
        got_some_output = -1
        prev_wait_proc_nbytes_read = <optimized out>
        retry_for_async = <optimized out>
        now = {
          tv_sec = <optimized out>,
          tv_nsec = <optimized out>
        }
        last_read_channel = 17
#15 0x0000555555779a5e in kbd_buffer_get_event (used_mouse_menu=<optimized out>, end_time=0x0, kbp=<synthetic pointer>) at ./src/lisp.h:1229
        do_display = <optimized out>
        obj = Python Exception <class 'gdb.error'>: value has been optimized out

        str = Python Exception <class 'gdb.error'>: value has been optimized out

        had_pending_selection_requests = false
        had_pending_conversion_events = false
        c = XIL(0)
        save_jump = {{
            __jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {0 <repeats 16 times>}
            }
          }}
        kb = 0x55555662e360
        nextevt = Python Exception <class 'gdb.error'>: value has been optimized out

        terminal = <optimized out>
        events = {XIL(0x30000000d), XIL(0x7ffff7fc2658), XIL(0x7ffff7fc2000), XIL(0x5555559a464c), XIL(0x18), XIL(0x7fffe80003f8), XIL(0x7fffffffc898), XIL(0x7ffff7fc2000), XIL(0x7fffe8000110), XIL(0x7fffc605bfdb), XIL(0x7fffc46cb533), XIL(0xad40), XIL(0x1231), XIL(0x7fffc42ed005), XIL(0xad40), XIL(0x1)}
        n = <optimized out>
        c = Python Exception <class 'gdb.error'>: value has been optimized out

        local_getcjmp = {{
            __jmpbuf = {93825004515200, -8694615528945606703, 1, 0, 0, 140736516380107, -8694615529031589935, -3313576002230018095},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {93824995798840, 18626, 4655, 140737488341184, 93824995806002, 56448, 93824995809993, 56448, 8589920576, 140737488341232, 0, 56448, 140737488341312, 140736484790272, 140736484790277, 140737488341504}
            }
          }}
        save_jump = {{
            __jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {0 <repeats 16 times>}
            }
          }}
        tem = Python Exception <class 'gdb.error'>: value has been optimized out

        save = Python Exception <class 'gdb.error'>: value has been optimized out

        previous_echo_area_message = XIL(0)
        also_record = XIL(0)
        reread = false
        recorded = false
        polling_stopped_here = true
        orig_kboard = 0x55555662e360
        c_volatile = XIL(0)
#16 read_event_from_main_queue (used_mouse_menu=<optimized out>, local_getcjmp=0x7fffffffc830, end_time=0x0) at ./src/keyboard.c:2336
        c = XIL(0)
        save_jump = {{
            __jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {0 <repeats 16 times>}
            }
          }}
        kb = 0x55555662e360
        nextevt = Python Exception <class 'gdb.error'>: value has been optimized out

        terminal = <optimized out>
        events = {XIL(0x30000000d), XIL(0x7ffff7fc2658), XIL(0x7ffff7fc2000), XIL(0x5555559a464c), XIL(0x18), XIL(0x7fffe80003f8), XIL(0x7fffffffc898), XIL(0x7ffff7fc2000), XIL(0x7fffe8000110), XIL(0x7fffc605bfdb), XIL(0x7fffc46cb533), XIL(0xad40), XIL(0x1231), XIL(0x7fffc42ed005), XIL(0xad40), XIL(0x1)}
        n = <optimized out>
        c = Python Exception <class 'gdb.error'>: value has been optimized out

        local_getcjmp = {{
            __jmpbuf = {93825004515200, -8694615528945606703, 1, 0, 0, 140736516380107, -8694615529031589935, -3313576002230018095},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {93824995798840, 18626, 4655, 140737488341184, 93824995806002, 56448, 93824995809993, 56448, 8589920576, 140737488341232, 0, 56448, 140737488341312, 140736484790272, 140736484790277, 140737488341504}
            }
          }}
        save_jump = {{
            __jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {0 <repeats 16 times>}
            }
          }}
        tem = Python Exception <class 'gdb.error'>: value has been optimized out

        save = Python Exception <class 'gdb.error'>: value has been optimized out

        previous_echo_area_message = XIL(0)
        also_record = XIL(0)
        reread = false
        recorded = false
        polling_stopped_here = true
        orig_kboard = 0x55555662e360
        c_volatile = XIL(0)
#17 read_decoded_event_from_main_queue (used_mouse_menu=<optimized out>, prev_event=Python Exception <class 'gdb.error'>: value has been optimized out
, local_getcjmp=<optimized out>, end_time=<optimized out>) at ./src/keyboard.c:2400
        nextevt = Python Exception <class 'gdb.error'>: value has been optimized out

        terminal = <optimized out>
        events = {XIL(0x30000000d), XIL(0x7ffff7fc2658), XIL(0x7ffff7fc2000), XIL(0x5555559a464c), XIL(0x18), XIL(0x7fffe80003f8), XIL(0x7fffffffc898), XIL(0x7ffff7fc2000), XIL(0x7fffe8000110), XIL(0x7fffc605bfdb), XIL(0x7fffc46cb533), XIL(0xad40), XIL(0x1231), XIL(0x7fffc42ed005), XIL(0xad40), XIL(0x1)}
        n = <optimized out>
        c = Python Exception <class 'gdb.error'>: value has been optimized out

        local_getcjmp = {{
            __jmpbuf = {93825004515200, -8694615528945606703, 1, 0, 0, 140736516380107, -8694615529031589935, -3313576002230018095},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {93824995798840, 18626, 4655, 140737488341184, 93824995806002, 56448, 93824995809993, 56448, 8589920576, 140737488341232, 0, 56448, 140737488341312, 140736484790272, 140736484790277, 140737488341504}
            }
          }}
        save_jump = {{
            __jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {0 <repeats 16 times>}
            }
          }}
        tem = Python Exception <class 'gdb.error'>: value has been optimized out

        save = Python Exception <class 'gdb.error'>: value has been optimized out

        previous_echo_area_message = XIL(0)
        also_record = XIL(0)
        reread = false
        recorded = false
        polling_stopped_here = true
        orig_kboard = 0x55555662e360
        c_volatile = XIL(0)
#18 read_char (commandflag=1, map=Python Exception <class 'gdb.error'>: value has been optimized out
, map <at> entry=XIL(0x7fffc605c43b), prev_event=Python Exception <class 'gdb.error'>: value has been optimized out
, used_mouse_menu=used_mouse_menu <at> entry=0x7fffffffcc0b, end_time=end_time <at> entry=0x0) at ./src/keyboard.c:3031
        c = Python Exception <class 'gdb.error'>: value has been optimized out

        local_getcjmp = {{
            __jmpbuf = {93825004515200, -8694615528945606703, 1, 0, 0, 140736516380107, -8694615529031589935, -3313576002230018095},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {93824995798840, 18626, 4655, 140737488341184, 93824995806002, 56448, 93824995809993, 56448, 8589920576, 140737488341232, 0, 56448, 140737488341312, 140736484790272, 140736484790277, 140737488341504}
            }
          }}
        save_jump = {{
            __jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {0 <repeats 16 times>}
            }
          }}
        tem = Python Exception <class 'gdb.error'>: value has been optimized out

        save = Python Exception <class 'gdb.error'>: value has been optimized out

        previous_echo_area_message = XIL(0)
        also_record = XIL(0)
        reread = false
        recorded = false
        polling_stopped_here = true
        orig_kboard = 0x55555662e360
        c_volatile = XIL(0)
#19 0x000055555577e38b in read_key_sequence (keybuf=keybuf <at> entry=0x7fffffffcd70, prompt=Python Exception <class 'gdb.error'>: value has been optimized out
, prompt <at> entry=XIL(0), dont_downcase_last=dont_downcase_last <at> entry=false, can_return_switch_frame=can_return_switch_frame <at> entry=true, fix_current_buffer=fix_current_buffer <at> entry=true, prevent_redisplay=prevent_redisplay <at> entry=false, disable_text_conversion_p=<optimized out>) at ./src/keyboard.c:10790
        interrupted_kboard = 0x55555662e360
        interrupted_frame = 0x7fffe5e68cc8
        key = XIL(0x7fffffffcd70)
        used_mouse_menu = false
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = 0
        new_binding = Python Exception <class 'gdb.error'>: value has been optimized out

        t = 0
        echo_start = 0
        keys_start = 0
        current_binding = XIL(0x7fffc605c43b)
        first_unbound = 31
        mock_input = 0
        used_mouse_menu_history = {false <repeats 30 times>}
        fkey = {
          parent = XIL(0x7fffe5b9359b),
          map = XIL(0x7fffe5b9359b),
          start = 0,
          end = 0
        }
        keytran = {
          parent = XIL(0x7fffeca4cae3),
          map = XIL(0x7fffeca4cae3),
          start = 0,
          end = 0
        }
        indec = {
          parent = XIL(0x7fffe5b93583),
          map = XIL(0x7fffe5b93583),
          start = 0,
          end = 0
        }
        shift_translated = false
        delayed_switch_frame = XIL(0)
        original_uppercase = XIL(0)
        original_uppercase_position = -1
        disabled_conversion = false
        fake_prefixed_keys = XIL(0)
        first_event = XIL(0)
#20 0x00005555557800b7 in command_loop_1 () at ./src/lisp.h:1229
        cmd = Python Exception <class 'gdb.error'>: value has been optimized out

        keybuf = {make_fixnum(113), make_fixnum(106), make_fixnum(106), make_fixnum(110), make_fixnum(110), XIL(0x7fffe11e766c), XIL(0x7fffe11e766c), XIL(0x16ce0), XIL(0x38), XIL(0x7fffe0ab861d), XIL(0x7fffe0ab861d), XIL(0x7fffffffcea0), XIL(0), XIL(0), XIL(0), make_fixnum(23456248796895), XIL(0x7fffffffce40), XIL(0x5555558094a0), make_fixnum(0), XIL(0x5555558090f8), XIL(0), XIL(0x9c2e5dc34cdafe00), XIL(0), XIL(0x60), XIL(0x7fffe5855afb), XIL(0), XIL(0x5555559dc590), XIL(0x7fffe0c6d495), XIL(0x7fffffffcec0), XIL(0x5555558214a3)}
        i = <optimized out>
        last_pt = <optimized out>
        prev_modiff = 768
        prev_buffer = 0x7fffc49b7120
#21 0x000055555581f6a6 in internal_condition_case (bfun=bfun <at> entry=0x55555577fe60 <command_loop_1>, handlers=handlers <at> entry=XIL(0xa8), hfun=hfun <at> entry=0x555555764040 <cmd_error>) at ./src/eval.c:1627
        val = XIL(0x555556641290)
        c = 0x7fffe1e64a28
#22 0x0000555555762c7e in command_loop_2 (handlers=handlers <at> entry=XIL(0xa8)) at ./src/keyboard.c:1174
#23 0x000055555581f42f in internal_catch (tag=tag <at> entry=XIL(0x15498), func=func <at> entry=0x555555762c50 <command_loop_2>, arg=Python Exception <class 'gdb.error'>: value has been optimized out
, arg <at> entry=XIL(0xa8)) at ./src/eval.c:1306
        val = XIL(0x555556641290)
        c = 0x7fffe1e3d420
#24 0x0000555555762c19 in command_loop () at ./src/lisp.h:1229
#25 0x000055555576f725 in recursive_edit_1 () at ./src/keyboard.c:760
        val = Python Exception <class 'gdb.error'>: value has been optimized out

#26 0x000055555576fad5 in Frecursive_edit () at ./src/keyboard.c:843
#27 0x00005555555d20b5 in main (argc=5, argv=<optimized out>) at ./src/emacs.c:2658
        stack_bottom_variable = 0x7ffff3e92c60
        old_argc = <optimized out>
        no_loadup = <optimized out>
        junk = 0x0
        dname_arg = 0x7fffffffd79b "EMACS-MPS=yes"
        ch_to_dir = 0x0
        original_pwd = <optimized out>
        dump_mode = <optimized out>
        skip_args = 1
        temacs = 0x0
        attempt_load_pdump = <optimized out>
        only_version = <optimized out>
        rlim = {
          rlim_cur = 10022912,
          rlim_max = 18446744073709551615
        }
        lc_all = <optimized out>
        sockfd = <optimized out>
        module_assertions = <optimized out>
++set $bt = backtrace_top ()
++if backtrace_p ($bt)






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#75870; Package emacs. (Mon, 03 Feb 2025 16:55:01 GMT) Full text and rfc822 format available.

Message #41 received at 75870 <at> debbugs.gnu.org (full text, mbox):

From: Pip Cet <pipcet <at> protonmail.com>
To: Gregor Zattler <telegraph <at> gmx.net>
Cc: 75870 <at> debbugs.gnu.org, request <at> debbugs.gnu.org
Subject: Re: bug#75870: 30.0.93;
 feature/igc: Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=6,
 backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
Date: Mon, 03 Feb 2025 16:54:20 +0000
"Gregor Zattler" <telegraph <at> gmx.net> writes:

> reopen 75870
> stop
>
> Hi Pip, Emacs developers, please inform
> me, if this is the wrong way to reopen
> an bug.

Please let me know as well, I'm still quite unfamiliar with debbugs!

> since this and bug#75459 were closed, I
> build Emacs from feature/igc as of
> today.  An Emacs frame was open for
> quite some time because I went out to
> have a coffee and when I came back Emacs
> had terminated again.  While this time
> there is no other frame in a terminal,
> the graphical frame again is completely
> white and does not react.
>
> The Emacs session is still in GDB.

Thanks!  Best to leave it there for now until we're sure this bug is
real.


> Here are the usual infos.
>
> This is from a new Emacs instance but
> from the same build:
>
> In GNU Emacs 31.0.50 (build 1,
>  x86_64-pc-linux-gnu, cairo version
>  1.16.0) of 2025-02-03 built on no
> Repository revision: 4fda39cb1670106eac8b912a77d03586eafc18a2
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

commit 4fda39cb1670106eac8b912a77d03586eafc18a2 (HEAD, SAFE_ALLOCA)
Author: Pip Cet <pipcet <at> protonmail.com>

    [MPS] Temporarily scan SAFE_ALLOCA'd memory (bug#75754)

That commit predates the bug fix.

Are you sure you've updated the repository properly?  What does "git
rev-parse HEAD" show in the repo?

Thanks
Pip





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#75870; Package emacs. (Mon, 03 Feb 2025 17:15:01 GMT) Full text and rfc822 format available.

Message #44 received at 75870 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Pip Cet <pipcet <at> protonmail.com>
Cc: telegraph <at> gmx.net, 75870 <at> debbugs.gnu.org, request <at> debbugs.gnu.org
Subject: Re: bug#75870: 30.0.93;
 feature/igc: Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=6,
 backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
Date: Mon, 03 Feb 2025 19:13:50 +0200
> Cc: 75870 <at> debbugs.gnu.org, request <at> debbugs.gnu.org
> Date: Mon, 03 Feb 2025 16:54:20 +0000
> From:  Pip Cet via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> "Gregor Zattler" <telegraph <at> gmx.net> writes:
> 
> > reopen 75870
> > stop
> >
> > Hi Pip, Emacs developers, please inform
> > me, if this is the wrong way to reopen
> > an bug.
> 
> Please let me know as well, I'm still quite unfamiliar with debbugs!

Yes, see admin/notes/bugtracker.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#75870; Package emacs. (Mon, 03 Feb 2025 17:36:01 GMT) Full text and rfc822 format available.

Message #47 received at 75870 <at> debbugs.gnu.org (full text, mbox):

From: Gregor Zattler <telegraph <at> gmx.net>
To: Pip Cet <pipcet <at> protonmail.com>
Cc: 75870 <at> debbugs.gnu.org
Subject: Re: bug#75870: 30.0.93; feature/igc: Breakpoint 1,
 terminate_due_to_signal (sig=sig <at> entry=6,
 backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
Date: Mon, 03 Feb 2025 18:34:46 +0100
Hi Pip,
* Pip Cet <pipcet <at> protonmail.com> [2025-02-03; 16:54 GMT]:
> "Gregor Zattler" <telegraph <at> gmx.net> writes:
>> since this and bug#75459 were closed, I
>> build Emacs from feature/igc as of
>> today.  An Emacs frame was open for
>> quite some time because I went out to
>> have a coffee and when I came back Emacs
>> had terminated again.  While this time
>> there is no other frame in a terminal,
>> the graphical frame again is completely
>> white and does not react.
>>
>> The Emacs session is still in GDB.
>
> Thanks!  Best to leave it there for now until we're sure this bug is
> real.

This is a laptop, I might have to move
it and this probably means shuting
down, esp. since the battery isn't
great.

But till then I'll let it open.

>> In GNU Emacs 31.0.50 (build 1,
>>  x86_64-pc-linux-gnu, cairo version
>>  1.16.0) of 2025-02-03 built on no
>> Repository revision: 4fda39cb1670106eac8b912a77d03586eafc18a2
>                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> commit 4fda39cb1670106eac8b912a77d03586eafc18a2 (HEAD, SAFE_ALLOCA)
> Author: Pip Cet <pipcet <at> protonmail.com>
>
>     [MPS] Temporarily scan SAFE_ALLOCA'd memory (bug#75754)
>
> That commit predates the bug fix.
>
> Are you sure you've updated the repository properly?  What does "git
> rev-parse HEAD" show in the repo?

0 (feature/igc *) grfz <at> no:~/src/emacs-igc$ git  rev-parse HEAD
4fda39cb1670106eac8b912a77d03586eafc18a2

Upps, this is from 12 days ago.  I'm
sure I did a git fetch --all; git pull
but now I realize something is wrong
with my git worktree...


Since this was without your patch I
propose to close this bug again.


Sorry for the noise, Gregor




Reply sent to Pip Cet <pipcet <at> protonmail.com>:
You have taken responsibility. (Mon, 03 Feb 2025 18:18:01 GMT) Full text and rfc822 format available.

Notification sent to Gregor Zattler <telegraph <at> gmx.net>:
bug acknowledged by developer. (Mon, 03 Feb 2025 18:18:02 GMT) Full text and rfc822 format available.

Message #52 received at 75870-done <at> debbugs.gnu.org (full text, mbox):

From: Pip Cet <pipcet <at> protonmail.com>
To: Gregor Zattler <telegraph <at> gmx.net>
Cc: 75870-done <at> debbugs.gnu.org
Subject: Re: bug#75870: 30.0.93;
 feature/igc: Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=6,
 backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:432
Date: Mon, 03 Feb 2025 18:16:57 +0000
"Gregor Zattler" <telegraph <at> gmx.net> writes:

> 0 (feature/igc *) grfz <at> no:~/src/emacs-igc$ git  rev-parse HEAD
> 4fda39cb1670106eac8b912a77d03586eafc18a2
>
> Upps, this is from 12 days ago.  I'm
> sure I did a git fetch --all; git pull
> but now I realize something is wrong
> with my git worktree...
>
>
> Since this was without your patch I
> propose to close this bug again.
>
>
> Sorry for the noise, Gregor

No problem at all.  And thanks to whoever made report-emacs-bug include
the commit id, it's really helpful in cases like this.

Please do continue reporting igc (and Emacs generally) issues, those
reports help a lot!

Thanks again, and closing,

Pip





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 04 Mar 2025 12:24:17 GMT) Full text and rfc822 format available.

This bug report was last modified 110 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.