You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Handle AccessViolationException specifically for UpdateServiceProvider
116
+
DefaultTrace.TraceWarning("QueryPartitionProvider.Update failed with AccessViolationException: {0}",avEx.Message);
117
+
thrownewInvalidOperationException("Native service provider update failed due to memory access violation. This may indicate corrupted native libraries or incompatible configuration.",avEx);
// Specifically handle AccessViolationException which indicates native memory corruption
424
+
DefaultTrace.TraceWarning("QueryPartitionProvider.TryCreateServiceProvider failed with AccessViolationException: {0}",avEx.Message);
425
+
returnTryCatch<IntPtr>.FromException(newInvalidOperationException("Native service provider creation failed due to memory access violation. This may indicate corrupted native libraries or incompatible configuration.",avEx));
426
+
}
394
427
catch(Exceptionex)
395
428
{
396
429
DefaultTrace.TraceWarning("QueryPartitionProvider.TryCreateServiceProvider failed with exception {0}",ex.Message);
0 commit comments