Subject: bug#55047: Bug: Abort Dialog upon start

From: Eli Zaretskii <[email-masked]>
Date: Sun, 01 May 2022 15:14:54 +0300

> Date: Sun, 1 May 2022 11:40:57 +0000 (UTC)
> From: hermit sings <[email-masked]>
> Cc: "[email-masked]" <[email-masked]>, 
> 	"[email-masked]" <[email-masked]>
> 
> Starting program: C:\Program Files\Emacs\emacs-28.1\bin\emacs.exe
> [New Thread 3876.0xff0]
> [New Thread 3876.0x2538]
> [New Thread 3876.0x14d0]
> gdb: Target exception EXCEPTION_BREAKPOINT at 0x7fff7c9a06b0
> [New Thread 3876.0xe08]
> [New Thread 3876.0x171c]
> [New Thread 3876.0x2bac]
> gdb: Target exception MS_VC_EXCEPTION at 0x7fff7a294f99
> [New Thread 3876.0x2024]
> [New Thread 3876.0x8c4]
> [New Thread 3876.0x24e0]
> [New Thread 3876.0x2e80]
> warning: onecore\base\appmodel\runtime\winrt\lib\windows.applicationmodel.package.cpp(1008)\Windows.ApplicationModel.dll!00007FFF724FE5CF: (caller: 00007FFF724EA25C) ReturnHr(1) tid(2bac) 80070002 The system cannot find the file specified.
> warning: onecore\base\appmodel\runtime\winrt\lib\windows.applicationmodel.package.cpp(512)\Windows.ApplicationModel.dll!00007FFF724FE441: (caller: 00007FFF23B87D43) ReturnHr(2) tid(2bac) 80070002 The system cannot find the file specified.

As expected.

Does Emacs still pop up the Abort dialog if you start it directly,
outside of GDB?  If it still shows Abort dialog, then you have shown a
GDB session where you attached GDB to Emacs, then said "continue", and
GDB then reported that Emacs got a SIGTRAP signal.  If at that point
you say

  (gdb) thread apply all bt

what does GDB display?