Closed
Description
Windows Terminal version
1.20.11781.0
Windows build number
10.0.22631.4317
Other Software
No response
Steps to reproduce
Not sure how to repro, I had this crash multiple times, got me by surprise because I had some batch working and I didn't understand where it went.
I suspect it's related to quake mode (Win+`) which was also difficult to disable, no option in the gui, had to edit json.
The terminal sometimes can run important jobs, if it's killed, it'd be better to have it relaunch or at least reopen in the old cmd, but not kill the underlying job only because some gui failed.
Expected Behavior
No response
Actual Behavior
Crash stack trace, I hope it's enough to understand the problem.
# Child-SP RetAddr Call Site
00 00000018`92aff3d0 00007ff7`986743d6 ntdll!RtlAcquireSRWLockExclusive+0x10
01 (Inline Function) --------`-------- WindowsTerminal!winrt::slim_mutex::lock+0x9 [C:\__w\1\s\src\cascadia\WindowsTerminal\Generated Files\winrt\base.h @ 1615]
02 (Inline Function) --------`-------- WindowsTerminal!winrt::slim_lock_guard::{ctor}+0x9 [C:\__w\1\s\src\cascadia\WindowsTerminal\Generated Files\winrt\base.h @ 1659]
03 00000018`92aff440 00007ff7`98677016 WindowsTerminal!winrt::event<winrt::delegate<void __cdecl(winrt::Microsoft::Terminal::Remoting::SummonWindowSelectionArgs)> >::operator()<winrt::Microsoft::Terminal::Remoting::SummonWindowSelectionArgs>+0x3e [C:\__w\1\s\src\cascadia\WindowsTerminal\Generated Files\winrt\base.h @ 6036]
04 00000018`92aff480 00007ff7`98656235 WindowsTerminal!NotificationIcon::MenuItemSelected+0x2b2 [C:\__w\1\s\src\cascadia\WindowsTerminal\NotificationIcon.cpp @ 234]
05 (Inline Function) --------`-------- WindowsTerminal!WindowEmperor::_messageHandler+0x16c76 [C:\__w\1\s\src\cascadia\WindowsTerminal\WindowEmperor.cpp @ 450]
06 00000018`92aff560 00007ffc`3ddd83f1 WindowsTerminal!WindowEmperor::_wndProc+0x16cb5 [C:\__w\1\s\src\cascadia\WindowsTerminal\WindowEmperor.cpp @ 386]
07 00000018`92aff5e0 00007ffc`3ddd7eb1 user32!UserCallWinProcCheckWow+0x2d1
08 00000018`92aff740 00007ffc`1e6840ca user32!DispatchMessageWorker+0x1f1
0a (Inline Function) --------`-------- WindowsTerminal!WindowEmperor::WaitForWindows+0x4c [C:\__w\1\s\src\cascadia\WindowsTerminal\WindowEmperor.cpp @ 128]
0b 00000018`92aff7f0 00007ff7`9863e2a6 WindowsTerminal!WindowEmperor::HandleCommandlineArgs+0x520 [C:\__w\1\s\src\cascadia\WindowsTerminal\WindowEmperor.cpp @ 102]
0c 00000018`92affad0 00007ff7`986427f2 WindowsTerminal!wWinMain+0x166 [C:\__w\1\s\src\cascadia\WindowsTerminal\main.cpp @ 118]
0d (Inline Function) --------`-------- WindowsTerminal!invoke_main+0x21 [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 118]
0e 00000018`92affbb0 00007ffc`3d94257d WindowsTerminal!__scrt_common_main_seh+0x106 [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 288]
0f 00000018`92affbf0 00007ffc`3e1eaf08 kernel32!BaseThreadInitThunk+0x1d
10 00000018`92affc20 00000000`00000000 ntdll!RtlUserThreadStart+0x28