none
MAP inventory keeps crashing RRS feed

  • Question

  • I have installed and tried to run the newest MAP program on 3 different systems and it takes all of the CPU and Memory resources and then crashes and reboots the system. 
    One was Windows XP SP2 and the other 2 systems have been Windows 7 x64 RC.

    This happens anywhere from 15 to 25 minutes into the scan of 14,000 systems, but has never gotten past 500 systems checked.  I noticed that the program limits itself to about 300 threads, I wonder if there is a way to limit the nuber of threads further.

    Last part of the log below..

       at Microsoft.AssessmentPlatform.InventoryEngine.DeviceInventory.WmiClassesCollectionStep.CallWMIInfoGatherer(DeviceCollectionState deviceState, WMIInfoGatherer infoGatherer, String wmiNamespace, Dictionary`2 wmiClassMappingList, ItemStatusFlag& collectionStatus, WMIClassInfoCollection& wmiData)
       at Microsoft.AssessmentPlatform.InventoryEngine.DeviceInventory.WmiClassesCollectionStep.CollectClassesInNamespace(DeviceCollectionState deviceState, Dictionary`2 collectorClassMap, WMIInfoGatherer infoGatherer, ClassesInNamespaceRec rec)
       at Microsoft.AssessmentPlatform.InventoryEngine.DeviceInventory.WmiClassesCollectionStep.Execute(DeviceCollectionState deviceState)
       at Microsoft.AssessmentPlatform.InventoryEngine.WorkItems.DeviceInventoryWorkItem.InventoryWorkCallback()   at Microsoft.AssessmentPlatform.InventoryEngine.WorkItems.DeviceInventoryWorkItem.InventoryWorkCallback()
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.ERROR(String logString)
      0
    <Default 14:52:34> Error: InventoryWorkCallback() - Device(GUID={6ea44759-8395-4fb7-8acb-bc19633cf74a},DnsHostName='CAMBEZ41') : Caught unexpected exception and terminating inventory.
    System.BadImageFormatException: Invalid access to memory location. (Exception from HRESULT: 0x800703E6)
       at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
       at System.Management.ManagementScope.InitializeGuts(Object o)
       at System.Management.ManagementScope.Initialize()
       at Microsoft.AssessmentPlatform.InventoryEngine.WMIInfoGatherer.GetManagementScopeObject(String nodeName, String wmiNamespace)
       at Microsoft.AssessmentPlatform.InventoryEngine.WMIInfoGatherer.<>c__DisplayClass1.<GetManagementScopeObject>b__0()
       at Microsoft.AssessmentPlatform.InventoryEngine.InventoryUtilityFunctions.AttemptToImpersonate(WindowsIdentity identity, Int32& failReasonCode, authenticationTestDelegate authenticationTest)
       at Microsoft.AssessmentPlatform.InventoryEngine.InventoryUtilityFunctions.GetIdentityRef(List`1 identityList, CredentialInfoCollection NonSpecificCredentialCollection, String systemName, Int32& failReasonCode, authenticationTestDelegate authenticationTest)
       at Microsoft.AssessmentPlatform.InventoryEngine.WMIInfoGatherer.GetManagementScopeObject(String nodeName, String wmiNamespace, CredentialInfoCollection credentialInfoCollection, List`1 identityList, WindowsImpersonationContext& impersonatedUser)
       at Microsoft.AssessmentPlatform.InventoryEngine.WMIInfoGatherer.GetWMIClassInfoCollection(String nodeName, String wmiNamespace, Dictionary`2 wmiClassMappingList, CredentialInfo specificCredentialInfo, CredentialInfoCollection credentialInfoCollection, List`1 identityList)
       at Microsoft.AssessmentPlatform.InventoryEngine.DeviceInventory.WmiClassesCollectionStep.CallWMIInfoGatherer(DeviceCollectionState deviceState, WMIInfoGatherer infoGatherer, String wmiNamespace, Dictionary`2 wmiClassMappingList, ItemStatusFlag& collectionStatus, WMIClassInfoCollection& wmiData)
       at Microsoft.AssessmentPlatform.InventoryEngine.DeviceInventory.WmiClassesCollectionStep.CollectClassesInNamespace(DeviceCollectionState deviceState, Dictionary`2 collectorClassMap, WMIInfoGatherer infoGatherer, ClassesInNamespaceRec rec)
       at Microsoft.AssessmentPlatform.InventoryEngine.DeviceInventory.WmiClassesCollectionStep.Execute(DeviceCollectionState deviceState)
       at Microsoft.AssessmentPlatform.InventoryEngine.WorkItems.DeviceInventoryWorkItem.InventoryWorkCallback()   at Microsoft.AssessmentPlatform.InventoryEngine.WorkItems.DeviceInventoryWorkItem.InventoryWorkCallback()
      0   at Microsoft.AssessmentPlatform.Logging.FlatFileSink.ERROR(String logString)
      0
    <Default 14:52:34>  WorkCallback() - Completed InventoryWorkItem with description='DeviceInventoryWorkItem(GUID={012531c1-4a19-4564-99e4-6a61b17600a7},DnsHostName='CLY702046')'. Elapsed time: 00:03:48.744
    <UIConsole 14:52:34>  InventoryWorker.InventoryProgressChanged: Progress event.
    <UIConsole 14:52:34>  TaskProcessor.WorkerProgressChanged: Worker: 'Inventory'
    <UIConsole 14:52:34>  ProgressPage.TaskProgressChangedCallback

    Thanks for any suggestions
    Mark E Chambers
    Thursday, September 3, 2009 12:11 PM

All replies

  • Hi Mark,

    This is the first I have heard of such a drastic fault occurring.  Sorry it had to happen to you…L

     

    Would it be possible to get some more information from you?   The more data we can get on this the better to help investigate:

     

    Crash dump files

    MAPS log files

    MSINFO32 exported data.

     

    If this is happening on more than one machine please provide logs for as many machines as you can repro this issue on.

     

    Thanks,

    Eric

    Thursday, September 3, 2009 6:11 PM
  • I am having the same problem as Mark, has there been a solution for this issue?
    Friday, January 15, 2010 2:46 AM
  • We never received those logs, and would still enjoy the opportunity to investigate this issue.


    You may try updateing to the latest build first though...

    Friday, January 15, 2010 3:48 PM