Access Violation when taking snapshot of windows service
dandrus
Posts: 2
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?
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
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.