-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
bugSomething isn't workingSomething isn't workingdesktopSuggestions related to the desktop rendererSuggestions related to the desktop rendererwsl
Milestone
Description
Problem
When compiling a basic example on WSL 2, the program crashes without displaying anything.
When running it with strace, the process crashes with SIGSEGV (so a segmentation fault).
I don't really know how to fix that, I could give you a complete strace log if that's useful?
Note that cargo build works fine. It's only running that fails.
Steps To Reproduce
- Create a new project
- Add
dioxuswith thedesktopfeature - Use the following
src/main.rsfile:
use dioxus::prelude::*;
fn main() {
dioxus::launch(|| rsx! { "hello dioxus! ƒº¼" });
}cargo run- Enjoy the crash
Environment:
- Dioxus version:
0.6.0 - Rust version:
1.82.0 - OS info: Windows 11 24H2, WSL
2.3.26.0with Ubuntu 24.10, kernel5.15.167.4-1, WSLg1.0.65 - App platform:
desktop
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdesktopSuggestions related to the desktop rendererSuggestions related to the desktop rendererwsl