Access Violation when taking snapshot of windows service

dandrusdandrus Posts: 2
edited July 22, 2014 11:37AM in ANTS Memory Profiler 8
Hi,

I am trying to evaluate ANTS in profiling a GEN2 leak in GC for .net2 process. I am successfully attaching to the process, however it kills the service when taking the snapshot:


Faulting application name: SW.exe, version: 7.0.3.6341, time stamp: 0x53486a5c
Faulting module name: KERNELBASE.dll, version: 6.3.9600.16384, time stamp: 0x5215fa76
Exception code: 0xc0000005
Fault offset: 0x0000000000008384
Faulting process id: 0xad0
Faulting application start time: 0x01cfa4f2412ca1a1
Faulting application path: C:\Program Files\SW\SW.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 95e7ef29-10e5-11e4-80c4-005056965a3f
Faulting package full name:

and then

.NET Runtime version 2.0.50727.7905 - Failed to CoCreate profiler

this is a 64 bit process. regardless what I choose from options, it always crashes the service when creating snapshot.

Is there any workaround or anything I can do?

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Is there is Windows event log entry from around that time that also mentions a location for a *mdmp file? The mini-dump can be loaded into windbg and we can try to work out what the program was doing approximately when it failed. For this reason, it would be tremendously helpful if we could have this file.

    If you don't see such information, I think there are some settings you can change in the registry that will get Windows Error Reporting to create a dump file automatically when a program crashes.
Sign In or Register to comment.