https://bugs.winehq.org/show_bug.cgi?id=51035
Bug ID: 51035 Summary: Alacritty v0.7.2 portable crashes Product: Wine Version: 6.6 Hardware: x86-64 URL: https://web.archive.org/web/20210420101639/https://git hub.com/alacritty/alacritty/releases/download/v0.7.2/A lacritty-v0.7.2-portable.exe OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: the.ideals@gmail.com Distribution: ---
Alacritty is a cross-platform, OpenGL terminal emulator. Related to WSL.
Source: https://github.com/alacritty/alacritty
[Windows] ConPTY support (Windows 10 version 1809 or higher)
Alacritty doesn't create the config file for you, but it looks for one in the following locations
%APPDATA%\alacritty\alacritty.yml
https://web.archive.org/web/20210420102248/https://github.com/alacritty/alac...
0110:fixme:rawinput:RegisterRawInputDevices Unhandled flags 0x2100 for device 0. 0110:fixme:rawinput:RegisterRawInputDevices Unhandled flags 0x2100 for device 1. 010c:Call KERNEL32.SetEnvironmentVariableW(001979b0 L"DESKTOP_STARTUP_ID",00000000) ret=1400514ff 010c:Call ntdll.RtlInitUnicodeString(0011bf60,001979b0 L"DESKTOP_STARTUP_ID") ret=7b04f9ec 010c:Call user32.MessageBoxW(00000000,001a14e0 L"panicked at 'failed to remove environment variable `"DESKTOP_STARTUP_ID"`: Environment variable not found. (os error 203)', library\std\src\env.rs:365:29\n\nPress Ctrl-C to Copy",00197830 L"Alacritty: Runtime Error",00012010) ret=1400b2c1c
Related to PR: https://github.com/alacritty/alacritty/pull/2525
// Prevent child processes from inheriting startup notification env. env::remove_var("DESKTOP_STARTUP_ID");
sha1sum Alacritty-v0.7.2-portable.exe ab6b11090f355b3d0711423f4076ff06d048a5e1 Alacritty-v0.7.2-portable.exe
du -sh Alacritty-v0.7.2-portable.exe 3.9M Alacritty-v0.7.2-portable.exe
Various WSL tools list: https://github.com/sirredbeard/Awesome-WSL
https://bugs.winehq.org/show_bug.cgi?id=51035
John the.ideals@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
https://bugs.winehq.org/show_bug.cgi?id=51035
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Alacritty v0.7.2 portable |Alacritty v0.7.2 portable |crashes |crashes: | |SetEnvironmentVariable | |("some_non-existant_var", | |NULL) should return TRUE Status|UNCONFIRMED |NEW Component|-unknown |kernel32 CC| |xerox.xerox2000x@gmail.com Ever confirmed|0 |1
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi, confirming
This environment variable seems to be KDE or so specific,so will not exist on windows
I quickly changed test for SetEnvironmentVariableA, and it shows that wine and windows behave differently here: https://testbot.winehq.org/JobDetails.pl?Key=89090
On a nonexistant variable:
SetEnvironmentVariableA("blahblah", NULL); returns TRUE on windows, but FALSE in wine.
https://bugs.winehq.org/show_bug.cgi?id=51035
--- Comment #2 from Gijs Vermeulen gijsvrm@gmail.com --- Created attachment 69897 --> https://bugs.winehq.org/attachment.cgi?id=69897 patch
Thanks for the analysis, Louis. According to my testing the current behavior was correct on WinXP, but seems to have changed starting with Vista.
This patch fixes it, will send upstream soon.
https://bugs.winehq.org/show_bug.cgi?id=51035
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |2f2cdc8bb147f62ade1c5a2f1ae | |4c7b2863e6b08
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi Gijs, thanks for quick fix, fixed by 2f2cdc8bb147f62ade1c5a2f1ae4c7b2863e6b08
Just for info: There are followup bugs that could be tracked by new bugreport(s).
Application now complains about : [2021-04-21 23:50:16.789052000] [ERROR] [alacritty] Alacritty encountered an unr ecoverable error:
font FontDesc { name: "C onsolas", style: Description { slant: Normal, weight: Normal } } not found
winetricks allfonts "fixes" this bug
Then the window comes up but, another error messagbox is popped: "left == right" failed; maybe related to conhost?
https://bugs.winehq.org/show_bug.cgi?id=51035
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.7.
https://bugs.winehq.org/show_bug.cgi?id=51035
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0.x
https://bugs.winehq.org/show_bug.cgi?id=51035
Jinoh Kang jinoh.kang.kr@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jinoh.kang.kr@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=51035
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |---
--- Comment #5 from Michael Stefaniuc mstefani@winehq.org --- Removing the 6.0.x milestone from bug fixes included in 6.0.2.