Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-LoadSymbol throws 0x806D000C #67

Closed
AloisKraus opened this issue Sep 25, 2023 · 0 comments
Closed

-LoadSymbol throws 0x806D000C #67

AloisKraus opened this issue Sep 25, 2023 · 0 comments

Comments

@AloisKraus
Copy link
Collaborator

Describe the bug
When loading symbols from Json File one can get

Exception caught in main: System.Runtime.InteropServices.COMException (0x806D000C): Exception from HRESULT: 0x806D000C
at Dia2Lib.IDiaDataSource3.loadDataFromPdb(String pdbPath)
at Microsoft.Diagnostics.Symbols.SymbolModule.<>c__DisplayClass11_0.<.ctor>b__0(IDiaDataSource3 s) in C:\Builds\Git\ETWAnalyzer\ETWAnalyzer\LoadSymbol\TraceEvent\SymbolModule.cs:line 280
at Microsoft.Diagnostics.Symbols.SymbolModule..ctor(SymbolReader reader, String pdbFilePath, Action`1 loadData) in C:\Builds\Git\ETWAnalyzer\ETWAnalyzer\LoadSymbol\TraceEvent\SymbolModule.cs:line 252
at Microsoft.Diagnostics.Symbols.SymbolModule..ctor(SymbolReader reader, String pdbFilePath) in C:\Builds\Git\ETWAnalyzer\ETWAnalyzer\LoadSymbol\TraceEvent\SymbolModule.cs:line 280

To Reproduce
Load a symbols from a json file with a pdb whose format is ancient.

Expected behavior
No exception

AloisKraus added a commit that referenced this issue Sep 25, 2023
  We no longer abort processing when encountering just one invalid pdb format.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant