Unhandled exception at 0x778640f2 (ntdll.dll) in VSPerfMon.exe: 0xC0000374: A heap has been corrupted.

Locked Unhandled exception at 0x778640f2 (ntdll.dll) in VSPerfMon.exe: 0xC0000374: A heap has been corrupted.

  • venerdì 4 maggio 2012 04:22
     
     

    1. Instrumented my Azure service DLLs using vsinstr.exe. 
    2. Started coverage monitor using vsperfcmd.exe.
    3. Running Azure service on local emulator using csrun.exe

    No clue why I am getting following error:

    Faulting application name: VSPerfMon.exe, version: 10.0.30319.1, time stamp: 0x4ba23ad7
    Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec4aa8e
    Exception code: 0xc0000005
    Fault offset: 0x000000000002bb6f
    Faulting process id: 0x2cec
    Faulting application start time: 0x01cd29782d80706f
    Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Performance Tools\x64\VSPerfMon.exe
    Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
    Report Id: 8ca1f9f7-956b-11e1-bf30-00155d889209

    Fault bucket 63783591, type 4
    Event Name: APPCRASH
    Response: Not available
    Cab Id: 1761439495

    Problem signature:
    P1: VSPerfMon.exe
    P2: 10.0.30319.1
    P3: 4ba23ad7
    P4: ntdll.dll
    P5: 6.1.7601.17725
    P6: 4ec4aa8e
    P7: c0000005
    P8: 000000000002bb6f
    P9: 
    P10: 

    Attached files:
    C:\Users\test\AppData\Local\Temp\2\WER4320.tmp.WERInternalMetadata.xml
    C:\Users\test\AppData\Local\Temp\2\WER4BBC.tmp.appcompat.txt
    C:\Users\test\AppData\Local\Temp\2\WER4BEC.tmp.mdmp

    These files may be available here:


    Analysis symbol: 
    Rechecking for solution: 0
    Report Id: 8ca1f9f7-956b-11e1-bf30-00155d889209
    Report Status: 8

Tutte le risposte

  • venerdì 4 maggio 2012 00:14
     
     

    1. Instrumented my Azure service DLLs using vsinstr.exe.
    2. Started coverage monitor using vsperfcmd.exe.
    3. Running Azure service on local emulator using csrun.exe

    No clue why I am getting following error:

    Faulting application name: VSPerfMon.exe, version: 10.0.30319.1, time stamp: 0x4ba23ad7
    Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec4aa8e
    Exception code: 0xc0000005
    Fault offset: 0x000000000002bb6f
    Faulting process id: 0x2cec
    Faulting application start time: 0x01cd29782d80706f
    Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Performance Tools\x64\VSPerfMon.exe
    Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
    Report Id: 8ca1f9f7-956b-11e1-bf30-00155d889209

    Fault bucket 63783591, type 4
    Event Name: APPCRASH
    Response: Not available
    Cab Id: 1761439495

    Problem signature:
    P1: VSPerfMon.exe
    P2: 10.0.30319.1
    P3: 4ba23ad7
    P4: ntdll.dll
    P5: 6.1.7601.17725
    P6: 4ec4aa8e
    P7: c0000005
    P8: 000000000002bb6f
    P9:
    P10:

    Attached files:
    C:\Users\test\AppData\Local\Temp\2\WER4320.tmp.WERInternalMetadata.xml
    C:\Users\test\AppData\Local\Temp\2\WER4BBC.tmp.appcompat.txt
    C:\Users\test\AppData\Local\Temp\2\WER4BEC.tmp.mdmp

    These files may be available here:


    Analysis symbol:
    Rechecking for solution: 0
    Report Id: 8ca1f9f7-956b-11e1-bf30-00155d889209
    Report Status: 8

  • lunedì 7 maggio 2012 05:15
    Moderatore
     
     

    Hi Poojasingh,

    Thank you for posting in the MSDN forum.

    Would you mind letting us know more information? Can you share us the detailed steps about what you are doing? What result did you want to get? Do you mean that you are using the Visual Studio Performance Tools (Profiler) to get the code coverage?

    It seems that it is also related to Windows Azure, so it will be better if you could provide more information.

    Best Regards,


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us

  • domenica 22 luglio 2012 14:09
     
     

    I'm having a very similar issue.

    I have a couple (10) of processes, all on the same machine, and they all use a few (8) common binaries.

    Here are my steps for code coverage:

    1) used vsinstr.exe to insrument my binaries.

    2) calling vsperfcmd.exe /START:COVERAGE /OUTPUT:D:\myoutput.coverage /CS /USER:myuser

    3) calling vsperfcmd.exe /GLOBALOFF (because i'm not intrested in collecting data during the next phase).

    4) warmup for my processes. The warmup is achived by invoking various calls on the API the proccesses expose, which basically makes them load data and start various initializing logic. During this phase, The vsperfmon.exe process, crashes with the same error as posted above.

    I found this article: http://connect.microsoft.com/VisualStudio/feedback/details/689937/vsperf-console-performance-monitor-crash
    which suggests that a certain KB (KB 2679717) might solve this issue, however i couldn't find this KB anywhere.

    I did notice the following:

    Vsperfmon.exe does not crash if i limit the number of proccesses. For example, it might work for 6 instrumented processes, but will crush on the 7.

    Thanks in advance for your help.