Closed tusharsnx closed 6 months ago
In debug build on main
, Closing a tab with the "❌" button also leads to the same crashing behavior. This is not reproducible on the latest Canary build (maybe due to release vs debug build?)
Exception: Unhandled exception at 0x00007FFDD7FBEBDF (ntdll.dll) in WindowsTerminal.exe: Indirect call guard check detected invalid control transfer.
The exception is thrown at this if
's scope exit:
Indirect call guard check detected invalid control transfer.
Hmm, this is just a hunch, and I apologize for your SSD 😣, but could you try cleaning the entire solution and building it again?
Some of us had this issue happen before and back then it could be resolved with a clean build. My suspicion is that the build system doesn't properly invalidate some compiled objects which results in mismatched vtables.
@lhecker Thanks for the info. I'll try doing a clean build next time.
I'm also curious why Canary might crash on tab tear-off 🤔
FWIW I can repro the tear-off crash on my own canary 21.991 (and after upgrading, my 21.1011) here as well. So, it's definitely not just a clean build problem.
Windows Terminal version
1.21.991.0
Windows build number
10.0.22631.0
Other Software
No response
Steps to reproduce
Expected Behavior
The tab is opened in a new WT window.
Actual Behavior
WT crashes.