none
Application abrupty terminated by Kernelbase.dll RRS feed

  • Question

  • I have application developed with multithreaded code. When I run application with 62 threads after 20 minutes of run application is terminated abruptly. After analyzing data I found below error in eventviewer - Can someone please help to understand whats going on in here ?

    - System

      - Provider

       [ Name]  .NET Runtime

      - EventID 1026

       [ Qualifiers]  0

       Level 2

       Task 0

       Keywords 0x80000000000000

      - TimeCreated

       [ SystemTime]  2019-10-03T21:16:48.217148200Z

       EventRecordID 375301

       Channel Application

       Computer SW550SPIIQPA007.visa.com

       Security

    - EventData

       Application: WindowsETLJob.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.Management.ManagementException at System.Management.ManagementException.ThrowWithExtendedInfo(System.Management.ManagementStatus) at System.Management.ManagementObjectCollection+ManagementObjectEnumerator.MoveNext() at System.Management.ManagementObjectCollection.get_Count() at WindowsETLJob.Util.WindowsConnector+<>c__DisplayClass5.<FetchAccounts>b__0() at System.Threading.ThreadHelper.ThreadStart_Context(System.Object) 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() 

       

       

       - System

      - Provider

       [ Name]  Application Error

      - EventID 1000

       [ Qualifiers]  0

       Level 2

       Task 100

       Keywords 0x80000000000000

      - TimeCreated

       [ SystemTime]  2019-10-03T21:16:48.435897900Z

       EventRecordID 375302

       Channel Application

       Computer SW550SPIIQPA007.visa.com

       Security

    - EventData

       WindowsETLJob.exe

       1.0.0.0

       5d643973

       KERNELBASE.dll

       10.0.14393.3085

       5d1d7bde

       e0434352

       000dc1e2

       c54

       01d57a2d17c1149e

       E:\SailpointWindows\ETLJob\WindowsETLJob.exe

       C:\Windows\System32\KERNELBASE.dll

       62c3c8ba-4d5f-477f-9882-7f8bb3f9341b

    Tuesday, October 8, 2019 6:41 PM

All replies

  • System.Management.ManagementObjectCollection uses WMI under the hood..

    Exception Info: System.Management.ManagementException at System.Management.ManagementException.ThrowWithExtendedInfo(System.Management.ManagementStatus) at System.Management.ManagementObjectCollection+ManagementObjectEnumerator.MoveNext() at System.Management.ManagementObjectCollection.get_Count()

    You are calling get_Count() and MoveNext() on something where you probably exceeded the intrinsic limit of the behind object.. you state after 62 threads.. it may be possible that it would be a 64 values array and you are moving after the latest position being it a zero based array???

    Just an hypotheses..

    HTH
    -mario

    Wednesday, October 9, 2019 7:25 AM