Open windoze opened 1 month ago
Could you try running lldb target/debug/slint-rust-template
, then type r
at the prompt, hit enter, and then paste the output you get there?
Sure.
[🕙 16:58:53]❯ lldb ./target/debug/slint-rust-template
(lldb) target create "./target/debug/slint-rust-template"
Current executable set to '/Users/chenxu/repos/test1/target/debug/slint-rust-template' (arm64).
(lldb) r
Process 34906 launched: '/Users/chenxu/repos/test1/target/debug/slint-rust-template' (arm64)
Process 34906 stopped
* thread #1, name = 'main', queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
frame #0: 0x0000000000000000
error: memory read failed for 0x0
Seems like null pointer was used at somewhere.
Thanks. Could you run bt
on the same prompt after it crashed?
It shows basically nothing.
(lldb) bt
* thread #1, name = 'main', queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
* frame #0: 0x0000000000000000
OS: macOs Sonoma 14.6.1 Machine: Mac Studio M1 Ultra
Reproduce steps:
cargo generate --git https://github.com/slint-ui/slint-rust-template --name test-prj
.Cargo.toml
toslint = { version = "1.7.2", default-features = false, features = ["std", "backend-winit", "renderer-skia", "compat-1-2"] }
cargo run
orcargo run --release
.The app crash with no error message, only output:
I haven't digged into the issue, not sure if it's because Slint or Skia.