Skip to content

Heap Corruption in VuforiaEngine.dll causing crash in Windows.Mirage.dll (HoloLens 2) #207

@neichner

Description

@neichner

Summarize the bug:
When disabling tracking, and later turning on tracking in another room, in some cases it causes a heap corruption exception. I have been able to reproduce this in an empty project.

Observed problem
Here is the full call stack of the issue, it seems Vuforia is trying to remove a spatial anchor that is already cleaned up.

Image

Expected result
No crashing

Other observations
The bug is easiest to reproduce by losing slam tracking while having Vuforia tracking enabled. In some cases it will crash and crash dumps will usually lead to the above-mentioned call stack.

Reproducible steps
Steps to reproduce the behavior:

  1. Enable Tracking
  2. Cover the side camera's with your hands, or turn up the visor to limit tracking
  3. Wait for the crash, sadly, it isn't always reproducible

Affected Vuforia Engine version:
v11.1.3

Affected platform:

  • Workstation OS: Windows 11
  • Platform: Unity
  • Platform version 6000.0.49f1

Affected device:

  • Name: Hololens
  • Model: 2
  • OS: Latest Windows OS

Device or platform logs
Share any logs from the platform or device.

Workaround
Is there currently a workaround that you're using?
No

Additional comments
I have several .dmp files that I am willing to share privately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions