FreeTubeApp / FreeTubeApp/FreeTube

[Bug]: segmentation fault on Ubuntu 26.04; Wayland-related

Open
#9,074 7 comments 0 reactions 0 assignees View on GitHub
B: crash third-party
Dominant language
Vue
Stars
21.9k
Forks
1.5k
Avg merge
1d 15h
Merged PRs (30d)
62

Description

### Guidelines

- [x] I have encountered this bug in the [latest release of FreeTube](https://github.com/FreeTubeApp/FreeTube/releases).
- [x] I have encountered this bug in the [official downloads of FreeTube](https://github.com/FreeTubeApp/FreeTube#official-downloads).
- [x] I have [searched the issue tracker for open and closed issues](https://github.com/FreeTubeApp/FreeTube/issues?q=is%3Aissue+sort%3Arelevance-desc) that are similar to the bug report I want to file, without success.
- [x] I have searched the [documentation](https://docs.freetubeapp.io/) for information that matches the description of the bug I want to file, without success.
- [x] This issue contains only one bug.
- [x] I have read and agree to follow the [rules](https://docs.freetubeapp.io/community/rules/).

### Describe the bug

On running freetube, it crashes and provides the following error messages:
```
85430:0429/101438.470787:ERROR:ui/ozone/platform/wayland/host/wayland_connection.cc:202] Failed to connect to Wayland display: No such file or directory (2)
[85430:0429/101438.470861:ERROR:ui/ozone/platform/wayland/ozone_platform_wayland.cc:281] Failed to initialize Wayland platform
[85430:0429/101438.470897:ERROR:ui/aura/env.cc:246] The platform failed to initialize. Exiting.
[1] 85430 segmentation fault (core dumped) freetube
```

I'm using Ubuntu 26.04 LTS, as installed yesterday. 24.04 LTS worked fine. I get an identical problem in signal, it may be an electron issue. https://github.com/signalapp/Signal-Desktop/issues/7832

I'm using metacity + gnome flashback, not Wayland

### Expected Behavior

Freetube runs without crashing

### Issue Labels

causes crash

### FreeTube Version

0.24

### Operating System Version

Ubuntu 26.04

### Installation Method

.deb

### Primary API used

Local API

### Last Known Working FreeTube Version (If Any)

0.24

### Upload screenshots or videos

_No response_

### Additional Information

_No response_

### Nightly Build

- [ ] I have encountered this bug in the latest [nightly build](https://docs.freetubeapp.io/development/nightly-builds).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.