Red Gate forums :: View topic - Access Violation when taking snapshot of windows service
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Memory Profiler 8
ANTS Memory Profiler 8 forum

Access Violation when taking snapshot of windows service

Search in ANTS Memory Profiler 8 forum
Post new topic   Reply to topic
Jump to:  
Author Message
dandrus



Joined: 21 Jul 2014
Posts: 1

PostPosted: Mon Jul 21, 2014 3:55 pm    Post subject: Access Violation when taking snapshot of windows service Reply with quote

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?
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6678

PostPosted: Tue Jul 22, 2014 4:37 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group