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

.NET Reflector Pro addin v6.1.0.11 crash in VS 2010

Hi,

.NET Reflector Pro addin v6.1.0.11 crash in VS 2010 during load, also I checked latest available EAP. It goes to SmartAssembly's unhandled exception handler and crash itself with VS 2010

I spent some time to get stack trace to help you while investigate why VS started to crash.

ModLoad: 76e10000 76f04000 C:\Windows\syswow64\WININET.dll
ModLoad: 753b0000 753b3000 C:\Windows\syswow64\Normaliz.dll
ModLoad: 77260000 77295000 C:\Windows\syswow64\ws2_32.DLL
ModLoad: 75320000 75326000 C:\Windows\syswow64\NSI.dll
ModLoad: 73ab0000 73af4000 C:\Windows\SysWOW64\dnsapi.DLL
ModLoad: 74910000 7492c000 C:\Windows\SysWOW64\iphlpapi.DLL
ModLoad: 74900000 74907000 C:\Windows\SysWOW64\WINNSI.DLL
ModLoad: 5a850000 5a860000 image5a850000
ModLoad: 0bdf0000 0be00000 image0bdf0000
ModLoad: 5a840000 5a848000 image5a840000
ModLoad: 0be00000 0be08000 image0be00000
ModLoad: 5a830000 5a83a000 c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\msenvmnu.dll
ModLoad: 5a700000 5a7a6000 Microsoft.VisualBasic.dll
ModLoad: 0c070000 0c116000 Microsoft.VisualBasic.dll
ModLoad: 58e50000 5900f000 C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.VisualBas#\e8ab3b63bade82c3522613f2b1240c0d\Microsoft.VisualBasic.ni.dll
ModLoad: 5a820000 5a82e000 Microsoft.VSPowerToys.ResourceRefactor.dll
ModLoad: 0be10000 0be1e000 Microsoft.VSPowerToys.ResourceRefactor.dll
ModLoad: 5a810000 5a81e000 ResourceRefactor.Common.CSharp.dll
ModLoad: 0be20000 0be2e000 ResourceRefactor.Common.CSharp.dll
ModLoad: 0d940000 0db36000 image0d940000
ModLoad: 0db40000 0dd36000 image0db40000
ModLoad: 598c0000 5996a000 C:\Windows\Microsoft.NET\Framework\v4.0.30319\diasymreader.dll
ModLoad: 5a7c0000 5a806000 log4net.dll
ModLoad: 0c120000 0c166000 log4net.dll
ModLoad: 55e10000 55ee6000 System.Web.Services.dll
ModLoad: 0d510000 0d5e6000 System.Web.Services.dll
ModLoad: 548f0000 54aba000 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Web.Services\149f2dcb9c9706e592d1980a945850c2\System.Web.Services.ni.dll
ModLoad: 0dd40000 0e02e000 image0dd40000
ModLoad: 0e030000 0e31e000 image0e030000
ModLoad: 5a6f0000 5a700000 VsWebSite.Interop.dll
ModLoad: 0bee0000 0bef0000 VsWebSite.Interop.dll
ModLoad: 5a6d0000 5a6e6000 image5a6d0000
ModLoad: 0c000000 0c016000 image0c000000
ModLoad: 5a6d0000 5a6e6000 C:\Windows\assembly\GAC\VSLangProj80\8.0.0.0__b03f5f7f11d50a3a\VSLangProj80.dll
ModLoad: 5a6c0000 5a6cc000 image5a6c0000
ModLoad: 0c020000 0c02c000 image0c020000
ModLoad: 598a0000 598b4000 image598a0000
ModLoad: 0c180000 0c194000 image0c180000
ModLoad: 5a6b0000 5a6bc000 image5a6b0000
ModLoad: 0c1a0000 0c1ac000 image0c1a0000
ModLoad: 53310000 53984000 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Data\92cccedc7cda413ff6fc6492cb256b58\System.Data.ni.dll
ModLoad: 52f70000 5324c000 C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll
log4net:WARN XmlHierarchyConfigurator: Unable to set property [securityContext] on object [log4net.Appender.FileAppender] using value [log4net.Util.NullSecurityContext.Instance] (with acceptable conversion types)
ModLoad: 51f90000 521aa000 c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Packages\Debugger\vsdebug.dll
ModLoad: 74ea0000 74ea5000 C:\Windows\SysWOW64\MSIMG32.dll
(3f68.4198): CLR exception - code e0434352 (first chance)
(3f68.4198): CLR exception - code e0434352 (first chance)
(3f68.4198): CLR exception - code e0434352 (first chance)
(3f68.4198): CLR exception - code e0434352 (first chance)
(3f68.4198): CLR exception - code e0434352 (first chance)
ModLoad: 0d890000 0d8da000 c:\Windows\SysWOW64\mscoree.dll
ModLoad: 55ca0000 55e04000 VsDebugPresentationPackage.dll
ModLoad: 0dd90000 0def4000 VsDebugPresentationPackage.dll
ModLoad: 59880000 59894000 image59880000
ModLoad: 0d760000 0d774000 image0d760000
ModLoad: 51bc0000 51f8f000 C:\Windows\assembly\NativeImages_v4.0.30319_32\VsDebugPresentation#\65a25c13b2c149abcd02e1b303a8b3ea\VsDebugPresentationPackage.ni.dll
ModLoad: 54620000 54784000 VsDebugPresentationPackage.dll
ModLoad: 0dd90000 0def4000 VsDebugPresentationPackage.dll
(3f68.4198): CLR exception - code e0434352 (!!! second chance !!!)
eax=0bfff074 ebx=00000005 ecx=00000005 edx=00000000 esi=0bfff120 edi=0b820848
eip=7617b727 esp=0bfff074 ebp=0bfff0c4 iopl=0 nv up ei pl nz ac pe nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000216
KERNELBASE!RaiseException+0x58:
7617b727 c9 leave


0:017> kb 2000
ChildEBP RetAddr Args to Child
0bfff0c4 790dac08 e0434352 00000001 00000005 KERNELBASE!RaiseException+0x58
0bfff154 790dae41 04399430 00000000 00000000 clr!RaiseTheExceptionInternalOnly+0x276
0bfff214 0c3f8575 0bfff400 790dddc2 0bfff784 clr!IL_Throw+0x14c
*** WARNING: Unable to verify checksum for C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\246f1a5abb686b9dcdf22d3505b08cea\mscorlib.ni.dll
WARNING: Frame IP not in any known module. Following frames may be wrong.
0bfff330 5789d871 03c273b0 57827ff4 03c28230 0xc3f8575
0bfff354 57862b66 00000001 03f32e40 00000000 mscorlib_ni+0x2ad871
0bfff370 578623f3 00000000 00000000 03f334e4 mscorlib_ni+0x272b66
0bfff3bc 57862299 76180dae 00000000 00000000 mscorlib_ni+0x2723f3
0bfff3d4 790521db 00000000 74c319c4 0bfff460 mscorlib_ni+0x272299
0bfff3e4 79074a2a 0bfff4b0 00000000 0bfff480 clr!CallDescrWorker+0x33
0bfff460 79074bcc 0bfff4b0 00000000 0bfff480 clr!CallDescrWorkerWithHandler+0x8e
0bfff5a4 79074c01 5786226c 0bfff5ec 00000000 clr!MethodDesc::CallDescr+0x194
0bfff5c0 790d9c29 5786226c 0bfff5ec 00000000 clr!MethodDesc::CallTargetWorker+0x21
0bfff6a0 79105c05 0bfff92e 0bfff784 0b820848 clr!QueueUserWorkItemManagedCallback+0x4b
0bfff6b4 79105c87 0bfff7cc edb7d75d 0bfff7cc clr!Thread::DoExtraWorkForFinalizer+0x114
0bfff764 79105d42 0bfff7cc edb7d7fd 006136d8 clr!Thread::ShouldChangeAbortToUnload+0x101
0bfff7c4 79105dd9 00000001 00000000 00000001 clr!Thread::ShouldChangeAbortToUnload+0x399
0bfff7e8 791d56d5 00000001 790d9bde 0bfff92e clr!Thread::ShouldChangeAbortToUnload+0x43a
0bfff800 790d9b67 00000001 790d9bde 0bfff92e clr!ManagedThreadBase::ThreadPool+0x15
0bfff8cc 791d525f 0bfff92f 0bfff92e edb7d905 clr!ManagedPerAppDomainTPCount::DispatchWorkItem+0xe6
0bfff93c 791d6ac5 00000000 edb7d99d 00000000 clr!ThreadpoolMgr::NewWorkerThreadStart+0x20b
0bfff9a4 79105a08 00000000 77739fbc 77739f6a clr!ThreadpoolMgr::WorkerThreadStart+0x3d1
0bfffcbc 754a3677 0b820370 0bfffd08 77739d72 clr!Thread::intermediateThreadProc+0x4b
0bfffcc8 77739d72 0b820370 671ae53b 00000000 kernel32!BaseThreadInitThunk+0xe
0bfffd08 77739d45 791059c0 0b820370 00000000 ntdll!__RtlUserThreadStart+0x70
0bfffd20 00000000 791059c0 0b820370 00000000 ntdll!_RtlUserThreadStart+0x1b

0:017> !clrstack
OS Thread Id: 0x4198 (17)
Child SP IP Call Site
0bfff1cc 7617b727 [HelperMethodFrame: 0bfff1cc]
0bfff21c 0c3f8575 .„.
Sentinel
0

Comments

3 comments

  • Clive Tong
    Thanks for the detailed report - I'll take a look at it.
    Clive Tong
    0
  • Clive Tong
    Reflector Pro stores information about the decompiled set of methods in a database that it maintains at your equivalent of C:\Profiles\clive.tong\Local Settings\Application Data\Red Gate\.NET Reflector 6\Cache\MethodLocations.db

    From the information in the stacktrace, it looks as if this data file has got corrupted. We can confirm this if you send the file to us.

    You can workaround the problem by deleting the file - you will lose location information for existing decompiled assemblies, though this will be regenerated when assemblies are decompiled in the future.

    I'd add some more error handling code into the next EAP to stop this crashing.

    Thanks for the detailed report, which I've logged as RP-719.
    Clive Tong
    0
  • Sentinel
    Sorry for delay, I miss your reply.

    I sent MethodLocations.db to support as you requested. It seems you are right. I deleted MethodLocations.db and addin started to work as usually. Thank you.
    Sentinel
    0

Add comment

Please sign in to leave a comment.