Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
M
Monado
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 45
    • Issues 45
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 13
    • Merge Requests 13
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Monado
  • Monado
  • Issues
  • #98

Closed
Open
Opened Sep 22, 2020 by Samantha Bowen@SamanthaBowenContributor

Segfault when MND_headless enabled and creating session with graphics binding

This can be tested by modifying the hello_vr program in Khronos' OpenXR SDK Sources repository, though I initially discovered it in my own projects.

Where the segfault occurs depends on which graphics binding is used (in client_gl_compositor_init for OpenGL, and oxr_vk_get_physical_device for Vulkan), at least with my build of Monado. I believe this occurs because the compositor is left uninitialized as a result of this line of code in oxr_instance_create:

// Create the compositor, if we are not headless.
if (!inst->extensions.MND_headless) {

The OpenXR spec only says that applications that enable MND_headless extension may (not must) omit the graphics binding, though I'm aware it seems unusual to use MND_headless but not make a headless session.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: monado/monado#98