System.AccessViolationException when parsing gaze position data
I'm submitting a...
- Bug report (I searched for similar issues and did not find one)
Current behavior
While using the GetGazeHidPositions() method to retrieve position information from the GazeMoved stream the call throws the following error intermittently:
System.AccessViolationException
HResult=0x800004003
Message=Attempted to read or write protected memory. this is often an indication that other memory is corrupt.
Source=
Expected behavior
Minimal reproduction of the problem with instructions
In the GazeMoved event handler a call to:
var positions = gazeHidPositionsParser.GetGazeHidPositions(args.CurrentPoint.HidInputReport);
often throws an error if the user switches between modes of acquiring position to calling the eye tracker's calibration with a call to:
bool ret = await GazeInput.GetGazePointer(this).RequestCalibrationAsync();
and after calibration is complete the user then goes back into acquiring position mode of the app.
Environment
Nuget Package(s):
Microsoft.Toolkit.Uwp.Input.GazeInteraction v5.1.0-build.1
Package Version(s):
Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [X] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] Insider Build (build number: )
App min and target version:
- [ ] Fall Creators Update (16299)
- [X] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] Insider Build (xxxxx)
Device form factor:
- [X] Desktop
- [ ] Mobile
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT
Visual Studio
- [X] 2017 (version: 15.8.7 )
- [ ] 2017 Preview (version: )
No response from the community. ping @nmetulev @Odonno @IbraheemOsama
This issue seems inactive. It will automatically be closed in 14 days if there is no activity.
This issue seems inactive. It will automatically be closed in 14 days if there is no activity.
Issue is inactive. It was automatically closed.