alacritty: Alacritty crashes after MacOS Catalina update

The issue occurs on MacOS Catalina.

fish: '~/.cargo/bin/cargo run --releas…' terminated by signal SIGILL (Illegal instruction)

This is the error it throws after I try to run it from the commandline with -vvv.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 2
  • Comments: 25 (22 by maintainers)

Commits related to this issue

Most upvoted comments

As mentioned in #3029 this issue does not occur unless the decorations are set to none.

I can reproduce in winit by using .with_maximized(true).with_decorations(false).

I’ve reported this upstream in https://github.com/rust-windowing/winit/issues/1288.

@hileceeser My config is set to Maximized, but when I changed it to Windowed it suddenly worked again. 😅

Upstream fix has landed in rust-windowing/winit#1323

Could someone try to apply this patch to https://github.com/rust-windowing/winit and execute cargo run --example window? Ideally it should crash.

diff --git a/examples/window.rs b/examples/window.rs
index 12e0593..efed61e 100644
--- a/examples/window.rs
+++ b/examples/window.rs
@@ -9,6 +9,7 @@ fn main() {

     let window = WindowBuilder::new()
         .with_title("A fantastic window!")
+        .with_maximized(true)
         .build(&event_loop)
         .unwrap();

I’ve been having the same problem, and narrowed it down to the startup_mode property. If it’s set to ~“Windowed”~ “Maximized” Alacritty crashes on startup. @voider1 it’d be cool if you could confirm this on your system.

edit: It’s actually “Maximized”, not “Windowed” that causes the crash.

Sorry, it was kinda late where I’m at, fixed it. So it doesn’t work with my config and it works without my config.

I retested with the latest master, using --config-file /dev/null and that does the trick. Weird thing is, on my other Mac (running the same version) my config works.

@voider1 so, its working, right? So I assume this commit broke it for you 729eef0c933831bccfeac6a355bdb410787fbe5f.