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: Gerd Möllmann <[email-masked]>
Date: Fri, 10 Jan 2025 05:52:39 +0100

Pip Cet <[email-masked]> writes:

> Gerd Möllmann <[email-masked]> writes:
>

>>> #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> ()

Another thing that irritates me is that I don't see emacs_backtrace in
the bt. Die is there, which calls terminate_due_to_signal, but then we
are immediately in backtrace_function. That makes no sense.