- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have a site license for VTune and are using version 8 build 21288.
Whenever we try to launch a .NET application in VS2005 with the integrated VTune or when we launch the .NET app from the VTune GUI application it causes our .NET application to start throwing exceptions of the following sort:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.ServiceModel.SynchronizedPool`1..ctor(Int32 maxCount)
at System.ServiceModel.Channels.BufferManager.PooledBufferManager..ctor(Int64 maxMemoryToPool, Int32 maxBufferSize)
at System.ServiceModel.Channels.TransportChannelListener.OnOpening()
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open()
It's a WCF app (.NET 3.0)
Basically the exception is only thrown when using VTune -- in this case the Call Graph Analyzer. This looks like there is some sort of priveledge problem with VTune and .NET protection mechanisms.
This appears to be the same problem as another recent post on this board: "Problem with VTune in Mixed Software Architecture".
Any suggested system settings fixes?
Thank you.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We all have adminstrative rights. I don't think it's a priveledge issue as I wrote above.
I believe this is more likely an instrumentation bug with VTune.
After all, the app runs. But when certain modules execute an exception happens. But only when those modules execute.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
All right, thanks.
My bad. Next time I'll RTFRN first.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page