Terminal Canary crashes when i merge a tab to another window #21698

Closed
opened 2026-01-31 07:52:20 +00:00 by claunia · 14 comments
Owner

Originally created by @AvogatoWizardWhisker on GitHub (May 10, 2024).

Windows Terminal version

1.22.1301.0

Windows build number

10.0.26212.5000

Other Software

No response

Steps to reproduce

  1. Open two Windows Terminal windows
  2. Drag a tab from the first window and drop to the second window

https://github.com/microsoft/terminal/assets/89489853/40391e51-7897-46b9-9ec9-a778c09bb151

Expected Behavior

I was expecting the dropped tabs to successfully merge with the first window without hangs or crash.

Actual Behavior

Two strange scenarios happen: Either the first window hangs but I successfully dropped the tab to the second window, or the entire Terminal hangs then crashes.

This doesn't always happen so I keep reproducing the bug. And according to Windows' Reliability History, the faulty module names were Windows.UI.Xaml.dll and Microsoft.Terminal.Control.dll
image
image

I wanted to use Windows Debugger, but I couldn't get anything useful. Maybe I don't have enough experience with it. I'm sorry about that.

Originally created by @AvogatoWizardWhisker on GitHub (May 10, 2024). ### Windows Terminal version 1.22.1301.0 ### Windows build number 10.0.26212.5000 ### Other Software _No response_ ### Steps to reproduce 1. Open two Windows Terminal windows 2. Drag a tab from the first window and drop to the second window https://github.com/microsoft/terminal/assets/89489853/40391e51-7897-46b9-9ec9-a778c09bb151 ### Expected Behavior I was expecting the dropped tabs to successfully merge with the first window without hangs or crash. ### Actual Behavior Two strange scenarios happen: Either the first window hangs but I successfully dropped the tab to the second window, or the entire Terminal hangs then crashes. This doesn't always happen so I keep reproducing the bug. And according to Windows' Reliability History, the faulty module names were `Windows.UI.Xaml.dll` and `Microsoft.Terminal.Control.dll` ![image](https://github.com/microsoft/terminal/assets/89489853/76980e5a-9a7a-4035-ade0-461dbc4a3b33) ![image](https://github.com/microsoft/terminal/assets/89489853/2bd260d8-3e26-4ffa-8fa9-9e4b40f4d172) I wanted to use Windows Debugger, but I couldn't get anything useful. Maybe I don't have enough experience with it. I'm sorry about that.
Author
Owner

@github-actions[bot] commented on GitHub (May 10, 2024):

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@github-actions[bot] commented on GitHub (May 10, 2024): Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! ### Closed similar issues: - [Terminal crashing when dragging the tab (#4453)](https://github.com/microsoft/terminal/issues/4453), similarity score: 0.75 > Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Author
Owner

@tusharsnx commented on GitHub (May 12, 2024):

For some reason closing or tearing off a tab leads to a call to OnCreateAutomationPeer on the TermControl of the next tab (the one receiving the focus after this tab is closed).

OnCreateAutomationPeer seems to originate from XAML:

image

In the case of a single tab terminal window, there is no next tab, so the same tab (being replaced) receives the call. Note that the tab being torn off gets into the "detached" mode and has no _interactivity associated with it. This results in the crash due to null pointer deref:

image

@tusharsnx commented on GitHub (May 12, 2024): For some reason closing or tearing off a tab leads to a call to `OnCreateAutomationPeer` on the `TermControl` of the next tab (the one receiving the focus after this tab is closed). `OnCreateAutomationPeer` seems to originate from XAML: ![image](https://github.com/microsoft/terminal/assets/55626797/de8dc037-2b19-49ef-a2fa-1bbb9bf3a500) In the case of a single tab terminal window, there is no _next_ tab, so the same tab (being replaced) receives the call. Note that the tab being torn off gets into the "detached" mode and has no `_interactivity` associated with it. This results in the crash due to null pointer deref: ![image](https://github.com/microsoft/terminal/assets/55626797/7529efee-69d9-43fd-906c-af089c30d352)
Author
Owner

@AvogatoWizardWhisker commented on GitHub (May 12, 2024):

That makes sense after i ran Windows Debugger on Terminal Canary:

(e670.164b4): Windows Runtime Transform Error - code 40080202 (first chance)
(e670.164b4): C++ EH exception - code e06d7363 (first chance)
onecoreuap\windows\frameworkudk\warppal.cpp(783)\Microsoft.Internal.WarpPal.dll!00007FFA99D0EE4C: (caller: 00007FFA9A1798EA) ReturnHr(4) tid(164b4) 80004002 No such interface supported
onecoreuap\windows\frameworkudk\warppal.cpp(783)\Microsoft.Internal.WarpPal.dll!00007FFA99D0EE4C: (caller: 00007FFA9A1798EA) ReturnHr(5) tid(164b4) 80004002 No such interface supported
onecoreuap\windows\frameworkudk\warppal.cpp(783)\Microsoft.Internal.WarpPal.dll!00007FFA99D0EE4C: (caller: 00007FFA9A1798EA) ReturnHr(6) tid(164b4) 80004002 No such interface supported
onecoreuap\windows\advcore\winrt\onecoreiwindow\corewindow\common\desktopwindowcontentbridge.cpp(540)\Windows.UI.dll!00007FFA89C2C507: (caller: 00007FFA89C2C681) ReturnHr(1) tid(164b4) 8007139F The group or resource is not in the correct state to perform the requested operation.
(e670.164b4): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
Windows_UI_Xaml!DirectUI::DXamlCore::EnsureDragDrop [inlined in Windows_UI_Xaml!<lambda_389d8a62991e0fa55478e04c88286937>::operator()+0xc8]:
00007ffa`895b2444 488b8058010000  mov     rax,qword ptr [rax+158h] ds:00000000`00000158=????????????????
@AvogatoWizardWhisker commented on GitHub (May 12, 2024): That makes sense after i ran Windows Debugger on Terminal Canary: ```onecoreuap\windows\frameworkudk\warppal.cpp(783)\Microsoft.Internal.WarpPal.dll!00007FFA99D0EE4C: (caller: 00007FFA9A1798EA) ReturnHr(3) tid(14fe8) 80004002 No such interface supported (e670.164b4): Windows Runtime Transform Error - code 40080202 (first chance) (e670.164b4): C++ EH exception - code e06d7363 (first chance) onecoreuap\windows\frameworkudk\warppal.cpp(783)\Microsoft.Internal.WarpPal.dll!00007FFA99D0EE4C: (caller: 00007FFA9A1798EA) ReturnHr(4) tid(164b4) 80004002 No such interface supported onecoreuap\windows\frameworkudk\warppal.cpp(783)\Microsoft.Internal.WarpPal.dll!00007FFA99D0EE4C: (caller: 00007FFA9A1798EA) ReturnHr(5) tid(164b4) 80004002 No such interface supported onecoreuap\windows\frameworkudk\warppal.cpp(783)\Microsoft.Internal.WarpPal.dll!00007FFA99D0EE4C: (caller: 00007FFA9A1798EA) ReturnHr(6) tid(164b4) 80004002 No such interface supported onecoreuap\windows\advcore\winrt\onecoreiwindow\corewindow\common\desktopwindowcontentbridge.cpp(540)\Windows.UI.dll!00007FFA89C2C507: (caller: 00007FFA89C2C681) ReturnHr(1) tid(164b4) 8007139F The group or resource is not in the correct state to perform the requested operation. (e670.164b4): Access violation - code c0000005 (first chance) First chance exceptions are reported before any exception handling. This exception may be expected and handled. Windows_UI_Xaml!DirectUI::DXamlCore::EnsureDragDrop [inlined in Windows_UI_Xaml!<lambda_389d8a62991e0fa55478e04c88286937>::operator()+0xc8]: 00007ffa`895b2444 488b8058010000 mov rax,qword ptr [rax+158h] ds:00000000`00000158=???????????????? ```
Author
Owner

@tusharsnx commented on GitHub (May 13, 2024):

Huh, this looks like it fails here:

Windows_UI_Xaml!DirectUI::DXamlCore::EnsureDragDrop [inlined in Windows_UI_Xaml!<lambda_389d8a62991e0fa55478e04c88286937>::operator()+0xc8]

And I can repro this even on #17251 branch. Maybe they are unrelated 🤔

After re-reading this from the first comment:

Two strange scenarios happen: Either the first window hangs but I successfully dropped the tab to the second window, or the entire Terminal hangs then crashes.

I believe there are two crash scenarios:

  1. Drag the only tab in the single-tab terminal window and drop it such that it creates a new window.
  2. Drag the only tab in the single-tab terminal window and drop it into any other terminal window to merge it with that window.

(1) is fatal, crashes the entire process taking down all the running terminal windows, and should be fixed by #17251. But (2) doesn't seem to crash the process or any running windows. You would only see the no-tab window to take a while before it disappears.

I'm going to unlink this issue from #17251 because it doesn't fix all the issues.

@tusharsnx commented on GitHub (May 13, 2024): Huh, this looks like it fails here: > Windows_UI_Xaml!DirectUI::DXamlCore::EnsureDragDrop [inlined in Windows_UI_Xaml!&lt;lambda_389d8a62991e0fa55478e04c88286937&gt;::operator()+0xc8] And I can repro this even on #17251 branch. Maybe they are unrelated 🤔 After re-reading this from the first comment: > Two strange scenarios happen: Either the first window hangs but I successfully dropped the tab to the second window, or the entire Terminal hangs then crashes. I believe there are two crash scenarios: 1. Drag the only tab in the single-tab terminal window and drop it such that it creates a new window. 2. Drag the only tab in the single-tab terminal window and drop it into any other terminal window to merge it with that window. (1) is fatal, crashes the entire process taking down all the running terminal windows, and should be fixed by #17251. But (2) doesn't seem to crash the process or any _running_ windows. You would only see the no-tab window to take a while before it disappears. I'm going to unlink this issue from #17251 because it doesn't fix _all_ the issues.
Author
Owner

@brookst commented on GitHub (May 14, 2024):

Is this issue older than Canary?

I just had Terminal Preview (1.21.1272.0) crash when merging in a tab, though the reported versions don't seem to line up at all:

Faulting application name: WindowsTerminal.exe, version: 1.21.2405.6002, time stamp: 0x66396ac3
Faulting module name: Microsoft.Terminal.Control.dll, version: 1.21.2405.6002, time stamp: 0x66396908
Exception code: 0xc0000005
Fault offset: 0x00000000000f60c9
Faulting process ID: 0x0x18B8
Faulting application start time: 0x0x1DAA601207F96C8
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminalPreview_1.21.1272.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
Faulting module path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminalPreview_1.21.1272.0_x64__8wekyb3d8bbwe\Microsoft.Terminal.Control.dll
Report ID: 2046127b-c89a-446d-9f22-77734d5137be
Faulting package full name: Microsoft.WindowsTerminalPreview_1.21.1272.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App
Description
Faulting Application Path:	C:\Program Files\WindowsApps\Microsoft.WindowsTerminalPreview_1.21.1272.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe

Problem signature
Problem Event Name:	MoAppCrash
Package Full Name:	Microsoft.WindowsTerminalPreview_1.21.1272.0_x64__8wekyb3d8bbwe
Application Name:	praid:App
Application Version:	1.21.2405.6002
Application Timestamp:	66396ac3
Fault Module Name:	Windows.UI.Xaml.dll
Fault Module Version:	10.0.22621.3527
Fault Module Timestamp:	ac70373e
Exception Code:	c0000005
Exception Offset:	000000000041dc17
OS Version:	10.0.22631.2.0.0.768.101
Locale ID:	1033
Additional Information 1:	bee9
Additional Information 2:	bee97536ba640759fac0d38a6ed36481
Additional Information 3:	d7a5
Additional Information 4:	d7a5acd4c1813a34b6cf99e57e6ac9ba

Extra information about the problem
Bucket ID:	2b5e3f6ac22530ac49d0202c4830bf22 (1860022020665818914)
@brookst commented on GitHub (May 14, 2024): Is this issue older than Canary? I just had Terminal Preview (1.21.1272.0) crash when merging in a tab, though the reported versions don't seem to line up at all: ``` Faulting application name: WindowsTerminal.exe, version: 1.21.2405.6002, time stamp: 0x66396ac3 Faulting module name: Microsoft.Terminal.Control.dll, version: 1.21.2405.6002, time stamp: 0x66396908 Exception code: 0xc0000005 Fault offset: 0x00000000000f60c9 Faulting process ID: 0x0x18B8 Faulting application start time: 0x0x1DAA601207F96C8 Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminalPreview_1.21.1272.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe Faulting module path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminalPreview_1.21.1272.0_x64__8wekyb3d8bbwe\Microsoft.Terminal.Control.dll Report ID: 2046127b-c89a-446d-9f22-77734d5137be Faulting package full name: Microsoft.WindowsTerminalPreview_1.21.1272.0_x64__8wekyb3d8bbwe Faulting package-relative application ID: App ``` ``` Description Faulting Application Path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminalPreview_1.21.1272.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe Problem signature Problem Event Name: MoAppCrash Package Full Name: Microsoft.WindowsTerminalPreview_1.21.1272.0_x64__8wekyb3d8bbwe Application Name: praid:App Application Version: 1.21.2405.6002 Application Timestamp: 66396ac3 Fault Module Name: Windows.UI.Xaml.dll Fault Module Version: 10.0.22621.3527 Fault Module Timestamp: ac70373e Exception Code: c0000005 Exception Offset: 000000000041dc17 OS Version: 10.0.22631.2.0.0.768.101 Locale ID: 1033 Additional Information 1: bee9 Additional Information 2: bee97536ba640759fac0d38a6ed36481 Additional Information 3: d7a5 Additional Information 4: d7a5acd4c1813a34b6cf99e57e6ac9ba Extra information about the problem Bucket ID: 2b5e3f6ac22530ac49d0202c4830bf22 (1860022020665818914) ```
Author
Owner

@zadjii-msft commented on GitHub (May 14, 2024):

I mean, canary and preview forked off like, last week, so I'd fully imagine that whatever the root cause of this is, it's in Preview too.

@zadjii-msft commented on GitHub (May 14, 2024): I mean, canary and preview forked off like, last week, so I'd fully imagine that whatever the root cause of this is, it's in Preview too.
Author
Owner

@AvogatoWizardWhisker commented on GitHub (May 14, 2024):

I tried to reproduce the issue again with Windows Debugger and that's what I got. However, this time, Terminal Canary just hangs, and it becomes unresponsive.

(540c.d828): Windows Runtime Transform Error - code 40080202 (first chance)
(540c.d828): C++ EH exception - code e06d7363 (first chance)
onecoreuap\windows\frameworkudk\warppal.cpp(783)\Microsoft.Internal.WarpPal.dll!00007FFF8881EE4C: (caller: 00007FFF89A598EA) ReturnHr(4) tid(d828) 80004002 No such interface supported
onecoreuap\windows\frameworkudk\warppal.cpp(783)\Microsoft.Internal.WarpPal.dll!00007FFF8881EE4C: (caller: 00007FFF89A598EA) ReturnHr(5) tid(d828) 80004002 No such interface supported
onecoreuap\windows\frameworkudk\warppal.cpp(783)\Microsoft.Internal.WarpPal.dll!00007FFF8881EE4C: (caller: 00007FFF89A598EA) ReturnHr(6) tid(d828) 80004002 No such interface supported
(540c.4ea8): Windows Runtime Transform Error - code 40080202 (first chance)
onecoreuap\windows\advcore\winrt\onecoreiwindow\corewindow\common\desktopwindowcontentbridge.cpp(540)\Windows.UI.dll!00007FFF7707C507: (caller: 00007FFF7707C681) ReturnHr(1) tid(d828) 8007139F The group or resource is not in the correct state to perform the requested operation.
(540c.d828): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
Microsoft_Terminal_Control!DllCanUnloadNow+0x37509:
00007ffe`897d6419 488b01          mov     rax,qword ptr [rcx] ds:00000000`00000000=????????????????```
@AvogatoWizardWhisker commented on GitHub (May 14, 2024): I tried to reproduce the issue again with Windows Debugger and that's what I got. However, this time, Terminal Canary just hangs, and it becomes unresponsive. ```onecoreuap\windows\frameworkudk\warppal.cpp(783)\Microsoft.Internal.WarpPal.dll!00007FFF8881EE4C: (caller: 00007FFF89A598EA) ReturnHr(3) tid(e9b0) 80004002 No such interface supported (540c.d828): Windows Runtime Transform Error - code 40080202 (first chance) (540c.d828): C++ EH exception - code e06d7363 (first chance) onecoreuap\windows\frameworkudk\warppal.cpp(783)\Microsoft.Internal.WarpPal.dll!00007FFF8881EE4C: (caller: 00007FFF89A598EA) ReturnHr(4) tid(d828) 80004002 No such interface supported onecoreuap\windows\frameworkudk\warppal.cpp(783)\Microsoft.Internal.WarpPal.dll!00007FFF8881EE4C: (caller: 00007FFF89A598EA) ReturnHr(5) tid(d828) 80004002 No such interface supported onecoreuap\windows\frameworkudk\warppal.cpp(783)\Microsoft.Internal.WarpPal.dll!00007FFF8881EE4C: (caller: 00007FFF89A598EA) ReturnHr(6) tid(d828) 80004002 No such interface supported (540c.4ea8): Windows Runtime Transform Error - code 40080202 (first chance) onecoreuap\windows\advcore\winrt\onecoreiwindow\corewindow\common\desktopwindowcontentbridge.cpp(540)\Windows.UI.dll!00007FFF7707C507: (caller: 00007FFF7707C681) ReturnHr(1) tid(d828) 8007139F The group or resource is not in the correct state to perform the requested operation. (540c.d828): Access violation - code c0000005 (first chance) First chance exceptions are reported before any exception handling. This exception may be expected and handled. Microsoft_Terminal_Control!DllCanUnloadNow+0x37509: 00007ffe`897d6419 488b01 mov rax,qword ptr [rcx] ds:00000000`00000000=????????????????```
Author
Owner

@zadjii-msft commented on GitHub (Aug 20, 2024):

Hey does this still repro on a newer canary / main build? I just tried this again and I can't repro this anymore. I'm branched off 735ef2823, more or less

@zadjii-msft commented on GitHub (Aug 20, 2024): Hey does this still repro on a newer canary / main build? I just tried this again and I can't repro this anymore. I'm branched off 735ef2823, more or less
Author
Owner

@AvogatoWizardWhisker commented on GitHub (Aug 20, 2024):

What's the latest version of the Terminal?

image

@AvogatoWizardWhisker commented on GitHub (Aug 20, 2024): What's the latest version of the Terminal? ![image](https://github.com/user-attachments/assets/693fcd47-6689-4425-8b2f-3bc466b0c166)
Author
Owner

@lhecker commented on GitHub (Aug 20, 2024):

1.22.2321.0 is the latest version at the moment.

@lhecker commented on GitHub (Aug 20, 2024): 1.22.2321.0 is the latest version at the moment.
Author
Owner

@AvogatoWizardWhisker commented on GitHub (Aug 20, 2024):

@zadjii-msft I updated Terminal to 1.22.2321.0 and when I tried to tear the tabs again and it still crashes.

Description
Faulting Application Path:	C:\Program Files\WindowsApps\Microsoft.WindowsTerminalCanary_1.22.2321.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe

Problem signature
Problem Event Name:	MoAppCrash
Package Full Name:	Microsoft.WindowsTerminalCanary_1.22.2321.0_x64__8wekyb3d8bbwe
Application Name:	praid:App
Application Version:	1.22.2408.19001
Application Timestamp:	66c40404
Fault Module Name:	Windows.UI.Xaml.dll
Fault Module Version:	10.0.27686.1000
Fault Module Timestamp:	b1e2596d
Exception Code:	c0000005
Exception Offset:	0000000000c009e8
OS Version:	10.0.27686.2.0.0.256.48
Locale ID:	3072
Additional Information 1:	2020
Additional Information 2:	202023b4d4a61deb672c84a5c55b5fa8
Additional Information 3:	1530
Additional Information 4:	15300c27252d34da19218ed615f4363a

Extra information about the problem
Bucket ID:	b44a43dd00789a6f24a1b79a0cb7fdaf (1486671224275205551)

I'll try to run the Windows Debugger on Terminal Canary and see what's wrong.

Edit: I tried to run Terminal Canary on Windows Debugger. The tabs tear are working just fine, but it's another error. I'm not sure if it's relevant to tabs or not. I hope that helps.

Microsoft (R) Windows Debugger Version 10.0.27668.1000 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.

CommandLine: C:\Program Files\WindowsApps\Microsoft.WindowsTerminalCanary_1.22.2321.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe

************* Path validation summary **************
Response                         Time (ms)     Location
Deferred                                       srv*
Symbol search path is: srv*
Executable search path is: 
ModLoad: 00007ff7`00eb0000 00007ff7`00f4f000   WindowsTerminal.exe
ModLoad: 00007fff`3e080000 00007fff`3e2e1000   ntdll.dll
ModLoad: 00007fff`3d910000 00007fff`3d9d8000   C:\WINDOWS\System32\KERNEL32.DLL
ModLoad: 00007fff`3b8f0000 00007fff`3bc95000   C:\WINDOWS\System32\KERNELBASE.dll
ModLoad: 00007fff`3c230000 00007fff`3c3f4000   C:\WINDOWS\System32\user32.dll
ModLoad: 00007fff`3bec0000 00007fff`3bee7000   C:\WINDOWS\System32\win32u.dll
ModLoad: 00007fff`37940000 00007fff`3794f000   C:\Program Files\WindowsApps\Microsoft.WindowsTerminalCanary_1.22.2321.0_x64__8wekyb3d8bbwe\TerminalThemeHelpers.dll
ModLoad: 00007fff`3de90000 00007fff`3dec3000   C:\WINDOWS\System32\GDI32.dll
ModLoad: 00007fff`3b7a0000 00007fff`3b8ed000   C:\WINDOWS\System32\ucrtbase.dll
ModLoad: 00007fff`3b550000 00007fff`3b66b000   C:\WINDOWS\System32\gdi32full.dll
ModLoad: 00007fff`3c530000 00007fff`3c8ac000   C:\WINDOWS\System32\combase.dll
ModLoad: 00007fff`3b4a0000 00007fff`3b543000   C:\WINDOWS\System32\msvcp_win.dll
ModLoad: 00007fff`3c950000 00007fff`3ca6a000   C:\WINDOWS\System32\RPCRT4.dll
ModLoad: 00007fff`3cc40000 00007fff`3cd13000   C:\WINDOWS\System32\shcore.dll
ModLoad: 00007fff`3d0a0000 00007fff`3d790000   C:\WINDOWS\System32\SHELL32.dll
ModLoad: 00007fff`3cfc0000 00007fff`3d096000   C:\WINDOWS\System32\OLEAUT32.dll
ModLoad: 00007fff`37d00000 00007fff`37dac000   C:\WINDOWS\SYSTEM32\UxTheme.dll
ModLoad: 00007fff`38140000 00007fff`3816e000   C:\WINDOWS\SYSTEM32\dwmapi.dll
(6fcc.bb88): Break instruction exception - code 80000003 (first chance)
ntdll!LdrpDoDebuggerBreak+0x35:
00007fff`3e1a9605 cc              int     3
0:000> g
ModLoad: 00007fff`3c1f0000 00007fff`3c21f000   C:\WINDOWS\System32\IMM32.DLL
ModLoad: 00007fff`3a2c0000 00007fff`3a2da000   C:\WINDOWS\SYSTEM32\kernel.appcore.dll
ModLoad: 00007fff`3df90000 00007fff`3e039000   C:\WINDOWS\System32\msvcrt.dll
ModLoad: 00007fff`3be20000 00007fff`3beb9000   C:\WINDOWS\System32\bcryptPrimitives.dll
ModLoad: 00007fff`3dee0000 00007fff`3df89000   C:\WINDOWS\System32\clbcatq.dll
ModLoad: 00007fff`3c140000 00007fff`3c1e6000   C:\WINDOWS\System32\sechost.dll
ModLoad: 00007fff`39be0000 00007fff`39bfa000   C:\WINDOWS\SYSTEM32\windows.staterepositorycore.dll
ModLoad: 00007ffe`d4e40000 00007ffe`d51a2000   C:\Program Files\WindowsApps\Microsoft.WindowsTerminalCanary_1.22.2321.0_x64__8wekyb3d8bbwe\TerminalApp.dll
ModLoad: 00007fff`3cda0000 00007fff`3cf39000   C:\WINDOWS\System32\ole32.dll
ModLoad: 00007fff`25fd0000 00007fff`26006000   C:\WINDOWS\SYSTEM32\WINMM.dll
ModLoad: 00007fff`29110000 00007fff`2a21f000   C:\Windows\System32\Windows.UI.Xaml.dll
ModLoad: 00007fff`34420000 00007fff`3464e000   C:\Windows\System32\twinapi.appcore.dll
ModLoad: 00007fff`36820000 00007fff`36989000   C:\Windows\System32\WinTypes.dll
ModLoad: 00007fff`2b0b0000 00007fff`2b6e9000   C:\Windows\System32\OneCoreUAPCommonProxyStub.dll
ModLoad: 00007ffe`d3790000 00007ffe`d3988000   C:\Program Files\WindowsApps\Microsoft.WindowsTerminalCanary_1.22.2321.0_x64__8wekyb3d8bbwe\Microsoft.Terminal.Control.dll
ModLoad: 00007fff`18040000 00007fff`182f9000   C:\WINDOWS\SYSTEM32\icu.dll
ModLoad: 00007fff`0a8c0000 00007fff`0acea000   C:\WINDOWS\SYSTEM32\uiautomationcore.dll
ModLoad: 00000256`ad080000 00000256`ad4aa000   C:\WINDOWS\SYSTEM32\uiautomationcore.dll
ModLoad: 00007fff`35160000 00007fff`353c7000   C:\WINDOWS\SYSTEM32\DWrite.dll
ModLoad: 00007fff`35a10000 00007fff`35c6e000   C:\WINDOWS\SYSTEM32\d3d11.dll
ModLoad: 00007fff`353d0000 00007fff`35a0a000   C:\WINDOWS\SYSTEM32\d2d1.dll
ModLoad: 00007fff`37ed0000 00007fff`37ff0000   C:\WINDOWS\SYSTEM32\dxgi.dll
ModLoad: 00007fff`34ca0000 00007fff`35139000   C:\WINDOWS\SYSTEM32\D3DCOMPILER_47.dll
ModLoad: 00007fff`3aae0000 00007fff`3aafc000   C:\WINDOWS\SYSTEM32\cryptsp.dll
ModLoad: 00007fff`38210000 00007fff`38265000   C:\WINDOWS\SYSTEM32\directxdatabasehelper.dll
ModLoad: 00007fff`381c0000 00007fff`38206000   C:\WINDOWS\SYSTEM32\dxcore.dll
ModLoad: 00007fff`3b040000 00007fff`3b091000   C:\WINDOWS\SYSTEM32\cfgmgr32.dll
ModLoad: 00007ffe`99440000 00007ffe`99a23000   C:\Program Files\WindowsApps\Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64__8wekyb3d8bbwe\Microsoft.UI.Xaml.dll
ModLoad: 00007fff`36430000 00007fff`36554000   C:\Windows\System32\CoreMessaging.dll
ModLoad: 00007fff`2a2e0000 00007fff`2a42d000   C:\Windows\System32\Windows.UI.dll
ModLoad: 00007fff`27d40000 00007fff`27f1a000   C:\Windows\System32\InputHost.dll
ModLoad: 00007fff`3d7a0000 00007fff`3d852000   C:\WINDOWS\System32\advapi32.dll
ModLoad: 00007fff`3aac0000 00007fff`3aacc000   C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL
ModLoad: 00007fff`3bef0000 00007fff`3c04a000   C:\WINDOWS\System32\MSCTF.dll
(6fcc.bb88): Windows Runtime Transform Error - code 40080202 (first chance)
ModLoad: 00007fff`0c270000 00007fff`0c34c000   C:\Windows\System32\UiaManager.dll
ModLoad: 00007fff`30d50000 00007fff`30f0d000   C:\Windows\System32\WindowManagementAPI.dll
ModLoad: 00007fff`2f3a0000 00007fff`2f576000   C:\WINDOWS\SYSTEM32\urlmon.dll
ModLoad: 00007fff`2f0d0000 00007fff`2f392000   C:\Windows\System32\iertutil.dll
ModLoad: 00007fff`381c0000 00007fff`38206000   C:\WINDOWS\SYSTEM32\dxcore.dll
ModLoad: 00007fff`38370000 00007fff`38384000   C:\WINDOWS\SYSTEM32\resourcepolicyclient.dll
ModLoad: 00007fff`2a430000 00007fff`2a542000   C:\Windows\System32\MrmCoreR.dll
ModLoad: 00007ffe`72690000 00007ffe`72751000   C:\WINDOWS\System32\DriverStore\FileRepository\nvhmi.inf_amd64_4e18c988a37226b2\nvldumdx.dll
ModLoad: 00007fff`32380000 00007fff`3238b000   C:\WINDOWS\SYSTEM32\VERSION.dll
ModLoad: 00007fff`39b50000 00007fff`39b95000   C:\WINDOWS\SYSTEM32\windows.staterepositoryclient.dll
ModLoad: 00007fff`3ab30000 00007fff`3ab43000   C:\WINDOWS\SYSTEM32\msasn1.dll
ModLoad: 00007fff`2bd50000 00007fff`2bd8b000   C:\WINDOWS\SYSTEM32\cryptnet.dll
ModLoad: 00007fff`3bca0000 00007fff`3be16000   C:\WINDOWS\System32\CRYPT32.dll
ModLoad: 00007fff`3a9f0000 00007fff`3aa4c000   C:\WINDOWS\SYSTEM32\wldp.dll
ModLoad: 00007fff`2ade0000 00007fff`2af4f000   C:\WINDOWS\SYSTEM32\drvstore.dll
ModLoad: 00007fff`3b0a0000 00007fff`3b0cd000   C:\WINDOWS\SYSTEM32\devobj.dll
ModLoad: 00007fff`3b040000 00007fff`3b091000   C:\WINDOWS\SYSTEM32\cfgmgr32.dll
ModLoad: 00000256`ad560000 00000256`ad5b1000   C:\WINDOWS\SYSTEM32\CFGMGR32.dll
ModLoad: 00000256`ad5c0000 00000256`ad611000   C:\WINDOWS\SYSTEM32\cfgmgr32.dll
ModLoad: 00007fff`3b340000 00007fff`3b364000   C:\Windows\System32\profapi.dll
ModLoad: 00007fff`3b420000 00007fff`3b497000   C:\WINDOWS\System32\wintrust.dll
ModLoad: 00007fff`35dd0000 00007fff`35fee000   C:\Windows\System32\dcomp.dll
ModLoad: 00007fff`35140000 00007fff`3515a000   C:\Windows\System32\Microsoft.Internal.WarpPal.dll
ModLoad: 00007fff`3d8e0000 00007fff`3d900000   C:\WINDOWS\System32\imagehlp.dll
ModLoad: 00007fff`2ad60000 00007fff`2ad94000   C:\Windows\System32\bcp47mrm.dll
ModLoad: 00007fff`27fd0000 00007fff`282fc000   C:\WINDOWS\SYSTEM32\Windows.UI.Xaml.Controls.dll
ModLoad: 00007fff`3a220000 00007fff`3a258000   C:\WINDOWS\system32\rsaenh.dll
ModLoad: 00007fff`3acd0000 00007fff`3acf6000   C:\WINDOWS\SYSTEM32\bcrypt.dll
ModLoad: 00007ffe`6d7e0000 00007ffe`6f7ce000   C:\WINDOWS\System32\DriverStore\FileRepository\nvhmi.inf_amd64_4e18c988a37226b2\nvgpucomp64.dll
ModLoad: 00007fff`288e0000 00007fff`28a2b000   C:\Windows\System32\Windows.UI.Immersive.dll
ModLoad: 00007fff`08e20000 00007fff`08e7a000   C:\WINDOWS\system32\DataExchange.dll
ModLoad: 00007fff`20c40000 00007fff`20c8f000   C:\Program Files\WindowsApps\Microsoft.WindowsTerminalCanary_1.22.2321.0_x64__8wekyb3d8bbwe\Microsoft.Terminal.Remoting.dll
ModLoad: 00007fff`263e0000 00007fff`264b8000   C:\Windows\System32\Windows.ApplicationModel.dll
ModLoad: 00007ffe`d3530000 00007ffe`d3784000   C:\Program Files\WindowsApps\Microsoft.WindowsTerminalCanary_1.22.2321.0_x64__8wekyb3d8bbwe\Microsoft.Terminal.Settings.Model.dll
ModLoad: 00007fff`39220000 00007fff`39a44000   C:\WINDOWS\SYSTEM32\windows.storage.dll
ModLoad: 00007fff`39ec0000 00007fff`39ef6000   C:\WINDOWS\SYSTEM32\ntmarta.dll
onecore\base\AppModel\Runtime\Src\PackagePath.hpp(144)\kernelbase.dll!00007FFF3B8FF3B0: (caller: 00007FFF3B97C5CE) ReturnHr(1) tid(bb88) 80073D5B The package does not have a mutable directory.
ModLoad: 00007fff`3c400000 00007fff`3c45d000   C:\WINDOWS\System32\shlwapi.dll
(6fcc.bb88): C++ EH exception - code e06d7363 (first chance)
ModLoad: 00007ffe`e5b70000 00007ffe`e5be1000   C:\Program Files\WindowsApps\Microsoft.WindowsTerminalCanary_1.22.2321.0_x64__8wekyb3d8bbwe\TerminalConnection.dll
ModLoad: 00007fff`32f80000 00007fff`330a6000   C:\WINDOWS\SYSTEM32\WINHTTP.dll
ModLoad: 00007ffe`7cee0000 00007ffe`7cfd8000   C:\ProgramData\Microsoft\VisualStudio\Setup\x64\Microsoft.VisualStudio.Setup.Configuration.Native.dll
ModLoad: 00007fff`16ee0000 00007fff`16f29000   C:\Windows\System32\AppExtension.dll
ModLoad: 00007ffe`653a0000 00007ffe`694bd000   C:\WINDOWS\System32\DriverStore\FileRepository\nvhmi.inf_amd64_4e18c988a37226b2\nvwgf2umx.dll
ModLoad: 00007fff`3b100000 00007fff`3b14e000   C:\WINDOWS\SYSTEM32\powrprof.dll
ModLoad: 00000256`ad720000 00000256`ad76e000   C:\WINDOWS\SYSTEM32\POWRPROF.dll
ModLoad: 00007fff`3b020000 00007fff`3b035000   C:\WINDOWS\SYSTEM32\UMPDC.dll
ModLoad: 00007fff`241d0000 00007fff`24294000   C:\Windows\System32\Windows.StateRepositoryPS.dll
ModLoad: 00007fff`330b0000 00007fff`331d4000   C:\Windows\System32\AppXDeploymentClient.dll
ModLoad: 00007fff`389a0000 00007fff`38a93000   C:\WINDOWS\system32\propsys.dll
ModLoad: 00007fff`25020000 00007fff`250d7000   C:\WINDOWS\System32\StructuredQuery.dll
ModLoad: 00007fff`23c90000 00007fff`23d40000   C:\Windows\System32\Windows.FileExplorer.Common.dll
ModLoad: 00007fff`27f20000 00007fff`27fcc000   C:\WINDOWS\SYSTEM32\TextShaping.dll
ModLoad: 00007fff`067d0000 00007fff`06868000   C:\WINDOWS\SYSTEM32\ntshrui.dll
ModLoad: 00007fff`245f0000 00007fff`24619000   C:\WINDOWS\SYSTEM32\srvcli.dll
ModLoad: 00007fff`18fc0000 00007fff`18fd3000   C:\WINDOWS\SYSTEM32\cscapi.dll
ModLoad: 00007fff`234b0000 00007fff`23592000   C:\WINDOWS\system32\Windows.Storage.Search.dll
ModLoad: 00007fff`02f10000 00007fff`02f3e000   C:\WINDOWS\system32\mssprxy.dll
ModLoad: 00007fff`257a0000 00007fff`257ce000   C:\Windows\System32\cldapi.dll
ModLoad: 00007fff`3a540000 00007fff`3a589000   C:\WINDOWS\SYSTEM32\SspiCli.dll
ModLoad: 00007fff`255a0000 00007fff`255c8000   C:\WINDOWS\SYSTEM32\edputil.dll
ModLoad: 00007fff`21cc0000 00007fff`21e35000   C:\WINDOWS\SYSTEM32\windows.system.launcher.dll
ModLoad: 00007fff`21cc0000 00007fff`21e35000   C:\WINDOWS\SYSTEM32\windows.system.launcher.dll
onecore\base\AppModel\Runtime\Src\PackagePath.hpp(144)\kernelbase.dll!00007FFF3B8FF3B0: (caller: 00007FFF3B97C5CE) ReturnHr(2) tid(bb88) 80073D5B The package does not have a mutable directory.
(6fcc.bb88): Windows Runtime Originate Error - code 40080201 (first chance)
ModLoad: 00007fff`1b250000 00007fff`1b289000   C:\WINDOWS\SYSTEM32\rometadata.dll
ModLoad: 00000256`ada90000 00000256`ada96000   image00000256`ada90000
ModLoad: 00000256`adaa0000 00000256`adab1000   image00000256`adaa0000
C:\__w\1\s\src\cascadia\Remoting\WindowManager.cpp(133)\Microsoft.Terminal.Remoting.dll!00007FFF20C5449E: (caller: 00007FFF20C416F3) LogHr(1) tid(bb88) 80070005 Access is denied.
(6fcc.bb88): Windows Runtime Originate Error - code 40080201 (first chance)
(6fcc.bb88): Windows Runtime Originate Error - code 40080201 (first chance)
ntdll!NtWaitForSingleObject+0x14:
00007fff`3e1e2b54 c3              ret
@AvogatoWizardWhisker commented on GitHub (Aug 20, 2024): @zadjii-msft I updated Terminal to 1.22.2321.0 and when I tried to tear the tabs again and it still crashes. ```` Description Faulting Application Path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminalCanary_1.22.2321.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe Problem signature Problem Event Name: MoAppCrash Package Full Name: Microsoft.WindowsTerminalCanary_1.22.2321.0_x64__8wekyb3d8bbwe Application Name: praid:App Application Version: 1.22.2408.19001 Application Timestamp: 66c40404 Fault Module Name: Windows.UI.Xaml.dll Fault Module Version: 10.0.27686.1000 Fault Module Timestamp: b1e2596d Exception Code: c0000005 Exception Offset: 0000000000c009e8 OS Version: 10.0.27686.2.0.0.256.48 Locale ID: 3072 Additional Information 1: 2020 Additional Information 2: 202023b4d4a61deb672c84a5c55b5fa8 Additional Information 3: 1530 Additional Information 4: 15300c27252d34da19218ed615f4363a Extra information about the problem Bucket ID: b44a43dd00789a6f24a1b79a0cb7fdaf (1486671224275205551) ```` I'll try to run the Windows Debugger on Terminal Canary and see what's wrong. Edit: I tried to run Terminal Canary on Windows Debugger. The tabs tear are working just fine, but it's another error. I'm not sure if it's relevant to tabs or not. I hope that helps. ``` Microsoft (R) Windows Debugger Version 10.0.27668.1000 AMD64 Copyright (c) Microsoft Corporation. All rights reserved. CommandLine: C:\Program Files\WindowsApps\Microsoft.WindowsTerminalCanary_1.22.2321.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe ************* Path validation summary ************** Response Time (ms) Location Deferred srv* Symbol search path is: srv* Executable search path is: ModLoad: 00007ff7`00eb0000 00007ff7`00f4f000 WindowsTerminal.exe ModLoad: 00007fff`3e080000 00007fff`3e2e1000 ntdll.dll ModLoad: 00007fff`3d910000 00007fff`3d9d8000 C:\WINDOWS\System32\KERNEL32.DLL ModLoad: 00007fff`3b8f0000 00007fff`3bc95000 C:\WINDOWS\System32\KERNELBASE.dll ModLoad: 00007fff`3c230000 00007fff`3c3f4000 C:\WINDOWS\System32\user32.dll ModLoad: 00007fff`3bec0000 00007fff`3bee7000 C:\WINDOWS\System32\win32u.dll ModLoad: 00007fff`37940000 00007fff`3794f000 C:\Program Files\WindowsApps\Microsoft.WindowsTerminalCanary_1.22.2321.0_x64__8wekyb3d8bbwe\TerminalThemeHelpers.dll ModLoad: 00007fff`3de90000 00007fff`3dec3000 C:\WINDOWS\System32\GDI32.dll ModLoad: 00007fff`3b7a0000 00007fff`3b8ed000 C:\WINDOWS\System32\ucrtbase.dll ModLoad: 00007fff`3b550000 00007fff`3b66b000 C:\WINDOWS\System32\gdi32full.dll ModLoad: 00007fff`3c530000 00007fff`3c8ac000 C:\WINDOWS\System32\combase.dll ModLoad: 00007fff`3b4a0000 00007fff`3b543000 C:\WINDOWS\System32\msvcp_win.dll ModLoad: 00007fff`3c950000 00007fff`3ca6a000 C:\WINDOWS\System32\RPCRT4.dll ModLoad: 00007fff`3cc40000 00007fff`3cd13000 C:\WINDOWS\System32\shcore.dll ModLoad: 00007fff`3d0a0000 00007fff`3d790000 C:\WINDOWS\System32\SHELL32.dll ModLoad: 00007fff`3cfc0000 00007fff`3d096000 C:\WINDOWS\System32\OLEAUT32.dll ModLoad: 00007fff`37d00000 00007fff`37dac000 C:\WINDOWS\SYSTEM32\UxTheme.dll ModLoad: 00007fff`38140000 00007fff`3816e000 C:\WINDOWS\SYSTEM32\dwmapi.dll (6fcc.bb88): Break instruction exception - code 80000003 (first chance) ntdll!LdrpDoDebuggerBreak+0x35: 00007fff`3e1a9605 cc int 3 0:000> g ModLoad: 00007fff`3c1f0000 00007fff`3c21f000 C:\WINDOWS\System32\IMM32.DLL ModLoad: 00007fff`3a2c0000 00007fff`3a2da000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll ModLoad: 00007fff`3df90000 00007fff`3e039000 C:\WINDOWS\System32\msvcrt.dll ModLoad: 00007fff`3be20000 00007fff`3beb9000 C:\WINDOWS\System32\bcryptPrimitives.dll ModLoad: 00007fff`3dee0000 00007fff`3df89000 C:\WINDOWS\System32\clbcatq.dll ModLoad: 00007fff`3c140000 00007fff`3c1e6000 C:\WINDOWS\System32\sechost.dll ModLoad: 00007fff`39be0000 00007fff`39bfa000 C:\WINDOWS\SYSTEM32\windows.staterepositorycore.dll ModLoad: 00007ffe`d4e40000 00007ffe`d51a2000 C:\Program Files\WindowsApps\Microsoft.WindowsTerminalCanary_1.22.2321.0_x64__8wekyb3d8bbwe\TerminalApp.dll ModLoad: 00007fff`3cda0000 00007fff`3cf39000 C:\WINDOWS\System32\ole32.dll ModLoad: 00007fff`25fd0000 00007fff`26006000 C:\WINDOWS\SYSTEM32\WINMM.dll ModLoad: 00007fff`29110000 00007fff`2a21f000 C:\Windows\System32\Windows.UI.Xaml.dll ModLoad: 00007fff`34420000 00007fff`3464e000 C:\Windows\System32\twinapi.appcore.dll ModLoad: 00007fff`36820000 00007fff`36989000 C:\Windows\System32\WinTypes.dll ModLoad: 00007fff`2b0b0000 00007fff`2b6e9000 C:\Windows\System32\OneCoreUAPCommonProxyStub.dll ModLoad: 00007ffe`d3790000 00007ffe`d3988000 C:\Program Files\WindowsApps\Microsoft.WindowsTerminalCanary_1.22.2321.0_x64__8wekyb3d8bbwe\Microsoft.Terminal.Control.dll ModLoad: 00007fff`18040000 00007fff`182f9000 C:\WINDOWS\SYSTEM32\icu.dll ModLoad: 00007fff`0a8c0000 00007fff`0acea000 C:\WINDOWS\SYSTEM32\uiautomationcore.dll ModLoad: 00000256`ad080000 00000256`ad4aa000 C:\WINDOWS\SYSTEM32\uiautomationcore.dll ModLoad: 00007fff`35160000 00007fff`353c7000 C:\WINDOWS\SYSTEM32\DWrite.dll ModLoad: 00007fff`35a10000 00007fff`35c6e000 C:\WINDOWS\SYSTEM32\d3d11.dll ModLoad: 00007fff`353d0000 00007fff`35a0a000 C:\WINDOWS\SYSTEM32\d2d1.dll ModLoad: 00007fff`37ed0000 00007fff`37ff0000 C:\WINDOWS\SYSTEM32\dxgi.dll ModLoad: 00007fff`34ca0000 00007fff`35139000 C:\WINDOWS\SYSTEM32\D3DCOMPILER_47.dll ModLoad: 00007fff`3aae0000 00007fff`3aafc000 C:\WINDOWS\SYSTEM32\cryptsp.dll ModLoad: 00007fff`38210000 00007fff`38265000 C:\WINDOWS\SYSTEM32\directxdatabasehelper.dll ModLoad: 00007fff`381c0000 00007fff`38206000 C:\WINDOWS\SYSTEM32\dxcore.dll ModLoad: 00007fff`3b040000 00007fff`3b091000 C:\WINDOWS\SYSTEM32\cfgmgr32.dll ModLoad: 00007ffe`99440000 00007ffe`99a23000 C:\Program Files\WindowsApps\Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64__8wekyb3d8bbwe\Microsoft.UI.Xaml.dll ModLoad: 00007fff`36430000 00007fff`36554000 C:\Windows\System32\CoreMessaging.dll ModLoad: 00007fff`2a2e0000 00007fff`2a42d000 C:\Windows\System32\Windows.UI.dll ModLoad: 00007fff`27d40000 00007fff`27f1a000 C:\Windows\System32\InputHost.dll ModLoad: 00007fff`3d7a0000 00007fff`3d852000 C:\WINDOWS\System32\advapi32.dll ModLoad: 00007fff`3aac0000 00007fff`3aacc000 C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL ModLoad: 00007fff`3bef0000 00007fff`3c04a000 C:\WINDOWS\System32\MSCTF.dll (6fcc.bb88): Windows Runtime Transform Error - code 40080202 (first chance) ModLoad: 00007fff`0c270000 00007fff`0c34c000 C:\Windows\System32\UiaManager.dll ModLoad: 00007fff`30d50000 00007fff`30f0d000 C:\Windows\System32\WindowManagementAPI.dll ModLoad: 00007fff`2f3a0000 00007fff`2f576000 C:\WINDOWS\SYSTEM32\urlmon.dll ModLoad: 00007fff`2f0d0000 00007fff`2f392000 C:\Windows\System32\iertutil.dll ModLoad: 00007fff`381c0000 00007fff`38206000 C:\WINDOWS\SYSTEM32\dxcore.dll ModLoad: 00007fff`38370000 00007fff`38384000 C:\WINDOWS\SYSTEM32\resourcepolicyclient.dll ModLoad: 00007fff`2a430000 00007fff`2a542000 C:\Windows\System32\MrmCoreR.dll ModLoad: 00007ffe`72690000 00007ffe`72751000 C:\WINDOWS\System32\DriverStore\FileRepository\nvhmi.inf_amd64_4e18c988a37226b2\nvldumdx.dll ModLoad: 00007fff`32380000 00007fff`3238b000 C:\WINDOWS\SYSTEM32\VERSION.dll ModLoad: 00007fff`39b50000 00007fff`39b95000 C:\WINDOWS\SYSTEM32\windows.staterepositoryclient.dll ModLoad: 00007fff`3ab30000 00007fff`3ab43000 C:\WINDOWS\SYSTEM32\msasn1.dll ModLoad: 00007fff`2bd50000 00007fff`2bd8b000 C:\WINDOWS\SYSTEM32\cryptnet.dll ModLoad: 00007fff`3bca0000 00007fff`3be16000 C:\WINDOWS\System32\CRYPT32.dll ModLoad: 00007fff`3a9f0000 00007fff`3aa4c000 C:\WINDOWS\SYSTEM32\wldp.dll ModLoad: 00007fff`2ade0000 00007fff`2af4f000 C:\WINDOWS\SYSTEM32\drvstore.dll ModLoad: 00007fff`3b0a0000 00007fff`3b0cd000 C:\WINDOWS\SYSTEM32\devobj.dll ModLoad: 00007fff`3b040000 00007fff`3b091000 C:\WINDOWS\SYSTEM32\cfgmgr32.dll ModLoad: 00000256`ad560000 00000256`ad5b1000 C:\WINDOWS\SYSTEM32\CFGMGR32.dll ModLoad: 00000256`ad5c0000 00000256`ad611000 C:\WINDOWS\SYSTEM32\cfgmgr32.dll ModLoad: 00007fff`3b340000 00007fff`3b364000 C:\Windows\System32\profapi.dll ModLoad: 00007fff`3b420000 00007fff`3b497000 C:\WINDOWS\System32\wintrust.dll ModLoad: 00007fff`35dd0000 00007fff`35fee000 C:\Windows\System32\dcomp.dll ModLoad: 00007fff`35140000 00007fff`3515a000 C:\Windows\System32\Microsoft.Internal.WarpPal.dll ModLoad: 00007fff`3d8e0000 00007fff`3d900000 C:\WINDOWS\System32\imagehlp.dll ModLoad: 00007fff`2ad60000 00007fff`2ad94000 C:\Windows\System32\bcp47mrm.dll ModLoad: 00007fff`27fd0000 00007fff`282fc000 C:\WINDOWS\SYSTEM32\Windows.UI.Xaml.Controls.dll ModLoad: 00007fff`3a220000 00007fff`3a258000 C:\WINDOWS\system32\rsaenh.dll ModLoad: 00007fff`3acd0000 00007fff`3acf6000 C:\WINDOWS\SYSTEM32\bcrypt.dll ModLoad: 00007ffe`6d7e0000 00007ffe`6f7ce000 C:\WINDOWS\System32\DriverStore\FileRepository\nvhmi.inf_amd64_4e18c988a37226b2\nvgpucomp64.dll ModLoad: 00007fff`288e0000 00007fff`28a2b000 C:\Windows\System32\Windows.UI.Immersive.dll ModLoad: 00007fff`08e20000 00007fff`08e7a000 C:\WINDOWS\system32\DataExchange.dll ModLoad: 00007fff`20c40000 00007fff`20c8f000 C:\Program Files\WindowsApps\Microsoft.WindowsTerminalCanary_1.22.2321.0_x64__8wekyb3d8bbwe\Microsoft.Terminal.Remoting.dll ModLoad: 00007fff`263e0000 00007fff`264b8000 C:\Windows\System32\Windows.ApplicationModel.dll ModLoad: 00007ffe`d3530000 00007ffe`d3784000 C:\Program Files\WindowsApps\Microsoft.WindowsTerminalCanary_1.22.2321.0_x64__8wekyb3d8bbwe\Microsoft.Terminal.Settings.Model.dll ModLoad: 00007fff`39220000 00007fff`39a44000 C:\WINDOWS\SYSTEM32\windows.storage.dll ModLoad: 00007fff`39ec0000 00007fff`39ef6000 C:\WINDOWS\SYSTEM32\ntmarta.dll onecore\base\AppModel\Runtime\Src\PackagePath.hpp(144)\kernelbase.dll!00007FFF3B8FF3B0: (caller: 00007FFF3B97C5CE) ReturnHr(1) tid(bb88) 80073D5B The package does not have a mutable directory. ModLoad: 00007fff`3c400000 00007fff`3c45d000 C:\WINDOWS\System32\shlwapi.dll (6fcc.bb88): C++ EH exception - code e06d7363 (first chance) ModLoad: 00007ffe`e5b70000 00007ffe`e5be1000 C:\Program Files\WindowsApps\Microsoft.WindowsTerminalCanary_1.22.2321.0_x64__8wekyb3d8bbwe\TerminalConnection.dll ModLoad: 00007fff`32f80000 00007fff`330a6000 C:\WINDOWS\SYSTEM32\WINHTTP.dll ModLoad: 00007ffe`7cee0000 00007ffe`7cfd8000 C:\ProgramData\Microsoft\VisualStudio\Setup\x64\Microsoft.VisualStudio.Setup.Configuration.Native.dll ModLoad: 00007fff`16ee0000 00007fff`16f29000 C:\Windows\System32\AppExtension.dll ModLoad: 00007ffe`653a0000 00007ffe`694bd000 C:\WINDOWS\System32\DriverStore\FileRepository\nvhmi.inf_amd64_4e18c988a37226b2\nvwgf2umx.dll ModLoad: 00007fff`3b100000 00007fff`3b14e000 C:\WINDOWS\SYSTEM32\powrprof.dll ModLoad: 00000256`ad720000 00000256`ad76e000 C:\WINDOWS\SYSTEM32\POWRPROF.dll ModLoad: 00007fff`3b020000 00007fff`3b035000 C:\WINDOWS\SYSTEM32\UMPDC.dll ModLoad: 00007fff`241d0000 00007fff`24294000 C:\Windows\System32\Windows.StateRepositoryPS.dll ModLoad: 00007fff`330b0000 00007fff`331d4000 C:\Windows\System32\AppXDeploymentClient.dll ModLoad: 00007fff`389a0000 00007fff`38a93000 C:\WINDOWS\system32\propsys.dll ModLoad: 00007fff`25020000 00007fff`250d7000 C:\WINDOWS\System32\StructuredQuery.dll ModLoad: 00007fff`23c90000 00007fff`23d40000 C:\Windows\System32\Windows.FileExplorer.Common.dll ModLoad: 00007fff`27f20000 00007fff`27fcc000 C:\WINDOWS\SYSTEM32\TextShaping.dll ModLoad: 00007fff`067d0000 00007fff`06868000 C:\WINDOWS\SYSTEM32\ntshrui.dll ModLoad: 00007fff`245f0000 00007fff`24619000 C:\WINDOWS\SYSTEM32\srvcli.dll ModLoad: 00007fff`18fc0000 00007fff`18fd3000 C:\WINDOWS\SYSTEM32\cscapi.dll ModLoad: 00007fff`234b0000 00007fff`23592000 C:\WINDOWS\system32\Windows.Storage.Search.dll ModLoad: 00007fff`02f10000 00007fff`02f3e000 C:\WINDOWS\system32\mssprxy.dll ModLoad: 00007fff`257a0000 00007fff`257ce000 C:\Windows\System32\cldapi.dll ModLoad: 00007fff`3a540000 00007fff`3a589000 C:\WINDOWS\SYSTEM32\SspiCli.dll ModLoad: 00007fff`255a0000 00007fff`255c8000 C:\WINDOWS\SYSTEM32\edputil.dll ModLoad: 00007fff`21cc0000 00007fff`21e35000 C:\WINDOWS\SYSTEM32\windows.system.launcher.dll ModLoad: 00007fff`21cc0000 00007fff`21e35000 C:\WINDOWS\SYSTEM32\windows.system.launcher.dll onecore\base\AppModel\Runtime\Src\PackagePath.hpp(144)\kernelbase.dll!00007FFF3B8FF3B0: (caller: 00007FFF3B97C5CE) ReturnHr(2) tid(bb88) 80073D5B The package does not have a mutable directory. (6fcc.bb88): Windows Runtime Originate Error - code 40080201 (first chance) ModLoad: 00007fff`1b250000 00007fff`1b289000 C:\WINDOWS\SYSTEM32\rometadata.dll ModLoad: 00000256`ada90000 00000256`ada96000 image00000256`ada90000 ModLoad: 00000256`adaa0000 00000256`adab1000 image00000256`adaa0000 C:\__w\1\s\src\cascadia\Remoting\WindowManager.cpp(133)\Microsoft.Terminal.Remoting.dll!00007FFF20C5449E: (caller: 00007FFF20C416F3) LogHr(1) tid(bb88) 80070005 Access is denied. (6fcc.bb88): Windows Runtime Originate Error - code 40080201 (first chance) (6fcc.bb88): Windows Runtime Originate Error - code 40080201 (first chance) ntdll!NtWaitForSingleObject+0x14: 00007fff`3e1e2b54 c3 ret ```
Author
Owner

@medlir commented on GitHub (Oct 17, 2024):

Still impacting 1.21.2361.0 currently, and can dupllicate in Terminal Preview 1.22.2702.0 as well. Have been slowly trying to transition from using WindowTabs with Cygwin mintty to hosting Cygwin bash in Windows Terminal directly, and twice now in the last 3 weeks I've accidentally dragged a single tab out of a group of tabs, and then after dragging the single tab back into the group, a second or two later everything freezes and crashes and takes all my work with it. The latest error and dump summaries from 1.21.2361.0 on my laptop:

Faulting module name: Microsoft.Terminal.Control.dll, version: 1.21.2408.23001, time stamp: 0x66c8f288
Exception code: 0xc0000005
Fault offset: 0x00000000000727b1
Faulting process id: 0x5cbc
Faulting application start time: 0x01db10562a75b9bb
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.21.2361.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
Faulting module path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.21.2361.0_x64__8wekyb3d8bbwe\Microsoft.Terminal.Control.dll
Report Id: 7e584ae8-f2fa-4464-9ddf-4cabbb23ec67
Faulting package full name: Microsoft.WindowsTerminal_1.21.2361.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App

WindowsTerminal.exe.5716.dmp-summary.txt
WindowsTerminal.exe.23740.dmp-summary.txt

Installed Terminal Preview 1.22.2702.0 on my desktop and was able to duplicate immediately by just opening a Powershell tab, a couple cmd tabs, and a handful of Cygwin bash tabs then dragging a middle tab out of the group, dragged it back into the group and started typing in the newly re-grouped tab which froze mid-typing after a couple seconds, followed by it crashing all tabs and the container window a couple seconds after that. That error from my desktop and crash dump summary:

Faulting module name: Microsoft.Terminal.Control.dll, version: 1.22.2409.26002, time stamp: 0x66f5c790
Exception code: 0xc0000005
Fault offset: 0x0000000000069741
Faulting process id: 0x9ff4
Faulting application start time: 0x01db20db7fdcbb86
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminalPreview_1.22.2702.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
Faulting module path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminalPreview_1.22.2702.0_x64__8wekyb3d8bbwe\Microsoft.Terminal.Control.dll
Report Id: e221728d-13bc-436a-83d1-800eab748263
Faulting package full name: Microsoft.WindowsTerminalPreview_1.22.2702.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App

WindowsTerminal.exe.40948.dmp-summary.txt

@medlir commented on GitHub (Oct 17, 2024): Still impacting 1.21.2361.0 currently, and can dupllicate in Terminal Preview 1.22.2702.0 as well. Have been slowly trying to transition from using WindowTabs with Cygwin mintty to hosting Cygwin bash in Windows Terminal directly, and twice now in the last 3 weeks I've accidentally dragged a single tab out of a group of tabs, and then after dragging the single tab back into the group, a second or two later everything freezes and crashes and takes all my work with it. The latest error and dump summaries from 1.21.2361.0 on my laptop: ```Faulting application name: WindowsTerminal.exe, version: 1.21.2408.23001, time stamp: 0x66c8f3fe Faulting module name: Microsoft.Terminal.Control.dll, version: 1.21.2408.23001, time stamp: 0x66c8f288 Exception code: 0xc0000005 Fault offset: 0x00000000000727b1 Faulting process id: 0x5cbc Faulting application start time: 0x01db10562a75b9bb Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.21.2361.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe Faulting module path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.21.2361.0_x64__8wekyb3d8bbwe\Microsoft.Terminal.Control.dll Report Id: 7e584ae8-f2fa-4464-9ddf-4cabbb23ec67 Faulting package full name: Microsoft.WindowsTerminal_1.21.2361.0_x64__8wekyb3d8bbwe Faulting package-relative application ID: App ``` [WindowsTerminal.exe.5716.dmp-summary.txt](https://github.com/user-attachments/files/17422946/WindowsTerminal.exe.5716.dmp-summary.txt) [WindowsTerminal.exe.23740.dmp-summary.txt](https://github.com/user-attachments/files/17422947/WindowsTerminal.exe.23740.dmp-summary.txt) Installed Terminal Preview 1.22.2702.0 on my desktop and was able to duplicate immediately by just opening a Powershell tab, a couple cmd tabs, and a handful of Cygwin bash tabs then dragging a middle tab out of the group, dragged it back into the group and started typing in the newly re-grouped tab which froze mid-typing after a couple seconds, followed by it crashing all tabs and the container window a couple seconds after that. That error from my desktop and crash dump summary: ```Faulting application name: WindowsTerminal.exe, version: 1.22.2409.26002, time stamp: 0x66f5c904 Faulting module name: Microsoft.Terminal.Control.dll, version: 1.22.2409.26002, time stamp: 0x66f5c790 Exception code: 0xc0000005 Fault offset: 0x0000000000069741 Faulting process id: 0x9ff4 Faulting application start time: 0x01db20db7fdcbb86 Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminalPreview_1.22.2702.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe Faulting module path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminalPreview_1.22.2702.0_x64__8wekyb3d8bbwe\Microsoft.Terminal.Control.dll Report Id: e221728d-13bc-436a-83d1-800eab748263 Faulting package full name: Microsoft.WindowsTerminalPreview_1.22.2702.0_x64__8wekyb3d8bbwe Faulting package-relative application ID: App ``` [WindowsTerminal.exe.40948.dmp-summary.txt](https://github.com/user-attachments/files/17423221/WindowsTerminal.exe.40948.dmp-summary.txt)
Author
Owner

@carlos-zamora commented on GitHub (Jan 15, 2025):

Thanks for the info! Is this still occurring on WT Canary /? We've made some changes to that area fairly recently.

@carlos-zamora commented on GitHub (Jan 15, 2025): Thanks for the info! Is this still occurring on [WT Canary](https://github.com/microsoft/terminal#installing-windows-terminal-canary) /? We've made some changes to that area fairly recently.
Author
Owner

@AvogatoWizardWhisker commented on GitHub (Jan 15, 2025):

Thanks for the info! Is this still occurring on WT Canary /? We've made some changes to that area fairly recently.

I tested it in version 1.23.10101.0 and picks and merged tabs. It doesn't crash for now. Thanks for the effort.

@AvogatoWizardWhisker commented on GitHub (Jan 15, 2025): > Thanks for the info! Is this still occurring on [WT Canary](https://github.com/microsoft/terminal#installing-windows-terminal-canary) /? We've made some changes to that area fairly recently. I tested it in version `1.23.10101.0` and picks and merged tabs. It doesn't crash for now. Thanks for the effort.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21698