- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am attempting to analyze my .NET 2.0 application using VTune but the act of gathering the data to construct a Call Graph is causing an AccessViolationException to be thrown. I have traced the problem to a call to a ResourceManager object's GetObject method (stack trace below) when my code attempts to get an Icon from the resource manager.
I am running Intel VTune Performance Analyzer 8.0 Build:21288 for Windows.
This exception never occurs outside of VTune, nor does it occur with any activity type other than a Call Graph. Does anybody have any suggestions/input? Thanks.
-FYA
Stack Trace:
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context)
at System.Runtime.Serialization.Formatters.Binary.ReadObjectInfo.InitMemberInfo()
at System.Runtime.Serialization.Formatters.Binary.ReadObjectInfo.InitReadConstructor(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext
context)
at System.Runtime.Serialization.Formatters.Binary.ReadObjectInfo.Init(Type objectType, String[] memberNames, Type[] memberTypes, ISurrogateSelector surrogate
Selector, StreamingContext context, ObjectManager objectManager, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, Boolean bSimpleAssembly)
at System.Runtime.Serialization.Formatters.Binary.ReadObjectInfo.Create(Type objectType, String[] memberNames, Type[] memberTypes, ISurrogateSelector surroga
teSelector, StreamingContext context, ObjectManager objectManager, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, Boolean bSimpleAssembly)
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.CreateReadObjectInfo(Type objectType, String[] memberNames, Type[] memberTypes)
at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInf
ormationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryHeaderEnum binaryHeaderEnum)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAp
pDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCr
ossAppDomain, IMethodCallMessage methodCallMessage)
at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.ResourceReader.LoadObject( Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase, Boolean isString)
at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture)
at MyApp.Framework.Resource1.get_textIcon() in C:Viewsfya_myapp_sbxsoftwareproductsmyappframeworkcyframeworkResource1.Designer.cs:line
166
I am attempting to analyze my .NET 2.0 application using VTune but the act of gathering the data to construct a Call Graph is causing an AccessViolationException to be thrown. I have traced the problem to a call to a ResourceManager object's GetObject method (stack trace below) when my code attempts to get an Icon from the resource manager.
I am running Intel VTune Performance Analyzer 8.0 Build:21288 for Windows.
This exception never occurs outside of VTune, nor does it occur with any activity type other than a Call Graph. Does anybody have any suggestions/input? Thanks.
-FYA
Stack Trace:
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context)
at System.Runtime.Serialization.Formatters.Binary.ReadObjectInfo.InitMemberInfo()
at System.Runtime.Serialization.Formatters.Binary.ReadObjectInfo.InitReadConstructor(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext
context)
at System.Runtime.Serialization.Formatters.Binary.ReadObjectInfo.Init(Type objectType, String[] memberNames, Type[] memberTypes, ISurrogateSelector surrogate
Selector, StreamingContext context, ObjectManager objectManager, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, Boolean bSimpleAssembly)
at System.Runtime.Serialization.Formatters.Binary.ReadObjectInfo.Create(Type objectType, String[] memberNames, Type[] memberTypes, ISurrogateSelector surroga
teSelector, StreamingContext context, ObjectManager objectManager, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, Boolean bSimpleAssembly)
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.CreateReadObjectInfo(Type objectType, String[] memberNames, Type[] memberTypes)
at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInf
ormationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryHeaderEnum binaryHeaderEnum)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAp
pDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCr
ossAppDomain, IMethodCallMessage methodCallMessage)
at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.ResourceReader.LoadObject( Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase, Boolean isString)
at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture)
at MyApp.Framework.Resource1.get_textIcon() in C:Viewsfya_myapp_sbxsoftwareproductsmyappframeworkcyframeworkResource1.Designer.cs:line
166
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page