Tazatel
AccessViolationException after windows Update

Dotaz
-
AccessViolationException when we try to access the IMAPI objects. This seems to be happen in few machines after windows update (August 13, 2019—KB4512501 (OS Build 17134.950)).
- Also it not only affect IMAPI it affect different places where Interop Marshaling is happening.
- Also we found AccessViolationException in our Reporting component. (LayoutManager.UpdatePageBreaks())
- UCMS IT service tool also crashing because of the same issue.
Currently we found it is happening in 4 machines after this KB update. Once we uninstall we don’t see this issue.
Attached call stack for various places.
Optical Drive: _______________________ Application: syngo.DS.FE.Shell.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException at System.Runtime.InteropServices.CustomMarshalers.EnumeratorViewOfEnumVariant.GetEnumVariant() at System.Runtime.InteropServices.CustomMarshalers.EnumeratorViewOfEnumVariant.MoveNext() at syngo.DS.FE.LocalMedia.OpticalDrive.OpticalDrives+<get_DeviceIds>d__8.MoveNext() at System.Linq.Enumerable+WhereEnumerableIterator`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at syngo.DS.FE.LocalMedia.OpticalDrive.OpticalDrives.GetMediaRecorders(syngo.DS.FE.LocalMedia.OpticalDrive.DeviceType, System.Func`2<syngo.DS.FE.LocalMedia.OpticalDrive.IMediaRecorder,Boolean>) at syngo.DS.FE.LocalMedia.ViewModels.CustomExportDialogViewModel.AvailableOpticalDrive() at syngo.DS.FE.LocalMedia.ViewModels.CustomExportDialogViewModel.GetDvdList() at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) at System.Threading.Tasks.Task.ExecuteEntry(Boolean) at System.Threading.ThreadPoolWorkQueue.Dispatch() Reporting: ________________________________________ Unhandled exception in Reporting: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at System.Runtime.InteropServices.CustomMarshalers.EnumeratorViewOfEnumVariant.GetEnumVariant() at System.Runtime.InteropServices.CustomMarshalers.EnumeratorViewOfEnumVariant.MoveNext() at KinetDx.CommonUtilities.HTMLUtilities.<GetAllVisibleHtmlElementsHelper>d__3.MoveNext() in d:\ProductFolder\Main\Report\Common\CommonUtilities\HTMLUtilities.cs:line 71 at KinetDx.CommonUtilities.HTMLUtilities.<GetAllVisibleHtmlElements>d__5.MoveNext() in d:\ProductFolder\Main\Report\Common\CommonUtilities\HTMLUtilities.cs:line 122 at KinetDx.Report.LayoutManager.ClearSectionsWithPageBreaks() in d:\ProductFolder\Main\Report\Report\LayoutManager.cs:line 514 at KinetDx.Report.LayoutManager.UpdatePageBreaks() in d:\ProductFolder\Main\Report\Report\LayoutManager.cs:line 557 ________________________________________ UCMS: ________________________________________ Application: UCMS.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException at System.Runtime.InteropServices.CustomMarshalers.EnumeratorViewOfEnumVariant.GetEnumVariant() at System.Runtime.InteropServices.CustomMarshalers.EnumeratorViewOfEnumVariant.MoveNext() at UCMS.Service.CoreService.ivuxpQUO3XdKwTtYrJh(System.Object) at UCMS.Service.CoreService.O5NzMvBKX(Boolean, Boolean, Boolean) at UCMS.Service.CoreService.IkxQYFCLr() at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart()
Všechny reakce
-
You can pass your feedback by scrolling down to "Did this solve your problem?" on the bottom of the KB article page. Click on No tab and write your experience.
S.Sengupta,Microsoft MVP Windows and Devices for IT, Windows Insider MVP
-
-
Hi,
KB4512501 has been replaced by KB4512509.
Please check if the issue will occur after installing KB4512509.
Best Regards,
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com. -
Hi,
Was your issue solved?
If yes, would you like to share your solution in order that other community members could find the helpful reply quickly.
If no, please reply and tell us the current situation in order to provide further help.
Best Regards,Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com. -
-
Hi,
You may check if the issue persists after installing the latest 2019-10 Cumulative Update KB4524149.
Best Regards,
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- Navržen jako odpověď David_Ding2018Microsoft contingent staff, Moderator úterý 8. října 2019 2:43
-