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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Pip Cet <pipcet <at> protonmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#75870: closed (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:18:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 03 Feb 2025 18:16:57 +0000
with message-id <87h65azyf9.fsf <at> protonmail.com>
and subject line 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
has caused the debbugs.gnu.org bug report #75870,
regarding 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
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
75870: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75870
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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


[Message part 3 (message/rfc822, inline)]
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



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.