Package: emacs;
Reported by: Gregor Zattler <telegraph <at> gmx.net>
Date: Fri, 7 Mar 2025 22:48:02 UTC
Severity: normal
Found in version 31.0.50
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 76847 in the body.
You can then email your comments to 76847 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
bug-gnu-emacs <at> gnu.org:bug#76847; Package emacs.
(Fri, 07 Mar 2025 22:48:02 GMT) Full text and rfc822 format available.Gregor Zattler <telegraph <at> gmx.net>:bug-gnu-emacs <at> gnu.org.
(Fri, 07 Mar 2025 22:48: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: 31.0.50; feature/igc: Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=11, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:425 Date: Fri, 07 Mar 2025 23:46:50 +0100
Dear Emacs developers, I just typed into
an email reply when Emacs stopped
working.
Infos regarding this Emacs binary and
the GDB output below.
The GDB session is still running on this
laptop.
Thanks for your attention, Gregor
In GNU Emacs 31.0.50 (build 13,
x86_64-pc-linux-gnu, cairo version
1.16.0) of 2025-03-06 built on no
Repository revision: 9a657e1dabc196e60dcf48435d48fb51aef3c60d
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
XINERAMA XINPUT2 XPM XRANDR 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: Messages
Minor modes in effect:
winner-mode: t
pdf-occur-global-minor-mode: t
mail-abbrevs-mode: t
savehist-mode: t
ws-butler-global-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
which-key-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
buffer-read-only: 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:
~/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.3.1/magit-autorevert hides /home/grfz/.config/emacs/elpa-31.0/magit-section-4.3.1/magit-autorevert
~/src/notmuch/emacs/notmuch-lib hides /usr/local/share/emacs/site-lisp/notmuch-lib
~/src/notmuch/emacs/coolj hides /usr/local/share/emacs/site-lisp/coolj
~/src/notmuch/emacs/notmuch-address hides /usr/local/share/emacs/site-lisp/notmuch-address
~/src/notmuch/emacs/notmuch-hello hides /usr/local/share/emacs/site-lisp/notmuch-hello
~/src/notmuch/emacs/notmuch-parser hides /usr/local/share/emacs/site-lisp/notmuch-parser
~/src/notmuch/emacs/notmuch-show hides /usr/local/share/emacs/site-lisp/notmuch-show
~/src/notmuch/emacs/notmuch-wash hides /usr/local/share/emacs/site-lisp/notmuch-wash
~/src/notmuch/emacs/notmuch-draft hides /usr/local/share/emacs/site-lisp/notmuch-draft
~/src/notmuch/emacs/notmuch-tree hides /usr/local/share/emacs/site-lisp/notmuch-tree
~/src/notmuch/emacs/notmuch-version hides /usr/local/share/emacs/site-lisp/notmuch-version
~/src/notmuch/emacs/notmuch-jump hides /usr/local/share/emacs/site-lisp/notmuch-jump
~/src/notmuch/emacs/notmuch-company hides /usr/local/share/emacs/site-lisp/notmuch-company
~/src/notmuch/emacs/notmuch hides /usr/local/share/emacs/site-lisp/notmuch
~/src/notmuch/emacs/notmuch-crypto hides /usr/local/share/emacs/site-lisp/notmuch-crypto
~/src/notmuch/emacs/notmuch-compat hides /usr/local/share/emacs/site-lisp/notmuch-compat
~/src/notmuch/emacs/notmuch-maildir-fcc hides /usr/local/share/emacs/site-lisp/notmuch-maildir-fcc
~/src/notmuch/emacs/notmuch-tag hides /usr/local/share/emacs/site-lisp/notmuch-tag
~/src/notmuch/emacs/notmuch-message hides /usr/local/share/emacs/site-lisp/notmuch-message
~/src/notmuch/emacs/notmuch-print hides /usr/local/share/emacs/site-lisp/notmuch-print
~/src/notmuch/emacs/notmuch-mua hides /usr/local/share/emacs/site-lisp/notmuch-mua
~/src/notmuch/emacs/notmuch-query hides /usr/local/share/emacs/site-lisp/notmuch-query
/home/grfz/.config/emacs/elpa-31.0/transient-0.8.5/transient hides /home/grfz/src/emacs-igc/lisp/transient
/home/grfz/.config/emacs/elpa-31.0/python-0.29/python hides /home/grfz/src/emacs-igc/lisp/progmodes/python
/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 orgalist wcheck-mode
ecomplete mail-extr emacsbug lisp-mnt
tramp trampver tramp-integration files-x
tramp-message tramp-compat shell
parse-time iso8601 tramp-loaddefs
add-log rainbow-delimiters cus-start
winner pdf-occur ibuf-ext ibuffer
ibuffer-loaddefs tablist tablist-filter
semantic/wisent/comp semantic/wisent
semantic/wisent/wisent
semantic/util-modes semantic/util
semantic semantic/tag semantic/lex
semantic/fw mode-local cedet pdf-isearch
let-alist pdf-misc pdf-tools compile
pdf-view bookmark jka-compr pdf-cache
pdf-info tq pdf-util pdf-macs image-mode
exif 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
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
which-key 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 dash-autoloads
debbugs-autoloads
dired-git-info-autoloads
git-timemachine-autoloads
hyperbole-autoloads kotl-autoloads hact
set hhist idlwave-autoloads
key-chord-autoloads magit-autoloads
pcase magit-section-autoloads
llama-autoloads
minibuffer-line-autoloads
org-contrib-autoloads
org-noter-autoloads org-autoloads
orgalist-autoloads paredit-autoloads
pdf-tools-autoloads python-autoloads
qpdf.el-autoloads finder-inf
rainbow-delimiters-autoloads
tablist-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))
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 3969]
[Detaching after vfork from child process 3971]
[Detaching after vfork from child process 3972]
[Detaching after vfork from child process 3973]
[Detaching after vfork from child process 3976]
[Detaching after vfork from child process 3978]
[Detaching after vfork from child process 3980]
[Detaching after vfork from child process 3981]
[Detaching after vfork from child process 30330]
Program received signal SIGSEGV, Segmentaction fault.
[... 43 lines deleted ...]
Program received signal SIGSEGV, Segmentation fault.
[Detaching after vfork from child process 30331]
[Detaching after vfork from child process 30332]
[Detaching after vfork from child process 30333]
[Detaching after vfork from child process 30334]
[Detaching after vfork from child process 30335]
[Detaching after vfork from child process 30336]
[Detaching after vfork from child process 30337]
[Detaching after vfork from child process 30338]
[Detaching after vfork from child process 30339]
[Detaching after vfork from child process 30340]
[Detaching after vfork from child process 30341]
[Detaching after vfork from child process 30342]
[Detaching after vfork from child process 30343]
[Detaching after vfork from child process 30344]
[Detaching after vfork from child process 30345]
[Detaching after vfork from child process 30346]
[Detaching after vfork from child process 30347]
[Detaching after vfork from child process 30348]
[Detaching after vfork from child process 30349]
[Detaching after vfork from child process 30350]
[Detaching after vfork from child process 30351]
[Detaching after vfork from child process 30377]
[Detaching after vfork from child process 30462]
[Detaching after vfork from child process 30472]
[Detaching after vfork from child process 30473]
[Detaching after vfork from child process 30486]
[Detaching after vfork from child process 30490]
[Detaching after vfork from child process 30496]
[Detaching after vfork from child process 30866]
[Detaching after vfork from child process 30867]
[Detaching after vfork from child process 30876]
[Detaching after vfork from child process 30877]
Program received signal SIGSEGV, Segmentation fault.
[... 138 lines deleted ...]
Program received signal SIGSEGV, Segmentation fault.
[Detaching after vfork from child process 31368]
[Detaching after vfork from child process 31369]
Program received signal SIGSEGV, Segmentation fault.
[ deleted 40 lines ]
Program received signal SIGSEGV, Segmentation fault.
Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=11, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:425
425 {
#0 terminate_due_to_signal (sig=sig <at> entry=11, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:425
#1 0x00005555555b39ec in handle_fatal_signal (sig=11) at ./src/sysdep.c:1793
#2 deliver_thread_signal (handler=<optimized out>, sig=11) at ./src/sysdep.c:1785
#3 deliver_fatal_thread_signal (sig=11) at ./src/sysdep.c:1805
#4 handle_sigsegv (sig=11, siginfo=0x555555b17430 <sigsegv_stack+64496>, arg=<optimized out>) at ./src/sysdep.c:1943
#5 0x00007ffff3cfc050 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6
#6 0x00007ffff3cfc267 in kill () at /lib/x86_64-linux-gnu/libc.so.6
#7 0x00005555559b30f4 in sigHandle ()
#8 0x00007ffff3cfc050 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6
#9 indirect_function (object=object <at> entry=XIL(0x7fffcd16d9f0)) at ./src/lisp.h:1160
#10 0x0000555555787f23 in get_keymap (object=object <at> entry=XIL(0x7fffcd16d9f0), autoload=autoload <at> entry=true, error_if_not_keymap=false) at ./src/keymap.c:200
#11 0x000055555578932c in access_keymap_1 (map=Python Exception <class 'gdb.error'>: value has been optimized out
, idx=Python Exception <class 'gdb.error'>: value has been optimized out
, t_ok=false, noinherit=false, autoload=<optimized out>) at ./src/keymap.c:387
#12 0x00005555557899c3 in access_keymap (autoload=true, noinherit=false, t_ok=<optimized out>, idx=Python Exception <class 'gdb.error'>: value has been optimized out
, map=Python Exception <class 'gdb.error'>: value has been optimized out
) at ./src/keymap.c:495
#13 lookup_key_1 (keymap=keymap <at> entry=XIL(0x7fffebba8bc3), key=key <at> entry=XIL(0x7fffe518bfd5), accept_default=Python Exception <class 'gdb.error'>: value has been optimized out
, accept_default <at> entry=XIL(0)) at ./src/keymap.c:1276
#14 0x0000555555789c35 in Flookup_key (keymap=Python Exception <class 'gdb.error'>: value has been optimized out
, key=Python Exception <class 'gdb.error'>: value has been optimized out
, accept_default=Python Exception <class 'gdb.error'>: value has been optimized out
) at ./src/keymap.c:1313
#15 0x00007fffdf1a177e in F6b65792d63686f72642d6c6f6f6b75702d6b657931_key_chord_lookup_key1_0 () at /home/grfz/.config/emacs/eln-cache/31.0.50-f370be3c/key-chord-7d226a97-6fa76aab.eln
#16 0x000055555582568f in funcall_subr (subr=0x7fffcd96c470, numargs=2, args=<optimized out>) at ./src/eval.c:3184
#17 0x0000555555821f5f in Ffuncall (nargs=3, args=0x7fffffffc0d0) at ./src/eval.c:3114
#18 0x00007fffdf1a187d in F6b65792d63686f72642d6c6f6f6b75702d6b6579_key_chord_lookup_key_0 () at /home/grfz/.config/emacs/eln-cache/31.0.50-f370be3c/key-chord-7d226a97-6fa76aab.eln
#19 0x00005555558256a0 in funcall_subr (subr=0x7fffeed8a260, numargs=1, args=<optimized out>) at ./src/eval.c:3182
#20 0x0000555555821f5f in Ffuncall (nargs=2, args=0x7fffffffc220) at ./src/eval.c:3114
#21 0x00007fffdf1a1a7c in F6b65792d63686f72642d696e7075742d6d6574686f64_key_chord_input_method_0 () at /home/grfz/.config/emacs/eln-cache/31.0.50-f370be3c/key-chord-7d226a97-6fa76aab.eln
#22 0x00005555558256a0 in funcall_subr (subr=0x7fffec56dd48, numargs=1, args=<optimized out>) at ./src/eval.c:3182
#23 0x0000555555821f5f in Ffuncall (nargs=nargs <at> entry=2, args=args <at> entry=0x7fffffffc660) at ./src/eval.c:3114
#24 0x000055555577b8ce in read_char (commandflag=1, map=Python Exception <class 'gdb.error'>: value has been optimized out
, map <at> entry=XIL(0x7fffe518777b), prev_event=Python Exception <class 'gdb.error'>: value has been optimized out
, used_mouse_menu=used_mouse_menu <at> entry=0x7fffffffcb0b, end_time=end_time <at> entry=0x0) at ./src/keyboard.c:3272
#25 0x000055555577ea6b in read_key_sequence (keybuf=keybuf <at> entry=0x7fffffffcc70, 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:10801
#26 0x0000555555780797 in command_loop_1 () at ./src/lisp.h:1184
#27 0x000055555581e8f6 in internal_condition_case (bfun=bfun <at> entry=0x555555780540 <command_loop_1>, handlers=handlers <at> entry=XIL(0xa8), hfun=hfun <at> entry=0x555555764310 <cmd_error>) at ./src/eval.c:1625
#28 0x0000555555762f4e in command_loop_2 (handlers=handlers <at> entry=XIL(0xa8)) at ./src/keyboard.c:1174
#29 0x000055555581e67f in internal_catch (tag=tag <at> entry=XIL(0x15578), func=func <at> entry=0x555555762f20 <command_loop_2>, arg=Python Exception <class 'gdb.error'>: value has been optimized out
, arg <at> entry=XIL(0xa8)) at ./src/eval.c:1305
#30 0x0000555555762ee9 in command_loop () at ./src/lisp.h:1184
#31 0x000055555576fc85 in recursive_edit_1 () at ./src/keyboard.c:760
#32 0x0000555555770035 in Frecursive_edit () at ./src/keyboard.c:843
#33 0x00005555555d2177 in main (argc=5, argv=<optimized out>) at ./src/emacs.c:2584
Lisp Backtrace:
"key-chord-lookup-key1" (0xffffc0d8)
"key-chord-lookup-key" (0xffffc228)
"key-chord-input-method" (0xffffc668)
"key-chord-lookup-key1" (0xffffc0d8)
"key-chord-lookup-key" (0xffffc228)
"key-chord-input-method" (0xffffc668)
#0 terminate_due_to_signal (sig=sig <at> entry=11, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:425
#1 0x00005555555b39ec in handle_fatal_signal (sig=11) at ./src/sysdep.c:1793
fatal = <optimized out>
#2 deliver_thread_signal (handler=<optimized out>, sig=11) at ./src/sysdep.c:1785
fatal = <optimized out>
#3 deliver_fatal_thread_signal (sig=11) at ./src/sysdep.c:1805
fatal = <optimized out>
#4 handle_sigsegv (sig=11, siginfo=0x555555b17430 <sigsegv_stack+64496>, arg=<optimized out>) at ./src/sysdep.c:1943
fatal = <optimized out>
#5 0x00007ffff3cfc050 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6
#6 0x00007ffff3cfc267 in kill () at /lib/x86_64-linux-gnu/libc.so.6
#7 0x00005555559b30f4 in sigHandle ()
#8 0x00007ffff3cfc050 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6
#9 indirect_function (object=object <at> entry=XIL(0x7fffcd16d9f0)) at ./src/lisp.h:1160
#10 0x0000555555787f23 in get_keymap (object=object <at> entry=XIL(0x7fffcd16d9f0), autoload=autoload <at> entry=true, error_if_not_keymap=false) at ./src/keymap.c:200
tem = XIL(0xebba8bc0)
#11 0x000055555578932c in access_keymap_1 (map=Python Exception <class 'gdb.error'>: value has been optimized out
, idx=Python Exception <class 'gdb.error'>: value has been optimized out
, t_ok=false, noinherit=false, autoload=<optimized out>) at ./src/keymap.c:387
val = XIL(0x70)
binding = Python Exception <class 'gdb.error'>: value has been optimized out
submap = Python Exception <class 'gdb.error'>: value has been optimized out
tail = Python Exception <class 'gdb.error'>: value has been optimized out
retval = XIL(0x70)
retval_tail = XIL(0)
#12 0x00005555557899c3 in access_keymap (autoload=true, noinherit=false, t_ok=<optimized out>, idx=Python Exception <class 'gdb.error'>: value has been optimized out
, map=Python Exception <class 'gdb.error'>: value has been optimized out
) at ./src/keymap.c:495
c = Python Exception <class 'gdb.error'>: value has been optimized out
cmd = Python Exception <class 'gdb.error'>: value has been optimized out
t_ok = <optimized out>
length = 2
idx = 1
#13 lookup_key_1 (keymap=keymap <at> entry=XIL(0x7fffebba8bc3), key=key <at> entry=XIL(0x7fffe518bfd5), accept_default=Python Exception <class 'gdb.error'>: value has been optimized out
, accept_default <at> entry=XIL(0)) at ./src/keymap.c:1276
c = Python Exception <class 'gdb.error'>: value has been optimized out
cmd = Python Exception <class 'gdb.error'>: value has been optimized out
t_ok = <optimized out>
length = 2
idx = 1
#14 0x0000555555789c35 in Flookup_key (keymap=Python Exception <class 'gdb.error'>: value has been optimized out
, key=Python Exception <class 'gdb.error'>: value has been optimized out
, accept_default=Python Exception <class 'gdb.error'>: value has been optimized out
) at ./src/keymap.c:1313
found = Python Exception <class 'gdb.error'>: value has been optimized out
key_len = <optimized out>
new_key = Python Exception <class 'gdb.error'>: value has been optimized out
tables = {XIL(0), XIL(0)}
#15 0x00007fffdf1a177e in F6b65792d63686f72642d6c6f6f6b75702d6b657931_key_chord_lookup_key1_0 () at /home/grfz/.config/emacs/eln-cache/31.0.50-f370be3c/key-chord-7d226a97-6fa76aab.eln
#16 0x000055555582568f in funcall_subr (subr=0x7fffcd96c470, numargs=2, args=<optimized out>) at ./src/eval.c:3184
argbuf = {XIL(0), XIL(0xc0), XIL(0), XIL(0x555555b3bf80), XIL(0x7fffffffc0d0), XIL(0x7fffffffc0d0), XIL(0x7fffffffc010), XIL(0x555555821e2d)}
a = <optimized out>
maxargs = 2
#17 0x0000555555821f5f in Ffuncall (nargs=3, args=0x7fffffffc0d0) at ./src/eval.c:3114
val = Python Exception <class 'gdb.error'>: value has been optimized out
#18 0x00007fffdf1a187d in F6b65792d63686f72642d6c6f6f6b75702d6b6579_key_chord_lookup_key_0 () at /home/grfz/.config/emacs/eln-cache/31.0.50-f370be3c/key-chord-7d226a97-6fa76aab.eln
#19 0x00005555558256a0 in funcall_subr (subr=0x7fffeed8a260, numargs=1, args=<optimized out>) at ./src/eval.c:3182
argbuf = {XIL(0), XIL(0), XIL(0), XIL(0x5555558d85f0), XIL(0x7fffe518bfd0), XIL(0x6f9ab94513d29d00), XIL(0), XIL(0x555555821e2d)}
a = <optimized out>
maxargs = 1
#20 0x0000555555821f5f in Ffuncall (nargs=2, args=0x7fffffffc220) at ./src/eval.c:3114
val = Python Exception <class 'gdb.error'>: value has been optimized out
#21 0x00007fffdf1a1a7c in F6b65792d63686f72642d696e7075742d6d6574686f64_key_chord_input_method_0 () at /home/grfz/.config/emacs/eln-cache/31.0.50-f370be3c/key-chord-7d226a97-6fa76aab.eln
#22 0x00005555558256a0 in funcall_subr (subr=0x7fffec56dd48, numargs=1, args=<optimized out>) at ./src/eval.c:3182
argbuf = {XIL(0x7fffffffc360), XIL(0x5555558206f3), XIL(0x555555821e50), XIL(0xa0), XIL(0xc), XIL(0xcc18), XIL(0), XIL(0x555555821e2d)}
a = <optimized out>
maxargs = 1
#23 0x0000555555821f5f in Ffuncall (nargs=nargs <at> entry=2, args=args <at> entry=0x7fffffffc660) at ./src/eval.c:3114
val = Python Exception <class 'gdb.error'>: value has been optimized out
#24 0x000055555577b8ce in read_char (commandflag=1, map=Python Exception <class 'gdb.error'>: value has been optimized out
, map <at> entry=XIL(0x7fffe518777b), prev_event=Python Exception <class 'gdb.error'>: value has been optimized out
, used_mouse_menu=used_mouse_menu <at> entry=0x7fffffffcb0b, end_time=end_time <at> entry=0x0) at ./src/keyboard.c:3272
keys = Python Exception <class 'gdb.error'>: value has been optimized out
key_count = 0
saved_ok_to_echo = 0x0
saved_echo_string = XIL(0)
command_key_start = 0
saved_immediate_echo = false
saved_echo_prompt = XIL(0)
c = make_fixnum(32)
local_getcjmp = {{
__jmpbuf = {93824998315168, 6829240687561678770, 1, 140737488342128, 0, 93825003550752, 6829240687232425906, 834013827588300722},
__mask_was_saved = 0,
__saved_mask = {
__val = {0, 56504, 0, 140737030063323, 140737030063320, 140737488340976, 93824995806791, 56504, 8589920320, 140737488340976, 0, 56504, 140737488341056, 140737037008112, 140737037008117, 140737488341248}
}
}}
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 = true
polling_stopped_here = false
orig_kboard = 0x55555601f820
c_volatile = make_fixnum(32)
#25 0x000055555577ea6b in read_key_sequence (keybuf=keybuf <at> entry=0x7fffffffcc70, 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:10801
interrupted_kboard = 0x55555601f820
interrupted_frame = 0x7fffe77face8
key = Python Exception <class 'gdb.error'>: value has been optimized out
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(0x7fffe518777b)
first_unbound = 31
mock_input = 0
used_mouse_menu_history = {false <repeats 30 times>}
fkey = {
parent = XIL(0x7fffe7527c1b),
map = XIL(0x7fffe7527c1b),
start = 0,
end = 0
}
keytran = {
parent = XIL(0x7fffebe4c24b),
map = XIL(0x7fffebe4c24b),
start = 0,
end = 0
}
indec = {
parent = XIL(0x7fffe7527c03),
map = XIL(0x7fffe7527c03),
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)
#26 0x0000555555780797 in command_loop_1 () at ./src/lisp.h:1184
cmd = Python Exception <class 'gdb.error'>: value has been optimized out
keybuf = {make_fixnum(110), make_fixnum(5), make_fixnum(106), make_fixnum(110), make_fixnum(110), XIL(0xa0), XIL(0x7fffffffcce0), XIL(0x6f9ab94513d29d00), XIL(0x2aaa8b114590), XIL(0x7fffe1026d55), XIL(0x400000003f000000), XIL(0x4000000013000000), XIL(0x2aaa8b503958), XIL(0xe1026d55), XIL(0x7fffffffcda0), XIL(0x555555820d91), XIL(0x7fffffffcd40), XIL(0x5555558083b0), make_fixnum(0), XIL(0x555555807fe8), XIL(0), XIL(0x6f9ab94513d29d00), XIL(0), XIL(0x60), XIL(0x7fffe6a51d6b), XIL(0), XIL(0xd2e0), XIL(0x5555559dc660), XIL(0x7fffffffcdc0), XIL(0x5555558206f3)}
i = <optimized out>
last_pt = <optimized out>
prev_modiff = 10199
prev_buffer = 0x7fffe518fcf0
#27 0x000055555581e8f6 in internal_condition_case (bfun=bfun <at> entry=0x555555780540 <command_loop_1>, handlers=handlers <at> entry=XIL(0xa8), hfun=hfun <at> entry=0x555555764310 <cmd_error>) at ./src/eval.c:1625
val = XIL(0x7fffcd16d9f0)
c = 0x7fffe1e12f98
#28 0x0000555555762f4e in command_loop_2 (handlers=handlers <at> entry=XIL(0xa8)) at ./src/keyboard.c:1174
#29 0x000055555581e67f in internal_catch (tag=tag <at> entry=XIL(0x15578), func=func <at> entry=0x555555762f20 <command_loop_2>, arg=Python Exception <class 'gdb.error'>: value has been optimized out
, arg <at> entry=XIL(0xa8)) at ./src/eval.c:1305
val = XIL(0x7fffcd16d9f0)
c = 0x7fffe1ded968
#30 0x0000555555762ee9 in command_loop () at ./src/lisp.h:1184
#31 0x000055555576fc85 in recursive_edit_1 () at ./src/keyboard.c:760
val = Python Exception <class 'gdb.error'>: value has been optimized out
#32 0x0000555555770035 in Frecursive_edit () at ./src/keyboard.c:843
#33 0x00005555555d2177 in main (argc=5, argv=<optimized out>) at ./src/emacs.c:2584
stack_bottom_variable = 0x7ffff3e92c60
old_argc = <optimized out>
no_loadup = <optimized out>
junk = 0x0
dname_arg = 0x7fffffffd69a "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>
Lisp Backtrace:
"key-chord-lookup-key1" (0xffffc0d8)
"key-chord-lookup-key" (0xffffc228)
"key-chord-input-method" (0xffffc668)
rax 0xe 14
rbx 0xb 11
rcx 0x3e800000f77 4294967299959
rdx 0xe68 3688
rsi 0x28 40
rdi 0xb 11
rbp 0x555555b172f0 0x555555b172f0 <sigsegv_stack+64176>
rsp 0x555555b172c8 0x555555b172c8 <sigsegv_stack+64136>
r8 0x7fffffffb6f0 140737488336624
r9 0x2aaa960216d8 46912149526232
r10 0x7ffff3cd6580 140737283712384
r11 0x206 518
r12 0x555555b17430 93824998274096
r13 0x7ffff2dc4380 140737267909504
r14 0x7fffffffb5f0 140737488336368
r15 0x7fffcd16d9f0 140736634214896
rip 0x5555555b1454 0x5555555b1454 <terminate_due_to_signal>
eflags 0x216 [ PF AF IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
warning: target file /proc/3959/cmdline contained unexpected null characters
Saved corefile core.3959
Ciao,
--
Gregor
bug-gnu-emacs <at> gnu.org:bug#76847; Package emacs.
(Sat, 08 Mar 2025 09:59:01 GMT) Full text and rfc822 format available.Message #8 received at 76847 <at> debbugs.gnu.org (full text, mbox):
From: Pip Cet <pipcet <at> protonmail.com> To: 76847 <at> debbugs.gnu.org, Gregor Zattler <telegraph <at> gmx.net> Subject: Re: bug#76847: 31.0.50; feature/igc: Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=11, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:425 Date: Sat, 08 Mar 2025 09:58:41 +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, I just typed into
> an email reply when Emacs stopped
> working.
Thanks for the report! Just to confirm, you're using
https://www.emacswiki.org/emacs/download/key-chord.el ?
I believe this is due to the very strange memory management in
current_minor_maps. This should have prevented the crash, but I can't
properly test it right now. It also changes behavior when running out
of memory, but I don't think that's a real issue with MPS.
diff --git a/src/keymap.c b/src/keymap.c
index bc731c54ef0..43979bed905 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -53,6 +53,7 @@
#include "intervals.h"
#include "keymap.h"
#include "window.h"
+#include "igc.h"
/* Actually allocate storage for these variables. */
@@ -1588,26 +1589,42 @@ current_minor_maps (Lisp_Object **modeptr, Lisp_Object **mapptr)
/* Use malloc here. See the comment above this function.
Avoid realloc here; it causes spurious traps on GNU/Linux [KFS] */
block_input ();
+#ifdef HAVE_MPS
+ newmodes = igc_xzalloc_ambig (allocsize);
+#else
newmodes = malloc (allocsize);
+#endif
if (newmodes)
{
if (cmm_modes)
{
memcpy (newmodes, cmm_modes,
cmm_size * sizeof cmm_modes[0]);
+#ifdef HAVE_MPS
+ igc_xfree (cmm_modes);
+#else
free (cmm_modes);
+#endif
}
cmm_modes = newmodes;
}
+#ifdef HAVE_MPS
+ newmaps = igc_xzalloc_ambig (allocsize);
+#else
newmaps = malloc (allocsize);
+#endif
if (newmaps)
{
if (cmm_maps)
{
memcpy (newmaps, cmm_maps,
cmm_size * sizeof cmm_maps[0]);
+#ifdef HAVE_MPS
+ igc_xfree (cmm_maps);
+#else
free (cmm_maps);
+#endif
}
cmm_maps = newmaps;
}
Thanks again!
Pip
bug-gnu-emacs <at> gnu.org:bug#76847; Package emacs.
(Sat, 08 Mar 2025 10:28:02 GMT) Full text and rfc822 format available.Message #11 received at 76847 <at> debbugs.gnu.org (full text, mbox):
From: Eli Zaretskii <eliz <at> gnu.org> To: Gregor Zattler <telegraph <at> gmx.net> Cc: 76847 <at> debbugs.gnu.org Subject: Re: bug#76847: 31.0.50; feature/igc: Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=11, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:425 Date: Sat, 08 Mar 2025 12:27:31 +0200
> Date: Fri, 07 Mar 2025 23:46:50 +0100
> From: Gregor Zattler via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> Dear Emacs developers, I just typed into
> an email reply when Emacs stopped
> working.
>
> Infos regarding this Emacs binary and
> the GDB output below.
>
> The GDB session is still running on this
> laptop.
>
> #0 terminate_due_to_signal (sig=sig <at> entry=11, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:425
> #1 0x00005555555b39ec in handle_fatal_signal (sig=11) at ./src/sysdep.c:1793
> #2 deliver_thread_signal (handler=<optimized out>, sig=11) at ./src/sysdep.c:1785
> #3 deliver_fatal_thread_signal (sig=11) at ./src/sysdep.c:1805
> #4 handle_sigsegv (sig=11, siginfo=0x555555b17430 <sigsegv_stack+64496>, arg=<optimized out>) at ./src/sysdep.c:1943
> #5 0x00007ffff3cfc050 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6
> #6 0x00007ffff3cfc267 in kill () at /lib/x86_64-linux-gnu/libc.so.6
> #7 0x00005555559b30f4 in sigHandle ()
> #8 0x00007ffff3cfc050 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6
> #9 indirect_function (object=object <at> entry=XIL(0x7fffcd16d9f0)) at ./src/lisp.h:1160
> #10 0x0000555555787f23 in get_keymap (object=object <at> entry=XIL(0x7fffcd16d9f0), autoload=autoload <at> entry=true, error_if_not_keymap=false) at ./src/keymap.c:200
What is this object, which is the 1st argument of get_keymap? Can you
display it using xtype and/or pp?
> #23 0x0000555555821f5f in Ffuncall (nargs=nargs <at> entry=2, args=args <at> entry=0x7fffffffc660) at ./src/eval.c:3114
> #24 0x000055555577b8ce in read_char (commandflag=1, map=Python Exception <class 'gdb.error'>: value has been optimized out
> , map <at> entry=XIL(0x7fffe518777b), prev_event=Python Exception <class 'gdb.error'>: value has been optimized out
> , used_mouse_menu=used_mouse_menu <at> entry=0x7fffffffcb0b, end_time=end_time <at> entry=0x0) at ./src/keyboard.c:3272
This seems to indicate read_char called some input method:
/* Call the input method. */
tem = calln (Vinput_method_function, c);
What is the value of Vinput_method_function? Can you show its value
in human-readable form using xtype and/or pp?
bug-gnu-emacs <at> gnu.org:bug#76847; Package emacs.
(Sat, 08 Mar 2025 10:37:02 GMT) Full text and rfc822 format available.Message #14 received at 76847 <at> debbugs.gnu.org (full text, mbox):
From: Gregor Zattler <telegraph <at> gmx.net> To: Pip Cet <pipcet <at> protonmail.com>, 76847 <at> debbugs.gnu.org Subject: Re: bug#76847: 31.0.50; feature/igc: Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=11, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:425 Date: Sat, 08 Mar 2025 11:36:03 +0100
Hi Pip, Emacs developers,
* Pip Cet <pipcet <at> protonmail.com> [2025-03-08; 09:58 GMT]:
> "Gregor Zattler via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\"" <bug-gnu-emacs <at> gnu.org> writes:
> Thanks for the report! Just to confirm, you're using
> https://www.emacswiki.org/emacs/download/key-chord.el ?
no, I use
https://github.com/emacsorphanage/key-chord/
which is ~22 commits (most of them by
tarsius) ahead of the emacswiki version.
This is, what MELPA uses.
> I believe this is due to the very strange memory management in
> current_minor_maps. This should have prevented the crash, but I can't
> properly test it right now. It also changes behavior when running out
> of memory, but I don't think that's a real issue with MPS.
>
> diff --git a/src/keymap.c b/src/keymap.c
> index bc731c54ef0..43979bed905 100644
> --- a/src/keymap.c
> +++ b/src/keymap.c
> @@ -53,6 +53,7 @@
> #include "intervals.h"
> #include "keymap.h"
> #include "window.h"
> +#include "igc.h"
>
> /* Actually allocate storage for these variables. */
>
> @@ -1588,26 +1589,42 @@ current_minor_maps (Lisp_Object **modeptr, Lisp_Object **mapptr)
> /* Use malloc here. See the comment above this function.
> Avoid realloc here; it causes spurious traps on GNU/Linux [KFS] */
> block_input ();
> +#ifdef HAVE_MPS
> + newmodes = igc_xzalloc_ambig (allocsize);
> +#else
> newmodes = malloc (allocsize);
> +#endif
> if (newmodes)
> {
> if (cmm_modes)
> {
> memcpy (newmodes, cmm_modes,
> cmm_size * sizeof cmm_modes[0]);
> +#ifdef HAVE_MPS
> + igc_xfree (cmm_modes);
> +#else
> free (cmm_modes);
> +#endif
> }
> cmm_modes = newmodes;
> }
>
> +#ifdef HAVE_MPS
> + newmaps = igc_xzalloc_ambig (allocsize);
> +#else
> newmaps = malloc (allocsize);
> +#endif
> if (newmaps)
> {
> if (cmm_maps)
> {
> memcpy (newmaps, cmm_maps,
> cmm_size * sizeof cmm_maps[0]);
> +#ifdef HAVE_MPS
> + igc_xfree (cmm_maps);
> +#else
> free (cmm_maps);
> +#endif
> }
> cmm_maps = newmaps;
> }
>
is this patch for me to test (I cannot
reproduce the problem)?
Ciao; Gregor
--
-... --- .-. . -.. ..--.. ...-.-
bug-gnu-emacs <at> gnu.org:bug#76847; Package emacs.
(Sat, 08 Mar 2025 10:41:01 GMT) Full text and rfc822 format available.Message #17 received at 76847 <at> debbugs.gnu.org (full text, mbox):
From: Pip Cet <pipcet <at> protonmail.com> To: Gregor Zattler <telegraph <at> gmx.net> Cc: 76847 <at> debbugs.gnu.org Subject: Re: bug#76847: 31.0.50; feature/igc: Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=11, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:425 Date: Sat, 08 Mar 2025 10:40:17 +0000
"Gregor Zattler" <telegraph <at> gmx.net> writes: > Hi Pip, Emacs developers, > * Pip Cet <pipcet <at> protonmail.com> [2025-03-08; 09:58 GMT]: >> "Gregor Zattler via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\"" <bug-gnu-emacs <at> gnu.org> writes: >> Thanks for the report! Just to confirm, you're using >> https://www.emacswiki.org/emacs/download/key-chord.el ? > > no, I use > https://github.com/emacsorphanage/key-chord/ > which is ~22 commits (most of them by > tarsius) ahead of the emacswiki version. Thanks! I'm pretty sure it was the cmm_maps thing, but I'll wait for Eli to close the bug if he agrees. > is this patch for me to test (I cannot > reproduce the problem)? I've pushed it now. Thanks again! Pip
bug-gnu-emacs <at> gnu.org:bug#76847; Package emacs.
(Sat, 08 Mar 2025 10:44:02 GMT) Full text and rfc822 format available.Message #20 received at 76847 <at> debbugs.gnu.org (full text, mbox):
From: Gregor Zattler <telegraph <at> gmx.net> To: Eli Zaretskii <eliz <at> gnu.org> Cc: 76847 <at> debbugs.gnu.org Subject: Re: bug#76847: 31.0.50; feature/igc: Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=11, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:425 Date: Sat, 08 Mar 2025 11:43:08 +0100
Hi Eli, Emacs developers, * Eli Zaretskii <eliz <at> gnu.org> [2025-03-08; 12:27 +02]: >> Date: Fri, 07 Mar 2025 23:46:50 +0100 >> From: Gregor Zattler via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org> >> >> Dear Emacs developers, I just typed into >> an email reply when Emacs stopped >> working. >> >> Infos regarding this Emacs binary and >> the GDB output below. >> >> The GDB session is still running on this >> laptop. >> >> #0 terminate_due_to_signal (sig=sig <at> entry=11, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:425 >> #1 0x00005555555b39ec in handle_fatal_signal (sig=11) at ./src/sysdep.c:1793 >> #2 deliver_thread_signal (handler=<optimized out>, sig=11) at ./src/sysdep.c:1785 >> #3 deliver_fatal_thread_signal (sig=11) at ./src/sysdep.c:1805 >> #4 handle_sigsegv (sig=11, siginfo=0x555555b17430 <sigsegv_stack+64496>, arg=<optimized out>) at ./src/sysdep.c:1943 >> #5 0x00007ffff3cfc050 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6 >> #6 0x00007ffff3cfc267 in kill () at /lib/x86_64-linux-gnu/libc.so.6 >> #7 0x00005555559b30f4 in sigHandle () >> #8 0x00007ffff3cfc050 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6 >> #9 indirect_function (object=object <at> entry=XIL(0x7fffcd16d9f0)) at ./src/lisp.h:1160 >> #10 0x0000555555787f23 in get_keymap (object=object <at> entry=XIL(0x7fffcd16d9f0), autoload=autoload <at> entry=true, error_if_not_keymap=false) at ./src/keymap.c:200 > > What is this object, which is the 1st argument of get_keymap? Can you > display it using xtype and/or pp? > >> #23 0x0000555555821f5f in Ffuncall (nargs=nargs <at> entry=2, args=args <at> entry=0x7fffffffc660) at ./src/eval.c:3114 >> #24 0x000055555577b8ce in read_char (commandflag=1, map=Python Exception <class 'gdb.error'>: value has been optimized out >> , map <at> entry=XIL(0x7fffe518777b), prev_event=Python Exception <class 'gdb.error'>: value has been optimized out >> , used_mouse_menu=used_mouse_menu <at> entry=0x7fffffffcb0b, end_time=end_time <at> entry=0x0) at ./src/keyboard.c:3272 > > This seems to indicate read_char called some input method: > > /* Call the input method. */ > tem = calln (Vinput_method_function, c); > > What is the value of Vinput_method_function? Can you show its value > in human-readable form using xtype and/or pp? sorry, I don't know how to do this and while I tried several things this happened: pp Vinput_method_function Program received signal SIGSEGV, Segmentation fault. Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists. The program being debugged exited while in a function called from GDB. Evaluation of the expression containing the function (safe_debug_print) will be abandoned. ... Ciao; Gregor -- -... --- .-. . -.. ..--.. ...-.-
bug-gnu-emacs <at> gnu.org:bug#76847; Package emacs.
(Sat, 08 Mar 2025 11:35:01 GMT) Full text and rfc822 format available.Message #23 received at 76847 <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, 76847 <at> debbugs.gnu.org Subject: Re: bug#76847: 31.0.50; feature/igc: Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=11, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:425 Date: Sat, 08 Mar 2025 13:34:23 +0200
> Cc: 76847 <at> debbugs.gnu.org > Date: Sat, 08 Mar 2025 10:40:17 +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: > > > Hi Pip, Emacs developers, > > * Pip Cet <pipcet <at> protonmail.com> [2025-03-08; 09:58 GMT]: > >> "Gregor Zattler via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\"" <bug-gnu-emacs <at> gnu.org> writes: > >> Thanks for the report! Just to confirm, you're using > >> https://www.emacswiki.org/emacs/download/key-chord.el ? > > > > no, I use > > https://github.com/emacsorphanage/key-chord/ > > which is ~22 commits (most of them by > > tarsius) ahead of the emacswiki version. > > Thanks! I'm pretty sure it was the cmm_maps thing, but I'll wait for > Eli to close the bug if he agrees. If you are sure the bug is solved, feel free to close.
Pip Cet <pipcet <at> protonmail.com>:Gregor Zattler <telegraph <at> gmx.net>:Message #28 received at 76847-done <at> debbugs.gnu.org (full text, mbox):
From: Pip Cet <pipcet <at> protonmail.com> To: Eli Zaretskii <eliz <at> gnu.org> Cc: telegraph <at> gmx.net, 76847-done <at> debbugs.gnu.org Subject: Re: bug#76847: 31.0.50; feature/igc: Breakpoint 1, terminate_due_to_signal (sig=sig <at> entry=11, backtrace_limit=backtrace_limit <at> entry=40) at ./src/emacs.c:425 Date: Thu, 13 Mar 2025 20:36:07 +0000
"Eli Zaretskii" <eliz <at> gnu.org> writes: >> Cc: 76847 <at> debbugs.gnu.org >> Date: Sat, 08 Mar 2025 10:40:17 +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: >> >> > Hi Pip, Emacs developers, >> > * Pip Cet <pipcet <at> protonmail.com> [2025-03-08; 09:58 GMT]: >> >> "Gregor Zattler via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\"" <bug-gnu-emacs <at> gnu.org> writes: >> >> Thanks for the report! Just to confirm, you're using >> >> https://www.emacswiki.org/emacs/download/key-chord.el ? >> > >> > no, I use >> > https://github.com/emacsorphanage/key-chord/ >> > which is ~22 commits (most of them by >> > tarsius) ahead of the emacswiki version. >> >> Thanks! I'm pretty sure it was the cmm_maps thing, but I'll wait for >> Eli to close the bug if he agrees. > > If you are sure the bug is solved, feel free to close. Closing.
Debbugs Internal Request <help-debbugs <at> gnu.org>
to internal_control <at> debbugs.gnu.org.
(Fri, 11 Apr 2025 11:24:09 GMT) Full text and rfc822 format available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.