Description
Windows Terminal version
1.23.10353.0
Windows build number
22631.4890
Other Software
No response
Steps to reproduce
I don't know what is causing it. For me it happens right now any time I try to open the terminal in any way at all.
Expected Behavior
The terminal opens and does not peg a CPU core.
Actual Behavior
As of today, my Windows Terminal Preview build has started hanging on every startup, spinning the CPU. I also noticed similar behavior with Terminal Canary starting several months ago, so I had to switch to Preview which was working at the time... But now Preview also has the same behavior...
I am now debugging it with windbg, and it seems this thread has the highest usage:
If we let it run and randomly break now and then we see a similar stack trace every time with a call to TerminalApp!Pane::LayoutSizeNode::operator=
That leaves me to believe this is some kind of endless loop somewhere within this call trace.
I have firstWindowPreference": "persistedWindowLayout"
enabled in my config. Here is redacted version of my state.json
file:
{
"dismissedMessages" :
[
"deprecated",
"closeOnExitInfo"
],
"generatedProfiles" :
[
"{REDACTED}",
"{REDACTED}",
"{REDACTED}",
"{REDACTED}"
],
"persistedWindowLayouts" :
[
{
"initialPosition" : "0,-14",
"initialSize" :
{
"height" : 880.4444580078125,
"width" : 1536
},
"launchMode" : "maximized",
"tabLayout" :
[
{
"action" : "newTab",
"commandline" : "REDACTED",
"profile" : "REDACTED",
"sessionId" : "{REDACTED}",
"startingDirectory" : "REDACTED",
"suppressApplicationTitle" : false,
"tabTitle" : "REDACTED"
},
{
"action" : "splitPane",
"commandline" : "REDACTED",
"profile" : "REDACTED",
"sessionId" : "{REDACTED}",
"size" : 0.5,
"split" : "right",
"splitMode" : "manual",
"startingDirectory" : "REDACTED",
"suppressApplicationTitle" : false,
"tabTitle" : "REDACTED"
},
{
"action" : "splitPane",
"commandline" : "REDACTED",
"profile" : "REDACTED",
"sessionId" : "{REDACTED}",
"size" : 0.5,
"split" : "down",
"splitMode" : "manual",
"startingDirectory" : "REDACTED",
"suppressApplicationTitle" : false,
"tabTitle" : "REDACTED"
},
{
"action" : "focusPane",
"id" : 0
},
"togglePaneZoom",
{
"action" : "newTab",
"commandline" : "REDACTED",
"profile" : "REDACTED",
"sessionId" : "{REDACTED}",
"startingDirectory" : "REDACTED",
"suppressApplicationTitle" : false,
"tabTitle" : "REDACTED"
},
{
"action" : "switchToTab",
"index" : 0
}
]
}
],
"recentCommands" :
[
"ls"
],
"settingsHash" : "REDACTED"
}
Activity