Open
Description
Problem
dx serve
on desktop linux result in Application [linux] exited with error: signal: 11 (SIGSEGV) (core dumped)
Steps To Reproduce
Steps to reproduce the behavior:
- Create a new dioxus app targeting
Desktop Linux
- Run
dx serve
- It core dumps (and the status doesn't indicate failure)
Expected behavior
I'd expect the app to be served as expected.
Screenshots
> dx new dioxus-example
✔ 🤷 Which sub-template should be expanded? · Bare-Bones
✔ 🤷 Do you want to use Dioxus Fullstack? · false
✔ 🤷 Do you want to use Dioxus Router? · false
✔ 🤷 Do you want to use Tailwind CSS? · false
✔ 🤷 Which platform do you want DX to serve by default? · Desktop
5.129s INFO Generated project at /home/user/git/dioxus-example
`cd` to your project and run `dx serve` to start developing.
If using Tailwind, make sure to run the Tailwind CLI.
More information is available in the generated `README.md`.
Build cool things! ✌️
> cd dioxus-example/
> dx serve
21:56:28 [dev] -----------------------------------------------------------------
Serving your Dioxus app: dioxus-example
• Press `ctrl+c` to exit the server
• Press `r` to rebuild the app
• Press `p` to toggle automatic rebuilds
• Press `v` to toggle verbose logging
• Press `/` for more commands and shortcuts
Learn more at https://dioxuslabs.com/learn/0.6/getting_started
----------------------------------------------------------------
21:58:27 [dev] Build completed successfully in 118523ms, launching app! 💫
21:58:28 [dev] Application [linux] exited with error: signal: 11 (SIGSEGV) (core dumped)
╭────────────────────────────────────────────────────────────────────────────────────────── /:more ╮
│ App: ━━━━━━━━━━━━━━━━━━━━━━━━━━ 🎉 118.7s Platform: Desktop Linux │
│ Bundle: ━━━━━━━━━━━━━━━━━━━━━━━━━━ 🎉 0.2s App features: ["desktop"] │
│ Status: Serving dioxus-example 🚀 118.9s ServerFns at: no server address │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
Environment:
- Dioxus version:
dioxus 0.6.3 (was built without git repository)
- Rust version:
rustc 1.87.0 (17067e9ac 2025-05-09)
- OS info: Arch Linux running
Linux 6.12.29-1-lts #1 SMP PREEMPT_DYNAMIC x86_64 GNU/Linux
(I installed the dependencies for Arch Linux as documented here, and I only havewayland
installed -- I do not have Xwayland) - App platform:
Desktop Linux
Questionnaire
I'm interested in fixing this myself but don't know where to start.