Blender crashes when starting the VR Session of the Scene Inspection addon #74900

Closed
opened 2020-03-18 23:51:44 +01:00 by marcuspollio · 6 comments
Member

Hi there !

System Information
Operating system: Linux-5.4.0-4-amd64-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: Mesa DRI Intel(R) UHD Graphics 630 (Coffeelake 3x8 GT2) Intel Open Source Technology Center 4.6 (Core Profile) Mesa 19.3.3

Blender Version
Broken: version: 2.83 (sub 9), branch: master, commit date: 2020-03-18 15:41, hash: 9e382dd2a3
Worked: IDK, VR is a new feature so it does not apply I guess ?

Short description of error
Blender crashes when starting the VR Session of the Scene Inspection addon in the VR tab of the N panel in the 3D view. Note that I did not read any documentation on how to install and use, but just wanted to have a look at this new thing =D
If something from the host's configuration is missing (hardware, driver or so), ok I think not to run the VR Session, but at least display an error message in the status bar and no crash please =P

Exact steps for others to reproduce the error

  • Start Blender anew with factory settings
  • In Preferences activate the VR Scene Inspection addon
  • In the 3D view, open the N panel and in the VR tab start the VR session...

Running from the command line gives:

AL lib: (EE) GetLoadedHrtf: Invalid header in /usr/share/openal/hrtf/default-44100.mhr: "MinPHR02"
AL lib: (EE) GetLoadedHrtf: Failed to load /usr/share/openal/hrtf/default-44100.mhr
AL lib: (EE) GetLoadedHrtf: Invalid header in /usr/share/openal/hrtf/default-48000.mhr: "MinPHR02"
AL lib: (EE) GetLoadedHrtf: Failed to load /usr/share/openal/hrtf/default-48000.mhr
found bundled python: /home/xxx/blender-2.83-9e382dd2a3d8-linux64/2.83/python
Error [GENERAL |  | OpenXR-Loader] : RuntimeManifestFile::FindManifestFiles - failed to determine active runtime file path for this environment
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeInterface::LoadRuntimes - unknown error
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeInterface::LoadRuntimes - failed to find a valid runtime
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed to find default runtime with RuntimeInterface::LoadRuntime()
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed querying extension properties
Writing: /tmp/blender.crash.txt
Segmentation Error

Thanks ! =P

Hi there ! **System Information** Operating system: Linux-5.4.0-4-amd64-x86_64-with-debian-bullseye-sid 64 Bits Graphics card: Mesa DRI Intel(R) UHD Graphics 630 (Coffeelake 3x8 GT2) Intel Open Source Technology Center 4.6 (Core Profile) Mesa 19.3.3 **Blender Version** Broken: version: 2.83 (sub 9), branch: master, commit date: 2020-03-18 15:41, hash: `9e382dd2a3` Worked: IDK, VR is a new feature so it does not apply I guess ? **Short description of error** Blender crashes when starting the VR Session of the Scene Inspection addon in the VR tab of the N panel in the 3D view. Note that I did not read any documentation on how to install and use, but just wanted to have a look at this new thing =D If something from the host's configuration is missing (hardware, driver or so), ok I think not to run the VR Session, but at least display an error message in the status bar and no crash please =P **Exact steps for others to reproduce the error** - Start Blender anew with factory settings - In Preferences activate the VR Scene Inspection addon - In the 3D view, open the N panel and in the VR tab start the VR session... Running from the command line gives: ``` AL lib: (EE) GetLoadedHrtf: Invalid header in /usr/share/openal/hrtf/default-44100.mhr: "MinPHR02" AL lib: (EE) GetLoadedHrtf: Failed to load /usr/share/openal/hrtf/default-44100.mhr AL lib: (EE) GetLoadedHrtf: Invalid header in /usr/share/openal/hrtf/default-48000.mhr: "MinPHR02" AL lib: (EE) GetLoadedHrtf: Failed to load /usr/share/openal/hrtf/default-48000.mhr found bundled python: /home/xxx/blender-2.83-9e382dd2a3d8-linux64/2.83/python Error [GENERAL | | OpenXR-Loader] : RuntimeManifestFile::FindManifestFiles - failed to determine active runtime file path for this environment Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeInterface::LoadRuntimes - unknown error Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeInterface::LoadRuntimes - failed to find a valid runtime Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed to find default runtime with RuntimeInterface::LoadRuntime() Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed querying extension properties Writing: /tmp/blender.crash.txt Segmentation Error ``` Thanks ! =P
Author
Member

Added subscriber: @marcuspollio

Added subscriber: @marcuspollio
Author
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Julian Eisel self-assigned this 2020-03-19 00:01:49 +01:00
Member

From the error message I get that there is an error with loading the OpenXR runtime, there's most likely none installed or activated on your system.
I've already fixed a bug in the error handling during early session construction, which most likely caused this crash. (ac74a843d2)

Once the daily builds are updated you should see an error message, but it won't crash. Check the (to be updated) [how to test instructions ]]. Also check out the [https:*wiki.blender.org/wiki/Reference/Release_Notes/2.83/More_Features#Virtual_Reality:_First_Milestone|release notes for information on supported platforms.

So thanks for the report, but closing this as resolved. Should the error still not be resolved with new builds let me know! :)

From the error message I get that there is an error with loading the OpenXR runtime, there's most likely none installed or activated on your system. I've already fixed a bug in the error handling during early session construction, which most likely caused this crash. (ac74a843d2) Once the daily builds are updated you should see an error message, but it won't crash. Check the (to be updated) [how to test instructions ]]. Also check out the [[https:*wiki.blender.org/wiki/Reference/Release_Notes/2.83/More_Features#Virtual_Reality:_First_Milestone|release notes for information on supported platforms](https:*wiki.blender.org/wiki/User:Severin/GSoC-2019/How_to_Test). So thanks for the report, but closing this as resolved. Should the error still not be resolved with new builds let me know! :)
Author
Member

From the blender.crash.txt :

# Blender 2.83 (sub 9), Commit date: 2020-03-18 15:41, Hash 9e382dd2a3d8
Failed to query OpenXR runtime information. Do you have an active runtime set up?  # Error

# backtrace
/home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender(BLI_system_backtrace+0x1d) [0x7404e0d]
/home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender() [0x16b5a32]
/lib/x86_64-linux-gnu/libc.so.6(+0x3b7e0) [0x7fa66fcd97e0]
/home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender() [0x198def6]
/home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender(_ZNK15GHOST_XrContext20dispatchErrorMessageEPK17GHOST_XrException+0x53) [0x21c4ad3]
/home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender(GHOST_XrContextCreate+0x63) [0x21c4173]
/home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender(wm_xr_init+0x8d) [0x198de0d]
/home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender() [0x197a763]
/home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender() [0x196488b]
/home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender() [0x1964af7]
/home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender(WM_operator_name_call_ptr+0x1a) [0x1964ffa]
/home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender() [0x1f81a92]
/home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender() [0x1f91aa5]
/home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender() [0x196862d]
/home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender() [0x1968c7c]
/home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender(wm_event_do_handlers+0x312) [0x1969392]
/home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender(WM_main+0x20) [0x1960090]
/home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender(main+0x321) [0x15ec8f1]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7fa66fcc4e0b]
/home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender() [0x16b225c]
From the blender.crash.txt : ``` # Blender 2.83 (sub 9), Commit date: 2020-03-18 15:41, Hash 9e382dd2a3d8 Failed to query OpenXR runtime information. Do you have an active runtime set up? # Error # backtrace /home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender(BLI_system_backtrace+0x1d) [0x7404e0d] /home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender() [0x16b5a32] /lib/x86_64-linux-gnu/libc.so.6(+0x3b7e0) [0x7fa66fcd97e0] /home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender() [0x198def6] /home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender(_ZNK15GHOST_XrContext20dispatchErrorMessageEPK17GHOST_XrException+0x53) [0x21c4ad3] /home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender(GHOST_XrContextCreate+0x63) [0x21c4173] /home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender(wm_xr_init+0x8d) [0x198de0d] /home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender() [0x197a763] /home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender() [0x196488b] /home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender() [0x1964af7] /home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender(WM_operator_name_call_ptr+0x1a) [0x1964ffa] /home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender() [0x1f81a92] /home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender() [0x1f91aa5] /home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender() [0x196862d] /home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender() [0x1968c7c] /home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender(wm_event_do_handlers+0x312) [0x1969392] /home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender(WM_main+0x20) [0x1960090] /home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender(main+0x321) [0x15ec8f1] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7fa66fcc4e0b] /home/xxx/blender-2.83-9e382dd2a3d8-linux64/blender() [0x16b225c] ```
Author
Member

As of version: 2.83 (sub 10), branch: master, commit date: 2020-03-19 07:26, hash: fd48ff1296
it has been fixed indeed !

Thanks Julian !

As of version: 2.83 (sub 10), branch: master, commit date: 2020-03-19 07:26, hash: `fd48ff1296` it has been fixed indeed ! Thanks Julian !
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#74900
No description provided.