cpptrace icon indicating copy to clipboard operation
cpptrace copied to clipboard

Potential issues with module resolution on windows

Open jeremy-rifkin opened this issue 1 year ago • 1 comments

In #84 a stack trace was shown which included symbols that didn't make sense. I've had another user mention to me odd symbols in trace output on windows. I have been unable to reproduce such issues, verify the behavior, or investigate whether the problem lies in dbghelp or cpptrace.

I suspect, however, that if there is a problem it may be with how modules are handled in the dbghelp code.

I'll need more information to confirm this issue and resolve it.

jeremy-rifkin avatar Mar 15 '24 22:03 jeremy-rifkin

It looks like in the other user's case the issue was a leftover PDB from a debug build that became bogus for their release build. So, back to only one case. I will look into a way to check signatures between the pdb and exe, however, to prevent this.

jeremy-rifkin avatar Mar 16 '24 01:03 jeremy-rifkin