none
AccessViolationException after windows Update RRS feed

  • Pergunta

  • 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)).

    1. Also it not only affect IMAPI it affect different places where Interop Marshaling is happening.
    2. Also we found AccessViolationException in our Reporting component. (LayoutManager.UpdatePageBreaks())
    3. 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()
    
    
    


    quinta-feira, 5 de setembro de 2019 06:59

Todas as Respostas

  • 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

    quinta-feira, 5 de setembro de 2019 07:11
  • Hi Sengupta,

    Thank you for your suggestion. 

    I have posted in KB article page as you motioned. However I cannot able to track this request.  Since this is priority issue I would like to know status .

    Thanks,

    sexta-feira, 6 de setembro de 2019 07:00
  • 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.

    domingo, 8 de setembro de 2019 06:29
    Moderador
  • 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.

    quinta-feira, 12 de setembro de 2019 17:43
    Moderador
  • Hi, 

    Still our problem not solved yet. even tried latest KB4516058, not solved the problem in those machines. 

    Thanks,

    quinta-feira, 19 de setembro de 2019 18:24
  • 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.

    terça-feira, 8 de outubro de 2019 02:42
    Moderador
  • Hi,

    We tried installing the KB4524149. Still problem exist. Issue not solved yet. 

    Thanks

    sexta-feira, 11 de outubro de 2019 12:41