DioxusLabs / DioxusLabs/dioxus

Application launched with dioxus native crashes with SIGSEGV (segmentation fault) error when closing window

Open
#5,128 0 comments 0 reactions 0 assignees View on GitHub
bug native
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

**Problem**

When closing the application window on Linux, the application exits with this error: `Application [linux] exited with error: signal: 11 (SIGSEGV) (core dumped)` instead of shutting down cleanly. It happens even with the most basic app (eg. a fresh project created with `dx new`).

**Steps To Reproduce**

Steps to reproduce the behavior:

- Clone an example project such as [wgpu-texture](https://github.com/DioxusLabs/dioxus/tree/main/examples/10-integrations/wgpu-texture)
- Make sure the app is launched with `dioxus_native::launch(App);`
- Run it with `dx serve`
- Close the window

**Expected behavior**

When closing the window, the app should terminate properly, without crashing.

**Screenshots**

Image

**Environment:**

- Dioxus version: v0.7.2
- Rust version: v1.91.1
- OS info: EndeavourOS with KDE Plasma 6.5.4
- App platform: desktop

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.