Subject: Re: bug#75459: 31.0.50; scratch-igc: Breakpoint 1, terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at ./src/emacs.c:432
From: Pip Cet <[email-masked]>
To: Gregor Zattler <[email-masked]>
Cc: Gerd Möllmann <[email-masked]>, Eli Zaretskii <[email-masked]>, [email-masked]
Date: Sat, 01 Feb 2025 23:19:59 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

"Gregor Zattler" <[email-masked]> writes:

> Hi Pip,
> * Pip Cet <[email-masked]> [2025-01-09; 14:47 GMT]:
>> Gregor, can you run "print specpdl_ptr",
>> "print *(struct Lisp_String *)0x555557040d50", and "bt full"?
>
> (gdb) bt full
> #0  terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at ./src/emacs.c:432
> #1  0x00005555555b72db in die (msg=msg@entry=0x5555559d49e0 "pdl->kind == SPECPDL_BACKTRACE", file=file@entry=0x5555559d4540 "eval.c", line=line@entry=118) at ./src/alloc.c:8377
> #2  0x00005555555bcc21 in backtrace_function (pdl=<optimized out>) at ./src/eval.c:118
> #3  0x00007fffffff986f in <function called from gdb> ()
> #4  terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at ./src/emacs.c:432
> #5  0x00005555555b72db in die (msg=msg@entry=0x5555559d49e0 "pdl->kind == SPECPDL_BACKTRACE", file=file@entry=0x5555559d4540 "eval.c", line=line@entry=118) at ./src/alloc.c:8377
> #6  0x00005555555bcc21 in backtrace_function (pdl=<optimized out>) at ./src/eval.c:118
> #7  0x00007fffffff992f in <function called from gdb> ()
> #8  terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at ./src/emacs.c:432
> #9  0x00005555555b72db in die (msg=msg@entry=0x5555559d49e0 "pdl->kind == SPECPDL_BACKTRACE", file=file@entry=0x5555559d4540 "eval.c", line=line@entry=118) at ./src/alloc.c:8377
> #10 0x00005555555bcc21 in backtrace_function (pdl=<optimized out>) at ./src/eval.c:118
> #11 0x00007fffffff99ef in <function called from gdb> ()
> #12 terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at ./src/emacs.c:432
> #13 0x00005555555b72db in die (msg=msg@entry=0x5555559d49e0 "pdl->kind == SPECPDL_BACKTRACE", file=file@entry=0x5555559d4540 "eval.c", line=line@entry=118) at ./src/alloc.c:8377
> #14 0x00005555555bcc21 in backtrace_function (pdl=<optimized out>) at ./src/eval.c:118
> #15 0x00007fffffff9aaf in <function called from gdb> ()
> #16 terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at ./src/emacs.c:432
> #17 0x00005555555b72db in die (msg=msg@entry=0x5555559d49e0 "pdl->kind == SPECPDL_BACKTRACE", file=file@entry=0x5555559d4540 "eval.c", line=line@entry=118) at ./src/alloc.c:8377
> #18 0x00005555555bcc21 in backtrace_function (pdl=<optimized out>) at ./src/eval.c:118
> #19 0x00007fffffff9b6f in <function called from gdb> ()
> #20 terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at ./src/emacs.c:432
> #21 0x00005555555b72db in die (msg=msg@entry=0x5555559cedde "CHAR_TABLE_P (obj)", file=file@entry=0x5555559b0565 "character.h", line=line@entry=597) at ./src/alloc.c:8377
> #22 0x00005555555b6acd in char_table_translate (obj=Python Exception <class 'gdb.error'>: value has been optimized out
> , ch=32) at ./src/character.h:597

Gregor, I'm assuming this bug hasn't reappeared and trust you'll open a
new bug or reopen this one should it take this opportunity to reappear.
So I'm closing this bug.

The backtrace thing can be discussed at some other time; the change is
in my tree so won't be totally forgotten.

Thanks for the many reports!

Pip