-
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
Crash On Start (OpenConsole.exe) - FIXED IN 1.19.10821 #16794
Comments
I encountered the same issue. My cpu is Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz 2.40 GHz. This cpu did not support SSE 4.2 POPCNT so it may happen. Windows Terminal version:1.19.10573.0 Below is WinDbg result.
|
I may be misreading the disassembly incorrectly, but it seems to be correct to me: Maybe the contents of the terminal/oss/libpopcnt/libpopcnt.h Line 628 in ad51b22
It's very likely that this is a miscompilation. It'd be our 2nd one in these releases: #16742 |
Same issue here on Intel Q6600. Please note that these old CPUs (such as Intel Core 2 family) does not support SSE 4.2 and therefore POPCNT instruction makes the apps to crash. This is the same issue which was raised recently, causing various Windows Apps to crash on start, on older CPUs: |
There is a report of miscompilation in VS 17.8.6 related to POPCNT [here]
Apparently it is fixed in VS 17.9.1
|
We'll need to wait a little bit and re-issue new releases compiled with VS 17.9.1+ to test this hypothesis. Sorry for the delay. |
I have the same issue ---- attached are the event log entry As noted in previous posts, I to have an older laptop which might have the issue with the instruction being used |
I have the same issue. CPU: Intel Mobile Core 2 Duo P8400 Windows Terminal v1.19.10573.0: crash |
Same for me with the latest version of Windows Terminal and Windows Terminal Preview. Older versions before are doing fine. Event log: WindowsTerminalError.zip |
Same here on Windows 10 Pro 22H2, 2x Intel(R) Xeon(R) CPU E5410 @ 2.33GHz |
Processor: Pentium(R) Dual-Core CPU E5700 @ 3.00GHz 3.00 GHz Oh shiii-! Yes! The previous one was working fine and when I updated it to v1.19.10573.0, it started crashing with exit code 259. Like, no matter which profile (PowerShell, CMD, WSL) I open, it crashes immediately. And if me open, for example, PowerShell or CMD without Windows Terminal, it opens just fine. And you know what's the fun part? I literally did system restore 2 times and reset Windows 1 time and finally format and re-install Windows thinking me did something wrong with my PC and finally got to know here that it's not just me... 〒▽〒 Why Microsoft ? ~(>_<。)\ |
I am not sure if this is related --- but this issue just happens on my intel computer, my oher AMD computers work fine with the update |
Yes, it looks like it happens on older intel CPU's that are not supporting SSE 4.2. Same situation as happened a couple of weeks before with a couple of other updated apps from in the Microsoft store like Calculator. I have other PC's here that are not effected by this error and those all have SSE 4.2 support. |
woah~ makes sense. just like what they did with Windows 11 by introducing TPM 2.0... So, any luck on it working again on older Intel CPUs in the next update or it will not be supporting at all ? ( ;∀;) hehe .. welp ! |
Put away your conspiracy theories, folks. There's a compiler bug in MSVC 19.38 that results in the output of the |
Not intended from my side. ;) |
@DHowett latest canary for example: terminal-1.21.691.0 [10.03.2024] still crash, its normal? |
Yes. I will inform you (and ask for help!) when our build agents have the new compiler. Then we can validate the Canary build and recompile the Stable and Preview builds if it works. |
This comment was marked as duplicate.
This comment was marked as duplicate.
Hello! We have a test build that we think will fix this. Can somebody here test out one of these portable builds and report whether it works? |
+1 |
The 14.39 compiler seems pretty busted. Refs #16794
Yes, I can confirm that at least x64 build is nicely working on my venerable Core 2 Duo CPU :) Thanks! |
Hey, sorry, late here.. but tried |
x86 version of WindowsTermianl.exe wt.exe and OpenConsole.exe all launch for me for both PowerShell and Command Prompt. This old computer was a fresh install just at the time the terminal broke, so there was no previous configuration. Also confirmed that it launcehes on a new Lenovo ThinkPad (AMD Ryzen Pro 7) quite by accident (downloaded on that machine and forgot at first that was not the machine I on which the crash was happening). Thank you for this! |
This comment was marked as off-topic.
This comment was marked as off-topic.
Tested the amd64 and that version works on Processor Intel(R) Core(TM)2 Extreme CPU X9650 @ 3.00GHz, 1995 Mhz, 4 Core(s), 4 Logical Processor(s) |
Thanks everyone for the help! We have some releases of 1.19 and 1.20 that are ready to go out via the Store to y'all. Publication is held up on some authentication problems, but you can expect these to come out on Monday March 25 (usually in the morning, US Central time). |
@DHowett works OK, thanks! |
I have the same problem, this worked for me |
I tests both the 64 as 32 bit version of the fix and they are working |
Thank you all so much for testing this out. We just released 1.19.10821 and 1.20.10822, which have been built with the fix. |
It's been 4 days and I haven't got the (Windows Terminal) update on/from Microsoft Store. ⊙.☉ |
You can always just manually install from https://github.com/microsoft/terminal/releases |
Windows Terminal version
1.19.2402.26003-1.21.2402.29001
Windows build number
10.0.19045.4046 (22H2)
Other Software
No response
Steps to reproduce
Canary latest ok : terminal-1.21.491.0
terminal-1.21.501.0 - 💥crash on start
....
terminal-1.21.601.0 -💥crash on start
latest release / preview with 💥crash on start
terminal-1.19.10573.0
terminal-1.20.10572.0
previous release / preview - ok
terminal-1.19.10302.0
terminal-1.20.10303.0
💥crash💥 happens in OpenConsole.exe
reproduced 100%
version where work OpenConsole.exe popcnt used twiced
in latest version OpenConsole.exe used 4 times
If i change in new version WT, OpenConsole.exe to old version - WT work fine.
warning: my cpu is old: Intel Core 2 Duo E8400
OpenConsole.exe.7332.dmp
dump for terminal-1.19.10573.0
Expected Behavior
work fine...
Actual Behavior
trap on strart...
The text was updated successfully, but these errors were encountered: