Red Gate forums :: View topic - Memory Profiler Crash
Return to www.red-gate.com RSS Feed Available

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

Memory Profiler Crash

Search in ANTS Memory Profiler 7 forum
Post new topic   Reply to topic
Jump to:  
Author Message
sicknote



Joined: 12 Oct 2011
Posts: 2

PostPosted: Wed Oct 12, 2011 11:46 pm    Post subject: Memory Profiler Crash Reply with quote

Hi,

I'm trying to open ANTS Memory profiler and it fails to start. When trying to launch from Visual studio i get "Cannot find the trigger process executable" with the following stack trace:

The stack trace is ultimately garbage. Very little actual information is visible.

RedGate.Profiler.Engine.Exceptions.CannotStartSessionException
at .?.(TriggerFlags )
at ??...ctor()
at ??...ctor()
at ..get_Processes()
at RedGate.Memory.Engine.Factory.SessionFactoryFactory.GetAttachEnumerator(Boolean elevated)
at .??..ctor()
at .?..ctor(? )
at ?.?..ctor( , ? , ? )
at ?..??()

When I try to launch directly from explorer it fails with the exception 'Unable to create mutex. (Exception from HRESULT: 0x80131464)' with the following stack trace, which is again fairly garbled:

Unable to create mutex. (Exception from HRESULT: 0x80131464)
System.IO.IsolatedStorage.IsolatedStorageException
at System.IO.IsolatedStorage.IsolatedStorageFile.nOpen(String infoFile, String syncName)
at System.IO.IsolatedStorage.IsolatedStorageFile.Lock()
at System.IO.IsolatedStorage.IsolatedStorageFileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, IsolatedStorageFile isf)
at System.IO.IsolatedStorage.IsolatedStorageFileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, IsolatedStorageFile isf)
at ???.???.?()
at ???.???.()
at ???.???.?(UInt32 )
at ???.??.??(UInt32 )
at ?.?.?(String )
at ?.?.(Object , EventArgs )
at System.Windows.Forms.Control.OnTextChanged(EventArgs e)
at DevExpress.XtraEditors.TextEdit.OnTextChanged(EventArgs e)
at DevExpress.XtraEditors.TextEdit.OnEditValueChanged()
at DevExpress.XtraEditors.PopupBaseAutoSearchEdit.OnEditValueChanged()
at DevExpress.XtraEditors.BaseEdit.OnEditValueChanging(ChangingEventArgs e)
at DevExpress.XtraEditors.ComboBoxEdit.set_EditValue(Object value)
at ?.?..ctor()
at ..?()
at ...ctor()
at ..?()
at ...ctor()
at ?.?.?()
at ?.?..ctor()
at .??.?()
at .??..ctor()
at ..?()
at ...ctor()
at ..()
at ?..??()

Have tried various searches to fix this, and wondered if anyone had seen something similar. With a fix...

Also, there is nothing in event viewer, and log files in the app date folder are much the same as the stack traces above.

Cheers,

sicknote
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6581

PostPosted: Thu Oct 13, 2011 11:29 am    Post subject: Reply with quote

Hello,

Yes, sorry the product does such a poor job of telling you what's wrong with it. The last time this happened, we just had the user run ANTS Memory Profiler "as administrator". The error message, as it exists, points you totally in the wrong direction. It's actually a problem accessing the isolated storage.

This should be in your user profile so should not require elevation, but we have had dozens of reports of Windows malfunctioning like this where it worked after applying an administrator SACL.
Back to top
View user's profile Send private message
sicknote



Joined: 12 Oct 2011
Posts: 2

PostPosted: Thu Oct 13, 2011 12:19 pm    Post subject: Reply with quote

Hi,

Thanks for responding.

I have tried running the application as administrator, but receive the same [Cannot find the trigger process executable] exception.

What is the isolated storage, so I can locate it?

Any other potential solutions?

sicknote
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6581

PostPosted: Thu Oct 13, 2011 12:52 pm    Post subject: Reply with quote

Isolated Storage is built into the OS. You're not going to be able to "fix" it.

The trigger process is a separate executable in the ANTS Profiler program folder that's designed to prevent you from having to run as administrator (which doesn't appear to be working anyway).

Maybe you need to reinstall, or maybe the same rights defect in Windows is preventing you from having access to the ANTS Memory Profiler program folder.

Anyway, if you can get it running by launching from Explorer and running as administrator, I'm willing to bet the process enumeration is failing because ANTS Memory Profiler assumes that the process handles are accessible to everybody, but in reality, some security programs (Kaspersky in particular) change the ACL on the process handle so only SYSTEM can access it. So you may want to try disabling Kaspersky or whatever anitvirus you use and try again.
Back to top
View user's profile Send private message
develax



Joined: 16 Jul 2012
Posts: 1

PostPosted: Mon Jul 16, 2012 7:55 pm    Post subject: Reply with quote

I run into the same problem these days. To solve the problem go to c:\Program Files\Red Gate\ANTS Memory Profiler 7\ and run RedGate.MemoryProfiler.UI.exe as administrator. Running the shortcut the same way didn't help.
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