-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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 shows an empty window and then crashes #1364
Comments
From another comment on the same issue,
|
Admittedly, I could have read "built and deployed for x64 architecture" and figured that out. |
I think the Terminal was so impressed with your desktop image it didn't want to render on top of it. |
FWIW, I'm receiving the same behavior on my x86 tablet after installing the MS Store version. Previous copies compiled by me worked, so I'm left scratching my head as to why this is occurring now. I hadn't yet tested on my x64 laptop however, so I am unsure if it's the same there.. Update: After looking at event viewer, I'm receiving an appcrash. I have pulled the events into an evtx if needed.
|
I just installed from MS Store and experience the same issue. 64-bit OS here.
I wonder if it can be ran from the command line and see if it prints any error messages. |
So I attempted to build it on my own, and I am receiving the same behavior on my latest build. I did happen to try the x64 version on my laptop and it worked fine, but x86 is still not working. Sadly my x86 tablet doesn't have enough storage to be able to install VS onto it and VS won't let me set up a remote debugging profile for x86 (says Debug|x86 is missing from the project manifest when I even attempt to open the properties) so at the moment, my attempts to get to the bottom of why have stalled... I may need to set up a x86 VM just to debug with :/ assuming the behavior persists there as well. Now I'm just trying to grab myself an older copy of my build, just so I can at least use the new Terminal, even if it isn't as up to date.. |
I'm facing the same issue, don't think that there is any compatibility issues here |
Ok... A couple of minutes ago I tried to run again the Terminal on my PC to log any errors to attach here...
Today I was using my notebook on my legs (without any devices connected). These kind of devices (DisplayLink docks) are seen by the OS as external video cards without extended support for hardware acceleration... So, I think, if the video card you're trying to render the Terminal on isn't compatible with hardware acceleration (or something like that) it, simply, crashes badly. It could be also your case @ShadowEO, @magiblot and @tanayagar?
|
I have similar issue. After installing the Terminal, selecting the top pane dropdown, then (while the Widows Powershell is auto-selected), the terminal loads Visual Studio blank page & crashes. |
Yes, I do have an Intel GPU (HD Graphics 520) but drivers and harware acceleration are in order. I don't use a docking station or VM, altough I do have this laptop connected to an external display through VGA/DP. But unplugging it changed nothing. |
That's a novel idea, but previous builds worked fine, for instance, I can reinstall one of my older dev builds and it opens and runs fine. Yes, I am on cheap hardware for this device, it's a TMAX TM101W635L. Using an Intel HD Graphics (I am unsure of the exact model atm, as I am away from the machine.) Virtual Machines work fine on the device, but they aren't in active use (on 2 GBs of non-expandable RAM, you can see why). My tests are all done on device itself, so no docking stations, no external hardware at all. I'm planning on setting up a 32-bit VS2019 VM on my main laptop tonight to see if the issue occurs there, and if so, to debug it as well. |
i5-9600K, RTX-2070, 32Gb RAM, Host OS - blank window and crash.
|
crashing here , I also have a displaylink device 4k, hooked up to a mini displayport port. and getting this error: Faulting application name: WindowsTerminal.exe, version: 1.0.1906.20005, time stamp: 0x5d0c1459
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x0000000000000000
Faulting process id: 0x2ee4
Faulting application start time: 0x01d52a090c39d27d
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_0.2.1715.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
Faulting module path: unknown
Report Id: 51227091-efa4-43dc-bc7a-61696a519a8f
Faulting package full name: Microsoft.WindowsTerminal_0.2.1715.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App |
I have an integrated Intel card ( Intel HD graphics 620). As for cheap hardware and vms, my answer would be no. Any way to fix? |
Hi, I have the same issue and my graphic card is a NVIDIA GeForce GTX 1060 |
In my case, I was able to fix it by forcing the app to use the Intel HD Graphics 630 graphics card instead of the GTX 1050 card in the NVIDIA control panel. |
Thanks for the tip. May I ask you how you did that ? |
Mmmh... Strange! 🤔 But, yeah... Probably, I did something wrong! 😅
I also tried on another computer equipped with an NVidia GTX 970 and it worked well. I did some other tests and, for some reason, when I run the Terminal on the external monitor connected through the docking station in crashes (as I said before)... Here is my event log (I hope it can be useful):
|
Now, are you building with MSBuild or with VS? I can reproduce the broken package layout with MSBuild but not with Visual Studio. On my machine, when VS builds the project, it ends up laying a copy of There's probably a couple issues here. One, I have no idea why it's being copied in by VS but not MSBuild; Two, It should be getting rolled up into resources.pri with the other Xaml resources; Three, I have no idea why this works properly for the very similar |
MSBuild - well, precisely, I'm doing this: The app then crashes when I deploy the loose-file folder through either PowerShell or Visual Studio. I can verify that after scorching the repo with Perhaps we really do need to fork that separate issue now - this is a pretty bad problem in my opinion, but probably not the one this issue was originally about. |
Thanks, this was exactly my situation. |
I can confirm this works. My terminal shows up. However, the settings option is unresponsive after I select it. |
As @miniksa said, that's probably a separate issue. My machines don't have that "Use legacy console" feature turned on, and it doesn't work even with them on. It seems there could be multiple factors to cause this specific response. That said, I updated Terminal to the latest version in the store and it no longer even fails to this point, opens, shows the titlebar/border (like the previous behavior) and then crashes before the window finishes rendering. (Unlike before, the UWP window titlebar and border are destroyed) |
I've submitted an issue using the Feedback Hub - https://aka.ms/AA5jk66 Even though I have Windows Terminal (Preview) listed in Settings | Apps, it didn't come up in the list of Apps in the Feedback Hub, so I just had to choose "All other apps". I also created a crash dump (applying the same settings as documented here for WindowsTerminal.exe) and attached that to the report. |
I did not have PowerShell Core installed on the machine that was showing this crash (but on another device, Terminal was starting without error and it did have PowerShell Core). Out of curiosity, I installed Core on the failing machine, and now Terminal starts correctly!
|
OK, thanks for the data point. On the back end, these crashes are ending up bucketed in the same giant issue, so it's been difficult for me to tease apart the different scenarios here. Every report like this helps me identify another case more easily than rummaging through stack dumps. |
I can confirm, I had the problem and installing powershell core solved it. |
Was hoping it would work in my case, but sadly not. Still receiving the problem on my x86 device after installing pwsh-core. |
I have this same issue on 2 computers out of 4.
The two computers have have the issue have powershell-core (6) on them, and one of those also has the powershell 7 preview. The default I've found that removing the I added a little function to my powershell
|
I had this same issue right now after installing the Terminal via Store for the first time in my Surface Book with dGPU. I had just updated Windows to 1903 and installed PowerShell Core using Scoop. After removing the profiles.json file as @tksunw said, it's working. I did not have these problems when doing the same thing with my desktop a few weeks ago. |
I'm having the same issue.
But, if I disconnect the Dock it will run on my laptop integrated graphics. I have the latest drivers. |
No dock, as stated in my earlier response to someone else who suggested the same thing, previous builds ran perfectly, store build and current tree build does not. Intel HD Graphics, all internal. No VM, running Windows 10 Pro Latest skip ahead. |
Sorry, I wasn't trying to suggest that the solution was to disconnect a Dock if you have one. :) Although, I also have Intel HD graphics, it could be something to do with that? |
Hi, Again, not saying this is the reason/fix for everyone, but I think I found the root cause on my PC. I integrated Intel HD graphics plus an AMD Radeon 530 graphics card on my laptop. This may not be limited to AMD graphics, but I've found that when my Dock is connected and I'm usign Displaylink, the laptop prefers to run most programs using the 530 discreet GPU. I have now found a way to tell Windows not to use the Radeon 530 for both mstsc.exe and wt.exe. Both programs run fine now. So I think that a recent graphics driver and/or Windows update has cause some sort of problem with the graphics drivers. |
This conversation is now locked because people are using it as a dumping ground for literally any crash on start. I've identified a ton of issues in this thread:
I will edit this with the resolutions. But no more piling on here. If you have any of these 7 things, follow up on the individual threads or wait for the update if its already fixed. |
Note, I'm not saying don't report things. I just need to break this out into individual threads because it's too much to handle all in one place. Let's break the conversations into correlated threads. |
OK. All of the issues above as isolated from various discussions in this thread appear to have a follow-on ID number (except MinMaxControl which was only mentioned once while it was still fresh). Please direct conversation about ongoing "empty window and crashes" issues to those specific threads if they're relevant to you. If they're not relevant, please open a new bug and describe how yours is different from one of those above. Thanks! |
Hi!
I'm trying to run this new Windows Terminal.
After some difficulties and a few attempts I was able to build and deploy the project locally.
«Great! Finally!» I said to myself, just before clicking on the
Windows Terminal (Dev Build)
in the Start menu...This was the result: an empty window.
After a few seconds, it simply disappeared and then...
Well... Nothing more!
Here are some useful (hopefully) information about my current system:
Some time ago, I commented already here (#489 (comment)) explaining the same issue...
But, nobody could help me.
Maybe opening a Issue I will be luckier...
The text was updated successfully, but these errors were encountered: