psychxr icon indicating copy to clipboard operation
psychxr copied to clipboard

Access violation when calling `psychxr.drivers.libovr.shutdown()` (PsychXR 0.2.4)

Open mdcutone opened this issue 3 years ago • 1 comments

When shutdown() is called, the program exits with code -1073741819 (0xC0000005) indicating an access violation.

mdcutone avatar Jul 21 '21 16:07 mdcutone

Problem does not happen in the minimal libovr example. It seems that calling shutdown() after creating a swapchain (i.e. doing OpenGL stuff), results in the issue. Could be that LibOVR is trying to free something that it doesn't own or no longer exits at the time it's called.

Anybody else have additional insights or a solution?

mdcutone avatar Jul 21 '21 16:07 mdcutone