[Bug 51426] New: Alacritty crashes when trying to run it
https://bugs.winehq.org/show_bug.cgi?id=51426 Bug ID: 51426 Summary: Alacritty crashes when trying to run it Product: Wine Version: 6.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: mikrutrafal(a)protonmail.com Distribution: --- After running command which install consolas font ``` winetricks consolas ``` and downloading and running: https://github.com/alacritty/alacritty/releases/download/v0.8.0/Alacritty-v0... then alacritty crashes with this info ``` panicked at 'assertion failed: `(left == right)` left: `-2147467263`, right: `0`', alacritty_terminal\src\tty\windows\conpty.rs:182:13 ``` Looks that crash happens when trying to resize console https://github.com/alacritty/alacritty/blob/a1b13e687024c86965c9e45c7b2d24d6... ``` let result = unsafe { ResizePseudoConsole(self.handle, coord) }; assert_eq!(result, S_OK); ``` -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51426 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |kernel32 --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> --- That's because ResizePseudoConsole() is not implemented. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51426 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Alacritty crashes when |Alacritty crashes when |trying to run it |trying to run it, needs | |ResizePseudoConsole() -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51426 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/alacritt | |y/alacritty Keywords| |download, source -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51426 --- Comment #2 from RafaĆ Mikrut <mikrutrafal(a)protonmail.com> --- Looks that also is needed `ClosePseudoConsole` to be able to compile Alacritty ``` Z:\home\rafal\Downloads\alacritty-master/alacritty_terminal\src\tty\windows/conpty.rs:38: undefined reference to `ClosePseudoConsole' Z:\home\rafal\Downloads\alacritty-master\target\debug\deps\libalacritty_terminal-0cd567fd6068d207.rlib(alacritty_terminal-0cd567fd6068d207.alacritty_terminal.7ciqjx1j-cgu.3.rcgu.o): In function `_$ LT$alacritty_terminal..tty..windows..conpty..Conpty$u20$as$u20$alacritty_terminal..event..OnResize$GT$::on_resize::h595320ffa9ebacec': Z:\home\rafal\Downloads\alacritty-master/alacritty_terminal\src\tty\windows/conpty.rs:181: undefined reference to `ResizePseudoConsole' ``` -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51426 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|Alacritty crashes when |Alacritty crashes on start |trying to run it, needs |(needs ResizePseudoConsole |ResizePseudoConsole() |implementation) URL|https://github.com/alacritt |https://web.archive.org/web |y/alacritty |/20210723095503if_/https:// | |github-releases.githubuserc | |ontent.com/51980455/f96b9e8 | |0-b87b-11eb-8a95-04378904ba | |e7?X-Amz-Algorithm=AWS4-HMA | |C-SHA256&X-Amz-Credential=A | |KIAIWNJYAX4CSVEH53A%2F20210 | |723%2Fus-east-1%2Fs3%2Faws4 | |_request&X-Amz-Date=2021072 | |3T095502Z&X-Amz-Expires=300 | |&X-Amz-Signature=02d181a478 | |f6f6f422876418886e3948c911e | |71415b476c1a8e2eb68cd38d9b4 | |&X-Amz-SignedHeaders=host&a | |ctor_id=0&key_id=0&repo_id= | |51980455&response-content-d | |isposition=attachment%3B%20 | |filename%3DAlacritty-v0.8.0 | |-portable.exe&response-cont | |ent-type=application%2Focte | |t-stream Ever confirmed|0 |1 --- Comment #3 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- Confirming, rewording title a little and adding a stable download. $ sha1sum Alacritty-v0.8.0-portable.exe b7e2bc05dec88a2720df724b12591fbec910c595 Alacritty-v0.8.0-portable.exe $ du -sh Alacritty-v0.8.0-portable.exe 3.9M Alacritty-v0.8.0-portable.exe -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=51426 --- Comment #4 from Gijs Vermeulen <gijsvrm@gmail.com> --- Still present with wine-11.1. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=51426 Louis Lenders <xerox.xerox2000x@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com --- Comment #5 from Louis Lenders <xerox.xerox2000x@gmail.com> --- Created attachment 80241 --> http://bugs.winehq.org/attachment.cgi?id=80241 Alacritty running (fine afaict) Hi, Just faking success for ResizePseudoConsole is enough to get it running now (also need Consolas font). As the program tries to start our stub powershell, it just exits, but if you unzip Powershell Core in the directory where powershell is, and then rename pwsh.exe --> powershell.exe Alacrity starts fine. See attached screenshot. I'll send a patch and see what happens. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=51426 Louis Lenders <xerox.xerox2000x@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c67060faddd4bd8317e21c9b5a6 | |a36b1cb28761b Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Louis Lenders <xerox.xerox2000x@gmail.com> --- This is fixed by c67060faddd4bd8317e21c9b5a6a36b1cb28761b -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=51426 Alexandre Julliard <julliard@winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Alexandre Julliard <julliard@winehq.org> --- Closing bugs fixed in 11.2. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
WineHQ Bugzilla -
WineHQ Bugzilla