alacritty: Crash on startup

System

OS: RHEL Server 7.9 Version: alacritty 0.13.0-dev (2df8f860) Linux/BSD: X11, window manager is MWM (i.e., Motif)

Logs

[release (master:behnd)] ./alacritty -vv
Created log file at "/var/tmp/Alacritty-69885.log"
[0.000003442s] [INFO ] [alacritty] Welcome to Alacritty
[0.000108015s] [INFO ] [alacritty] Version 0.13.0-dev (2df8f860)
[0.000129369s] [INFO ] [alacritty] Running on X11
[0.001637389s] [INFO ] [alacritty_config_derive] No config file found; using default
[0.595797241s] [INFO ] [alacritty] Using GLX 1.4
[0.987383071s] [INFO ] [alacritty] Window scale factor: 1
Error: [2] BadValue (integer parameter out of range for operation)
[1.093380765s] [INFO ] [alacritty] Goodbye
Deleted log file at "/var/tmp/Alacritty-69885.log"
Error: "Event loop terminated with code: 1"

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 20 (9 by maintainers)

Commits related to this issue

Most upvoted comments

Out of curiosity, what exactly did the patch do? Does this knowledge help fix the problem?

Glutin was explicitly specifying the default behavior for the context. While it works just fine with recent mesa, I’d assume given that your on not supported by mesa platform right now and your mesa is a bit old it happened. This code path wasn’t before, so that’s why it worked.

We do check whether your system supports the extension or not before calling/using it, but it seems like it just doesn’t like that.

I did try that and was delighted to see that alacritty v0.12.0 based on the patched glutin did start successfully. I tried it out a bit and couldn’t find any problems with the patched version while using it. Out of curiosity, what exactly did the patch do? Does this knowledge help fix the problem?

Yeah, it does help fix the problem, thx.

I had this same issue on Ubuntu shortly after a security update. I ran glxinfo and it was getting the same BadValue error. After restarting glxinfo is fixed and so is alacritty.

Yeah, its probably not long for this world . . . I think we have a RHEL 8.7 around, I will give that a shot and get back.