alvr-org / alvr-org/ALVR

Quest 2 ALVR panic latest nightly

Open
#3,122 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
7.9k
Forks
708
Avg merge
3d 23h
Merged PRs (30d)
11

Description

## Description
on the latest nightly, v21.0.0-dev12+nightly.2025.11.28 on the quest 2, trying to launch the ALVR app on the quest results in the three dots of infinite loading, looking at adb logcat shows a panic.

after bisecting the crash, v20.10.0 crashes, and v20.9.1 doesn't

## General Troubleshooting
- [x] I carefully followed the instructions in the [README](https://github.com/alvr-org/ALVR/blob/master/README.md) and successfully completed the setup wizard
- [x] I read the [ALVR GitHub Wiki](https://github.com/alvr-org/ALVR/wiki)

[logcat.txt](https://github.com/user-attachments/files/23835045/logcat.txt)

the section with just the crash:
```
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: ALVR panicked: What happened:
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: panicked at alvr/client_openxr/src/lib.rs:161:64:
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: called `Result::unwrap()` on an `Err` value: ERROR_RUNTIME_UNAVAILABLE
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]:
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: Backtrace:
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: 0: alvr_common::logging::set_panic_hook::{{closure}}
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: at home/runner/work/ALVR-nightly/ALVR-nightly/alvr/common/src/logging.rs:199:13
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: 1: as core::ops::function::Fn>::call
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: at rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/alloc/src/boxed.rs:1999:9
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: std::panicking::panic_with_hook
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: at rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/std/src/panicking.rs:842:13
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: 2: std::panicking::panic_handler::{{closure}}
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: at rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/std/src/panicking.rs:707:13
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: 3: std::sys::backtrace::__rust_end_short_backtrace
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: at rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/std/src/sys/backtrace.rs:174:18
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: 4: __rustc::rust_begin_unwind
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: at rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/std/src/panicking.rs:698:5
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: 5: core::panicking::panic_fmt
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: at rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/core/src/panicking.rs:75:14
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: 6: core::result::unwrap_failed
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: at rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/core/src/result.rs:1855:5
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: 7: alvr_client_openxr::entry_point
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: 8: alvr_client_openxr::android_main::{{closure}}
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: at home/runner/work/ALVR-nightly/ALVR-nightly/alvr/client_openxr/src/lib.rs:609:9
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: std::sys::backtrace::__rust_begin_short_backtrace
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: at rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/std/src/sys/backtrace.rs:158:18
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: 9: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: at rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/std/src/thread/mod.rs:559:17
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: as core::ops::function::FnOnce<()>>::call_once
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: at rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/core/src/panic/unwind_safe.rs:274:9
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: std::panicking::catch_unwind::do_call
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: at rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/std/src/panicking.rs:590:40
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: std::panicking::catch_unwind
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: at rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/std/src/panicking.rs:553:19
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: std::panic::catch_unwind
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: at rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/std/src/panic.rs:359:14
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: std::thread::Builder::spawn_unchecked_::{{closure}}
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: at rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/std/src/thread/mod.rs:557:30
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: core::ops::function::FnOnce::call_once{{vtable.shim}}
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: at rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/core/src/ops/function.rs:250:5
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: 10: as core::ops::function::FnOnce>::call_once
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: at rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/alloc/src/boxed.rs:1985:9
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: std::sys::thread::unix::Thread::new::thread_start
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: at rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/std/src/sys/thread/unix.rs:126:17
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: 11: _ZL15__pthread_startPv
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]: 12: __start_thread
01-03 00:34:30.566 4634 4656 E [ALVR NATIVE-RUST]:
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.