Subject: bug#70914: 29.3; Crashes often on Windows

From: Eli Zaretskii <[email-masked]>
Date: Tue, 21 May 2024 17:06:10 +0300

> From: Simen Endsjø <[email-masked]>
> Date: Mon, 20 May 2024 22:28:11 +0200
> Cc: [email-masked], [email-masked]
> 
> Not sure if I understood your instructions as my output is somewhat different
> 
>     Reading symbols from
> D:\tmp\emacs-bug-70914\emacs-extra-checks-no-ucrt\simendsjo-build\bin\emacs.exe...
>     (gdb) catch load
>     Catchpoint 1 (load)
>     (gdb) commands
>     Type commands for breakpoint(s) 1, one per line.
>     End with a line saying just "end".
>     >continue
>     >end
>     (gdb) run --init-directory=d:/.emacs.d
>     Starting program:
> D:\tmp\emacs-bug-70914\emacs-extra-checks-no-ucrt\simendsjo-build\bin\emacs.exe
> --init-directory=d:/.emacs.d
> 
> (.. snip ..)
> 
>     Thread 19 "pool" hit Catchpoint 1
>       Inferior loaded C:\Windows\System32\Windows.FileExplorer.Common.dll
>     0x00007fffef7cfe54 in ntdll!ZwMapViewOfSection () from
> C:\WINDOWS\SYSTEM32\ntdll.dll
> 
>     Thread 19 "pool" hit Catchpoint 1
>       Inferior loaded C:\WINDOWS\system32\propsys.dll
>     0x00007fffef7cfe54 in ntdll!ZwMapViewOfSection () from
> C:\WINDOWS\SYSTEM32\ntdll.dll
> 
>     Thread 19 "pool" hit Catchpoint 1
>       Inferior loaded C:\WINDOWS\SYSTEM32\apphelp.dll
>     0x00007fffef7cfe54 in ntdll!ZwMapViewOfSection () from
> C:\WINDOWS\SYSTEM32\ntdll.dll
> 
>     Thread 19 "pool" hit Catchpoint 1
>       Inferior loaded C:\WINDOWS\system32\networkexplorer.dll
>     0x00007fffef7cfe54 in ntdll!ZwMapViewOfSection () from
> C:\WINDOWS\SYSTEM32\ntdll.dll
>     [New Thread 10032.0x6d40]
>     [Switching to Thread 10032.0x6d40]
> 
>     Thread 21 hit Catchpoint 1
>       Inferior loaded C:\WINDOWS\system32\mssprxy.dll
>     0x00007fffef7cfe54 in ntdll!ZwMapViewOfSection () from
> C:\WINDOWS\SYSTEM32\ntdll.dll
> 
>     Thread 21 hit Catchpoint 1
>       Inferior loaded C:\WINDOWS\SYSTEM32\Windows.StateRepositoryClient.dll
>     0x00007fffef7cfe54 in ntdll!ZwMapViewOfSection () from
> C:\WINDOWS\SYSTEM32\ntdll.dll
>     [New Thread 10032.0x619c]
>     [Thread 10032.0x619c exited with code 1]
>     [New Thread 10032.0x7688]
>     [Thread 10032.0x7688 exited with code 1]
>     [New Thread 10032.0x30f0]
>     [Thread 10032.0x30f0 exited with code 1]
>     [New Thread 10032.0x5538]
>     [Thread 10032.0x5538 exited with code 1]
> 
>     Thread 1 received signal SIGSEGV, Segmentation fault.
>     [Switching to Thread 10032.0xb08]
>     0x0000000000000000 in ?? ()

Thanks.  But these are all loaded by threads other than thread 1,
which is the Emacs's main thread.  Could you please show the last few
DLLs loaded by thread 1?