microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
95.24k stars 8.27k forks source link

Terminal close immediately after open #17086

Closed PororoManon closed 5 months ago

PororoManon commented 5 months ago

Windows Terminal version

1.19.10821.0

Windows build number

10.0.22631.0

Other Software

-

Steps to reproduce

Dont know how to reproduce it, because it suddenly happens. I do nothing on my terminal other than do npm run/build, and ssh to my local server.

Expected Behavior

No response

Actual Behavior

It close immediately after I open it, either through CMD, pwsh or git bash. To make sure its not corrupted or something, I already reinstall it from microsoft store.

https://github.com/microsoft/terminal/assets/148423664/58604394-95c4-430a-a61b-254d3e89fc7f

github-actions[bot] commented 5 months ago

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.

PororoManon commented 5 months ago

I have try the closed similar issues (install the .msixbundle). yes it works, but I cant call it through cmd or pwsh.

carlos-zamora commented 5 months ago

I have try the closed similar issues (install the .msixbundle). yes it works, but I cant call it through cmd or pwsh.

Can you record another video with the new issue you're seeing /?

PororoManon commented 5 months ago

Can you record another video with the new issue you're seeing /?

still same as video I record before. but now I can open Terminal app and it show PowerShell, because I set PowerShell as default. but if I open CMD or PWSH from search, Terminal open and close immediately.

sorry for my bad english, hope you understant what I mean. :D

PororoManon commented 5 months ago

Oh... now I can't open the Terminal app either. Last time, I installed a .msixbundle and the Terminal was able to open. heres the video

https://github.com/microsoft/terminal/assets/148423664/4e444f43-2020-4609-9205-813ddf5d01ff

npanagop commented 5 months ago

I've been having the same issue with Terminal v1.19.10821.0 on Windows 11 build 22631 for the last week. Downgrading to v1.18.10301.0 solves the issue.

zadjii-msft commented 5 months ago

Can you record another video with the new issue you're seeing /?

still same as video I record before.

Sorry for the confusion, while we were triaging yesterday, github failed to load the video, so we assumed it was corrupted.

Looks like it's crashing after a small timeout for a defterm launch, but not a direct launch.

Any chance you have MacType installed? (if so, update it. See https://github.com/microsoft/terminal/issues/16730#issuecomment-1952336962 for details)

If you don't have MacType installed:

lhecker commented 5 months ago

FYI the direct download link to the latest MacType version that fixes the crash is here: https://github.com/snowie2000/mactype/releases/tag/v1.2023.5.31

PororoManon commented 5 months ago

Yes I have mactype installed. I update it to v1.2023.5.31 and all works! I can call it from CMD and PWSH from start menu. will close this issue. Thanks!