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@winehq.org Reporter: mikrutrafal@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); ```
https://bugs.winehq.org/show_bug.cgi?id=51426
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |kernel32
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- That's because ResizePseudoConsole() is not implemented.
https://bugs.winehq.org/show_bug.cgi?id=51426
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Alacritty crashes when |Alacritty crashes when |trying to run it |trying to run it, needs | |ResizePseudoConsole()
https://bugs.winehq.org/show_bug.cgi?id=51426
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/alacritt | |y/alacritty Keywords| |download, source
https://bugs.winehq.org/show_bug.cgi?id=51426
--- Comment #2 from RafaĆ Mikrut mikrutrafal@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' ```
https://bugs.winehq.org/show_bug.cgi?id=51426
Gijs Vermeulen gijsvrm@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@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