Home

System.AccessViolationException when Launching LINQPad.exe version 5.43.0.0

I love LINQPad and have used it for many years, but for some reason it crashes now whenever I launch it. Here is what I see in the event log:

Fault bucket 1853395789992962587, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: LINQPad.exe
P2: 5.43.0.0
P3: 5ec9ea36
P4: mscorlib
P5: 4.8.4180.0
P6: 5e7d1e22
P7: 426a
P8: 7
P9: System.AccessViolationException
P10:

Attached files:
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERA1B8.tmp.dmp
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERA255.tmp.WERInternalMetadata.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERA285.tmp.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERA283.tmp.csv
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERA2B3.tmp.txt
\?\C:\Users\mtolman\AppData\Local\Temp\WERA2F4.tmp.appcompat.txt
\?\C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_LINQPad.exe_1d4dccd12ccc2391edbfe5728a73d213d4e19d26_a0f18bd1_cab_94adef4d-fa4c-43ce-87cd-69758eb041a1\memory.hdmp

These files may be available here:
\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_LINQPad.exe_1d4dccd12ccc2391edbfe5728a73d213d4e19d26_a0f18bd1_94adef4d-fa4c-43ce-87cd-69758eb041a1

Analysis symbol:
Rechecking for solution: 0
Report Id: 3d3d82f2-8c7c-4bd4-8e28-ba1e4bac4e4a
Report Status: 268435456
Hashed bucket: d99747e292de594079b895a6babc2a1b
Cab Guid: 0

Comments

  • FYI - I also see this error when I run LPRun.exe via the command line. Any ideas?

    C:\Program Files\LINQPad5>LPRun.exe
    FileLoadException: Could not load file or assembly 'Resources, Version=1.0.0.0, Culture=neutral, PublicKeyToken=21353812cd2a2db5' or one of its dependencies. Invalid pointer (Exception from HRESULT: 0x80004003 (E_POINTER))
    at LINQPad.Program.ConfigLanguageServices()
    at LINQPad.Program.CommonInit()
    at LINQPad.Cmd.LPCmd.Run(String[] args)Inner Exception: AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    at System.Reflection.RuntimeAssembly.nLoadImage(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence evidence, StackCrawlMark& stackMark, Boolean fIntrospection, Boolean fSkipIntegrityCheck, SecurityContextSource securityContextSource)
    at System.Reflection.Assembly.Load(Byte[] rawAssembly)
    at LINQPad.Reflection.InternalAssemblyResolver.FindAssem(String shortName)
    at LINQPad.Reflection.InternalAssemblyResolver.FindAssem(Object sender, ResolveEventArgs args)
    at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)

  • It's difficult to diagnose this kind of problem. Given that others users haven't reporting this issue, it's most likely related to the environment. Have you tried re-installing .NET Framework?

  • Thank you. Reinstalling .NET Framework worked.

Sign In or Register to comment.