alacritty: Crashes on start on Windows
After installing the latest version, Alacritty crashes on start with an error pop-up. I’ve tried running it with and without a config file but no luck. Any ideas?
System
OS: Windows 10 Version: 0.4.1 (installed via msi installer) Windows: ConPTY
Error output
Alacritty: Runtime Error
panicked at ‘assertion failed: (left == right)
left: 1
,
right: 0
’, C:\Users\travis.cargo\git\checkouts\winit-c2fdb27092aba5a7\d1c6506\src\platform_impl\windows\dark_mode.rs:135:13
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 24 (15 by maintainers)
Commits related to this issue
- Update to glutin 0.23.0 Fixes #3188. Fixes #3177. — committed to chrisduerr/alacritty by chrisduerr 4 years ago
- Update to glutin 0.23.0 Fixes #3266. Fixes #3248. Fixes #3188. Fixes #3177. Fixes #2445. — committed to chrisduerr/alacritty by chrisduerr 4 years ago
- Update to glutin 0.24.0 Fixes #3266. Fixes #3248. Fixes #3188. Fixes #3177. Fixes #2445. Fixes #1574. — committed to alacritty/alacritty by chrisduerr 4 years ago
- Update to glutin 0.24.0 Fixes #3266. Fixes #3248. Fixes #3188. Fixes #3177. Fixes #2445. Fixes #1574. — committed to roychoo/alacritty by chrisduerr 4 years ago
It’s a known issue https://github.com/rust-windowing/winit/issues/1466.
This should be fixed in the next release, we just need to wait for another version of our winit depedency (see https://github.com/rust-windowing/winit/commit/0ae78db6cb5568152f0e32ac3cf4e8cb43e28920).
I’m running Windows 10 Enterprise LTSC 1809 and got the same problem. It is the latest version of Windows in LTSC channel so it couldn’t be upgraded. Since 1809 is the latest version in LTSC channel, I think it should be supported.
We tested the patch on several OS versions and were satisfied that it worked correctly from April 2018 update onwards iirc.
I’ll have another read through and @Number7tSeven may come back with a patch that I’ll ask you to try (if I can’t get an old vm running)
It was the Cargo part that was tripping me up. I will have to do a little research on my own.
I’ve built it and Alacritty seems to be working like normal. Thank you for all of your effort!
You just have to apply the following patch to Alacritty:
Just put that into a file and run
git apply <file>
, or since it’s just a single line you can also apply it easily by hand.Thanks for helping out with testing, it’s much appreciated. 😃
@chrisduerr, I built it and I am still getting the same error on my machine that I originally posted about.
👍 will see what I can find later when I investigate
Thanks. I can understand if you don’t want to support older versions of Windows though.
That’s a file I helped with in winit so I’ll help figure this one out.
@Number7tSeven what Windows 10 version are you running? (e.g. Insiders Fast Ring, October 2018 update, etc)