KhronosGroup / KhronosGroup/OpenXR-Tutorials
Chapter 2 segfaults on xrCreateInstance() when run on Vive XR Elite
- Lingua principale
- C++
- Stelle
- 135
- Fork
- 27
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hello, tried to follow the OpenXR demos, Chapter 1 ran without issue.
However, Chapter 2 and the code for the ongoing chapters all segfault on xrCreateInstance() call.
The app exits back to the main Vive lobby view.
The output from "adb logcat" attached.
[segfault.txt](https://github.com/user-attachments/files/22985642/segfault.txt)
Build notes:
Host ubuntu 22.04 amd64
targetSdk in Chapter2/app/build.gradle had to be changed to 31
when using android-studio-2022.2.1p2 , openjdk 17.0.6
also with android-studio-2025.1.3.7, openjdk 21.0.7
Issue happens following branches:
main, tag: v1.0.13 (0c6878dbcee390322b51638b3793052b6eb3b1d3)
tag: v1.0.8 (e493c17ca24caf5a9fec4f7085e8a520fa211888)
Side note:
The src/tests/hello_xr sample found in OpenXR-SDK-Source repo runs without issue on the Vive XR Elite device.
Atm, i am trying to find the difference between how xrCreanteInstance() is called there versus here.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Start with the Chapter 2 xrCreateInstance() call and the targetSdk setting in Chapter2/app/build.gradle, then compare it with src/tests/hello_xr from OpenXR-SDK-Source. Use the attached adb logcat output to identify the crash cause; done means Chapter 2 and the ongoing chapters no longer segfault on the Vive XR Elite.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- android, cpp
- Ambito
- ar-vr-xr, mobile-dev
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100