-
Notifications
You must be signed in to change notification settings - Fork 8.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terminal or Terminal Preview crashes when dragging a tab #16326
Comments
In the Event Viewer, has this error: Windows Terminal Preview
Windows Terminal
I have reinstalled the app several times and the problem continues. |
I generated the Debug ETL Trace. |
Just to try and clarify: Does the terminal fail to launch? Or does it launch, and crash when you try dragging a tab/?
my own notes:
Any chances that you've got the Terminal configured to open the tabs from a previous session, and those tabs included a Settings tab? That's my only thought as to why you might be seeing a nav view crash... |
Hello @zadjii-msft! Thanks for your help. If I launch the Terminal or the Terminal Preview from the Start Menu or Store, the app fails to launch and generates an item in the Event Viewer. However, if I run "cmd" in the "Run" option (Win + R), the Terminal (or Terminal Preview) opens the prompt correctly. But, I cannot open more tabs - the app closes unexpectedly. I don't have BeyondTrust installed on my machine. Before I tried disabling WER, the Terminal or Terminal Preview app was working correctly. How can I check if my Terminal was configured to open the previous session? I don't remember enabling this feature... |
This for sure is a confusing one! Especially something like
That's definitely not something that should be happening! Can you try filing /feedback with Feedback Hub, and make sure to "Recreate my problem"? Hopefully that'll give us a dump that's got more info in it |
Hello @zadjii-msft! I just reproduced the issue again and submitted it via the "Feedback Hub": https://aka.ms/AAny7ni Here are some additional pieces of information that I believe are important: I had to format my computer and reinstall Windows because other strange issues started occurring after a Windows Insider update failed to install. After reinstalling Windows, I did not enable Windows Insider, and I did not attempt to disable Windows Error Reporting. Unfortunately, the problem I reported in this issue has recurred. Details of my computer are as follows: Thank you! |
Hello guys! Is there an estimated timeline for the resolution of the Windows Terminal issue? Additionally, is any further information required to assist in the troubleshooting process? Thanks, |
Sorry no, we don't have any sort of timeframe for a fix here. As it stands, it kinda seems like you're the only one hitting this, and I couldn't figure it out just looking at the crash dumps we got. Ironically, with error reporting disabled, there's no real dumps or... seemingly anything I can find from your machine 🤷 note to self:
|
Hello @zadjii-msft. Thanks a lot for your help. About the error message in the Event Log:
Is there anything I can do to resolve this? For example: reinstall the XAML library, register the .dll again... Thanks! |
|
Okay that looks like "open with tabs from previous session" and "make a new window" (if my high school spanish is applicable literally at all here 🙄) So this isn't just "Terminal crashes when dragging a tab", it's fully "Terminal crashes when opening a second tab". But this also started in 2023 so it's not the latest crop of compiler issues we've been fighting through. Hmm. |
@zadjii-msft I'm using the default configuration, because I had uninstalled the Terminal last week and reinstalled it today. See my settings, now in English (previously in pt-br): This issue has two behaviors:
|
Well okay that does differentiate at least one part here. Connections that are created for "default terminal" ("defterm") invocations seem to work for you. But Terminal-initiated connections don't. This vaguely makes me think of #16747 for whatever reason. From that thread:
Another idea: does Footnotes
|
Result of
Running Using the 1.20 preview, the problem also occurs. |
WEIRD. I bet this IS the same thing!
These guys stand out on a first scan - they're not just |
Are you a MacType user per chance? |
Hello @zadjii-msft! Thanks for your help. What's the correct or recommended folders for these user environment variables: TEMP and TMP?
"8.3 paths"? Can you explain, please?
|
Hello @DHowett! Are you referring to this MacType? https://www.mactype.net/ No, I don't use it. |
Honestly, I don't even know. These predate my own familiarity with computers. But wikipedia's got a overview: https://en.wikipedia.org/wiki/8.3_filename
tbh I would have thought that those paths should work. I'm more gluing together two half thoughts:
Hence why I'm thinking there's a bug here in the nexus of all this. I honestly wouldn't expect the TMP vars to be 8.3 paths, I thought they'd just be normal paths? So switching them to |
@zadjii-msft Apparently, my user environment variables are configured correctly: I took this screenshot in the 'System Properties' dialog box, under the 'Advanced' tab, by clicking the 'Environment Variables' button. |
Hmm.
|
Oh I had a thought: Not necessarily a root cause, but a way to mitigate the pain here. You should be able to add |
This was my issue! Thanks! |
Hey! Looping back on this. There's been a lot of changes since this version. Please file a new bug if it's still occurring. Thanks! |
Windows Terminal version
1.19.3172.0
Windows build number
11.22631.2506
Other Software
No response
Steps to reproduce
Disable-WindowsErrorReporting
into PowershellThis problem started after disabling the WER service. I didn't update Windows or the app.
Expected Behavior
App working correctly.
Actual Behavior
The application no longer opens. I was enabled WER again (running
Enable-WindowsErrorReporting
and restarted Windows). But, the problem remains.The text was updated successfully, but these errors were encountered: