forked from dmoulding/vld
-
Notifications
You must be signed in to change notification settings - Fork 321
Open
Description
The 6.11.1.404 version of dbghelp.dll can't deal with some pdb details produced by VS2019/VS2022. It randomly crashes when reporting leaks.
I just build VLD from souce code, with the version 10 dbghelp.dll and debug it.
It seems that SymInitialize( ) of version 10 dbghelp.dll will load new dll, so it will call g_vld.RefreshModules() -> attachToLoadedModules() -> SymLoadModuleExW().
That means SymInitialize( ) will call SymLoadModuleExW( ), which breaks Microsoft API, because SymLoadModuleExW( ) requires that SymInitialize( ) succeeds first.
So we have to find a workaround for this, for example, postponne the call to symbol API SymInitialize/SymLoadModuleExW to the reporting phrase?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels