Click on security log and spam the refresh a bit.
"Exception of type 'System.ExecutionEngineException' was thrown."
Specifically in
StartHandlingSecurityLogEvents(true)
...
dataView = CollectionViewSource.GetDefaultView(EventsReader.Entries);
gridLog.ItemsSource = dataView;
Upon changing to
dataView = CollectionViewSource.GetDefaultView(EventsReader.Entries);
gridLog.ItemsSource = null;
gridLog.ItemsSource = dataView;
I instead got an exception
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
- it understandably caused issues in other parts of the code which depended in it being initialised.
The issue seems to only happen before the numebr of new entries gets updated
Click on security log and spam the refresh a bit.
"Exception of type 'System.ExecutionEngineException' was thrown."
Specifically in
Upon changing to
I instead got an exception
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.The issue seems to only happen before the numebr of new entries gets updated