-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIGSEGV on startup on M1 #3847
Comments
Thanks for the bug report @max-cura, and sorry you had that happen! Would you mind seeing if you can run through the python quick start on your system? |
Also segfaults; I ran
EDIT Again, when I ran inside LLDB, it functioned as normal:
|
We tested 0.9.1 on MacOs 14.0 and 13.4 but I don't think anyone else tried 12.5. |
Hi again @max-cura, thanks for checking with Python! Before potentially upgrading your OS, perhaps you could try out a simpler eframe based app that also uses a custom app icon like https://crates.io/crates/puffin_viewer just to confirm our suspicion? |
Yeah, installed puffin_viewer and it indeed has the same pattern (segfault on start, no segfault if started in lldb). |
Upgraded to macOS 14.0. Tried to run the Rust
Error persisted after reinstalling rerun-cli. EDIT: puffin_viewer displayed the same symptom. |
Thanks for upgrading your system and trying again. This is pretty bad indeed |
The icon code is here: https://github.com/emilk/egui/blob/master/crates/eframe/src/native/app_icon.rs Interesting that you get both a SIGSEGV and a SIGBUS |
@emilk: If you read further up on the issue, max wrote that attaching the debugger removed the problem. |
@max-cura you're still hitting this I assume? It's been a few version and as far as we know no other user ran into this this 😕 |
Describe the bug
Running the example from the Rust Quick Start page segfaults on 0.9.0, 0.9.1, and 0.10.0-alpha.5.
Running rerun-cli segfaults on 0.9.1, and 0.10.0-alpha.5 ([email protected] failed to build), and the current main branch (commit 432d7d2).
In both cases, running the binary from inside lldb results in normal function.
To Reproduce
cargo install rerun-cli@{any of the versions given above}
and then simplyrerun
.Note that
/usr/bin/lldb rerun
runs without faulting.The first example from https://www.rerun.io/docs/getting-started/rust can also be used, which will also generate a segfault.
Expected behavior
No segfaults on startup.
Backtrace
Stack trace
cargo install [email protected]
,RUST_LOG=debug rerun
Stack trace
cargo install [email protected]
,RUST_LOG=debug rerun
.Full output from
https://github.com/rerun-io/rerun
withcargo build -p rerun-cli
and thenRUST_LOG=debug target/debug/rerun
:Desktop (please complete the following information):
Rerun version
0.9.0, 0.9.1, 0.10.0-alpha.5, main@commit 432d7d2.
The text was updated successfully, but these errors were encountered: