Heap Corruption (0xc0000374) crash when closing terminal window #18330
Labels
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Windows Terminal version
1.21.3231.0
Windows build number
10.0.26100.0
Other Software
No response
Steps to reproduce
Expected Behavior
Windows Terminal should close cleanly without any crashes.
Actual Behavior
Terminal crashes during shutdown with heap corruption error (0xc0000374).
Crash analysis from dump file shows:
Error Code: 0xc0000374 (Heap Corruption)
FAILURE_BUCKET_ID: HEAP_CORRUPTION_c0000374_ucrtbase.dll!_free_base
Crash occurs during UI cleanup (TabView, ScrollView components)
Stack trace indicates the issue happens during memory deallocation in ucrtbase.dll
Full stack trace and crash dump analysis:
The crash consistently happens during the cleanup phase when closing the terminal window, specifically when deallocating UI components' memory.
The text was updated successfully, but these errors were encountered: