Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Symbolization issue in agent_logger #46

Open
sebmarchand opened this issue Jun 14, 2016 · 0 comments
Open

Symbolization issue in agent_logger #46

sebmarchand opened this issue Jun 14, 2016 · 0 comments
Assignees

Comments

@sebmarchand
Copy link
Contributor

agent_logger.exe is failing to symbolize the stack traces.

The symbolization is done in the AgentLogger::AppendTrace, this function do the following things:

  1. It initialize the symbol handler via SymInitialize, this is working fine (or it at least return true)
  2. It append the path of the PDB of the running process to the symbol search path. This is working fine (we successfully augment the symbol search path with the path containing the PDBs that we need).
  3. It calls SymFromAddr for each line of this stack trace, this is currently failing, GetLastError returns the code 126 ("The specified module could not be found").

There's several possible culprits:

  • The version of dbghelp that we're using isn't the right one.
  • msdiaXXX.dll isn't registered (but it'll probably fail in the SymInitialize function if it was the case ?)
  • We're doing something silly in the AppendTrace function and we've been lucky, until today.

I suspect that it has started to fail with the switch to VS2015, or to the Win10 SDK.

@sebmarchand sebmarchand self-assigned this Jun 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant