DioxusLabs / DioxusLabs/dioxus
Minimal Dioxus Native instantly crashes on Windows
- Dominant language
- Rust
- Stars
- 39.1k
- Forks
- 1.9k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
**Problem**
Dioxus Native crashes instantly after launching
```bash
Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.15s
Running `target\debug\hello-dioxus-native.exe`
error: process didn't exit successfully: `target\debug\hello-dioxus-native.exe` (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)
```
**Steps To Reproduce**
Steps to reproduce the behavior:
- launch minimal dioxus native app on a windows machine
Minimal App
main.rs
```rust
use dioxus::prelude::*;
fn main() {
dioxus_native::launch(App);
}
fn App() -> Element {
rsx! {
div { "Hello from Dioxus Native!" }
}
}
```
cargo.toml
```toml
[package]
name = "hello-dioxus-native"
version = "0.1.0"
edition = "2021"
[dependencies]
dioxus = { version = "0.7" }
dioxus-native = { version = "0.7" }
```
**Expected behavior**
Successful launch
**Environment:**
- Dioxus version: 0.7
- Rust version:
```bash
rustc --version --verbose
rustc 1.89.0 (29483883e 2025-08-04)
binary: rustc
commit-hash: 29483883eed69d5fb4db01964cdf2af4d86e9cb2
commit-date: 2025-08-04
host: aarch64-pc-windows-msvc
release: 1.89.0
LLVM version: 20.1.7
```
- OS info: Windows
- App platform: Native
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.