Access violation reading location 0x00000001; VS fatal crash

Access violation reading location 0x00000001; VS fatal crash

Postby jakub misek » Wed Oct 17, 2012 6:24 pm

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:
Code: Select all
Unhandled exception at 0x772715de in devenv.exe: 0xC0000005: Access violation reading location 0x00000001
... ... ...
[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
Posts: 1
Joined: Wed Oct 17, 2012 5:44 pm

Return to .NET Reflector 7.0 Feedback

Who is online

Users browsing this forum: No registered users and 0 guests