Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Cascade of errors in Main if quit gracefully while Overlay app still running #16

Open
bradgrantham-lunarg opened this issue Nov 3, 2020 · 1 comment

Comments

@bradgrantham-lunarg
Copy link
Contributor

ENTER in hello_xr console (exit gracefully) on Samsung Odyssey / WinMR results in:

[Verbose [VALID_ERRORGENERAL |  | VUID-xrSyncActions-session-parameterxrDestroyInstance | OpenXR-Loader | ] : xrSyncActionsEntering loader trampoline]:
Invalid XrSession handle "session" 0x0000000000000000
  Objects:
XXX [ | xrDestroyInstance | OpenXR-Loader ] : Entering loader trampoline
   [0] - XrSession (0x0000000000000000)
Verbose [GENERAL | xrDestroyInstance | OpenXR-Loader] : Entering loader terminator
XXX [ | xrDestroyInstance | OpenXR-Loader ] : Entering loader terminator
Verbose [GENERAL | xrDestroyInstance | OpenXR-Loader] : Completed loader terminator
Verbose [[VALID_ERRORGENERAL | xrDestroyInstance |  | OpenXR-LoaderVUID-xrSyncActions-session-parameter] : Completed loader trampoline |
xrSyncActionsInfo []: GENERAL | Invalid XrSession handle "session" 0x0000000000000000xrDestroyInstance
 |   Objects:OpenXR-Loader
] : RuntimeInterface::UnloadRuntime - Unloading RuntimeInterface   [
0Info [GENERAL] -  |  | XrSessionOpenXR-Loader] : RuntimeInterface being destroyed.
 (0x0000000000000000)
[VALID_ERROR | VUID-xrAcquireSwapchainImage-swapchain-parameter | xrAcquireSwapchainImage]: Invalid XrSwapchain handle "swapchain" 0x00000000000000dc
  Objects:
d:\agent\_work\2\s\src\vctools\crt\crtw32\stdcpp\thr\mutex.c(51): mutex destroyed while busy

Appears to be a destroy of a child session 0x0 which errors from the Overlay Layer and then from core_validation, then a subsequent invalid swapchain destroy results in an MSVCRT assertion because... a Mutex is being held?
Possibly the same issue as #13

@bradgrantham-lunarg
Copy link
Contributor Author

The output in this issue contains the output for issue #13, but also has other issues. Re-run and store new debug output?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant