How can we help you today? How can we help you today?

Access violation reading location 0x00000001; VS fatal crash

I have installed Reflector integration (VS12). After opening a project (not C# but another project types, or empty solutions with attached processes etc..), Visual Studio crashes. I was able to attach to devenv.exe and obtain memory dump.

Call stack:
Unhandled exception at 0x772715de in devenv.exe: 0xC0000005: Access violation reading location 0x00000001
... ... ...
kernel32.dll!750714dd() 	 
ole32.dll!74fac8e2() 	 
ole32.dll!74ea98ad() 	 
[Managed to Native Transition]	 
[Native to Managed Transition]	 
[Managed to Native Transition]	 
RedGate.Reflector.VsPackage.dll!..() + 0x112 bytes	 
RedGate.Reflector.VsPackage.dll!..ProcessProjectReferences(EnvDTE.Project project, System.Action<RedGate.Reflector.VsPackage.Engine.AssemblyReference,RedGate.Reflector.Tools.ProcessorArchitecture> action, RedGate.Reflector.VsPackage.Engine.ProcessProjectReferencesOptions options, System.Action<string> failedToResolveAction) + 0x359 bytes	 
RedGate.Reflector.VsPackage.dll!...() + 0x46 bytes	 
RedGate.Reflector.VsPackage.dll!..() + 0x6f bytes	 
RedGate.Reflector.VsPackage.dll!..(System.Action<RedGate.Reflector.VsPackage.Engine.AssemblyReference,RedGate.Reflector.Tools.ProcessorArchitecture> action, System.Action<string> failedToResolveAction) + 0x6c bytes	 
RedGate.Reflector.VsPackage.dll!..(out bool someReferencesUnresolved) + 0x1c8 bytes	 
RedGate.Reflector.VsPackage.dll!..GetDirectlyReferencedAssemblies(out bool unReferencedAssemblies) + 0x16a bytes	 
RedGate.Reflector.VsPackage.dll!RedGate.Reflector.VsPackage.Gui.RobToolWindow.(out bool missingReferences) + 0x14f bytes	 
RedGate.Reflector.VsPackage.dll!RedGate.Reflector.VsPackage.Gui.RobToolWindow..() + 0x2f bytes	 
RedGate.Reflector.VsPackage.dll!?..() + 0x2f bytes	 
RedGate.Reflector.VsPackage.dll!?..() + 0x53 bytes	 
RedGate.Reflector.VsPackage.dll!RedGate.Reflector.VsPackage.Gui.RobToolWindow.() + 0xb0 bytes	 
RedGate.Reflector.VsPackage.dll!..() + 0x142 bytes	 

Due to obfuscation, I was not able to look onto last managed method on the stack, but I can provide locals of ProcessProjectReferences method ... or whole memory dump if anybody is interested ...

Do you have any hints, what can cause crashing like this? It seams reflector is reading project configuration properties here.

EDIT: I think, it crashes if the project does not have <PlatformTarget> property ...
jakub misek
0

Add comment

Please sign in to leave a comment.