On Tue, Aug 26, 2025, 10:26 PM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Spencer Baugh <sbaugh@janestreet.com>
> Cc: Paul Eggert <eggert@cs.ucla.edu>,  79318@debbugs.gnu.org
> Date: Tue, 26 Aug 2025 15:23:20 -0400
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> Date: Tue, 26 Aug 2025 12:19:07 -0400
> >> From:  Spencer Baugh via "Bug reports for GNU Emacs,
> >>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> >>
> >>
> >> repro.el:
> >>
> >> (make-thread
> >>  (lambda ()
> >>    (sleep-for .1)
> >>    (signal-process (emacs-pid) 'sigint)))
> >> (sleep-for 100)
> >>
> >> emacs -Q -l ./repro.el
> >>
> >> Observe Emacs crashes with a segfault while shutting down.
> >
> > I don't see a segfault in your backtrace, only a shutdown due to
> > SIGINT (which is a fatal signal in the configuration you ran -- Paul,
> > am I right?)
>
> The backtrace is of the point at which there's a segfault.  It happens
> during shutdown.
>
> >> In gdb, the segfault appears to be because current_thread is NULL.
> >
> > Please show the backtrace from the segfault.
>
> I did.

Such a backtrace should say that the process was hit by SIGSEGV.
There was no such part in the backtrace you have shown.

My version of gdb does not.