Alacritty panics on startup when used on Wayland

Bug #2061269 reported by bLaind
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
rust-alacritty (Ubuntu)
Fix Committed
High
Unassigned

Bug Description

Impact
-------
After upgrading to ubuntu 24.04 beta, alacritty fails with the following message on startup:

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /usr/share/cargo/registry/glutin-0.30.9/src/api/egl/surface.rs:246:44
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Test Case
---------
Install alacritty on Ubuntu Desktop
Run alacritty
Run
echo $XDG_SESSION_TYPE
to verify you are using a Wayland session. The bug reported here does not affect Xorg sessions.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: alacritty 0.12.2-2
ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1
Uname: Linux 6.8.0-22-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sun Apr 14 09:46:38 2024
InstallationDate: Installed on 2023-08-06 (252 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: rust-alacritty
UpgradeStatus: Upgraded to noble on 2024-04-13 (0 days ago)

Revision history for this message
bLaind (blaind) wrote :
description: updated
Revision history for this message
bLaind (blaind) wrote :

The bug seems to manifest only on wayland, with xorg it works.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rust-alacritty (Ubuntu):
status: New → Confirmed
Jeremy Bícha (jbicha)
Changed in rust-alacritty (Ubuntu):
status: Confirmed → In Progress
importance: Undecided → High
Jeremy Bícha (jbicha)
Changed in rust-alacritty (Ubuntu):
status: In Progress → Fix Committed
Jeremy Bícha (jbicha)
description: updated
Revision history for this message
flip101 (flip101) wrote :

I also have this problem after updating to 24.04. Would it be possible to update to alacritty to version 0.13.2 as part of a fix?

tags: added: verification-needed
tags: added: verification-needed-noble
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I successfully completed the test case with alacritty 0.13.2-1ubuntu1 on Ubuntu 24.04 LTS.

tags: added: verification-done verification-done-noble
removed: verification-needed verification-needed-noble
summary: - Alacritty panics on startup
+ Alacritty panics on startup when used on Wayland
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.