open address sanitizer flag,my app crash

中华 王 1 Reputation point
2021-12-03T10:58:16.947+00:00

When there are some binary modules in my process, the runtime options are / MT and / MD. When I open asan, it will crash. Why?
In addition to keeping all binaries consistent with the runtime library, what else can I do?who can help me T_T
Call Stack:
ntdll.dll!_RtlpBreakPointHeap@4 () Unknown
ntdll.dll!RtlpValidateHeapEntry() Unknown
ntdll.dll!RtlValidateHeap() Unknown
KernelBase.dll!_HeapValidate@12 () Unknown
ucrtbased.dll!_CrtIsValidHeapPointer(const void * block) Line 1407 C++
ucrtbased.dll!free_dbg_nolock(void * const block, const int block_use) Line 904 C++
ucrtbased.dll!_free_dbg(void * block, int block_use) Line 1030 C++
ucrtbased.dll!_freea_crt(void * memory) Line 317 C++
ucrtbased.dll!__crt_scoped_stack_ptr<wchar_t>::~__crt_scoped_stack_ptr<wchar_t>() Line 456 C++
ucrtbased.dll!__acrt_GetStringTypeA(__crt_locale_pointers * locale, unsigned long info_type, const char * string, int string_size_in_bytes, unsigned short * char_type, int code_page, int error) Line 99 C++
ucrtbased.dll!setSBUpLow(__crt_multibyte_data * ptmbci) Line 628 C++
ucrtbased.dll!_setmbcp_nolock(int codepage, __crt_multibyte_data * ptmbci) Line 744 C++
ucrtbased.dll!setmbcp_internal(const int requested_codepage, const bool is_for_crt_initialization, __acrt_ptd * const ptd, __crt_multibyte_data * * const current_multibyte_data) Line 424 C++
ucrtbased.dll!__acrt_initialize_multibyte() Line 919 C++

ucrtbased.dll!__acrt_execute_initializers(const __acrt_initializer * first, const __acrt_initializer * last) Line 25 C++

ucrtbased.dll!__acrt_initialize() Line 287  C++
ucrtbased.dll!DllMainProcessAttach() Line 24    C++
ucrtbased.dll!DllMainDispatch(HINSTANCE__ * __formal, const unsigned long fdwReason, void * const lpReserved) Line 63   C++
ucrtbased.dll!__acrt_DllMain(HINSTANCE__ * const hInstance, const unsigned long fdwReason, void * const lpReserved) Line 101    C++
ntdll.dll!_LdrxCallInitRoutine@16 ()    Unknown
ntdll.dll!LdrpCallInitRoutine() Unknown
ntdll.dll!LdrpInitializeNode()  Unknown
ntdll.dll!LdrpInitializeGraphRecurse()  Unknown
ntdll.dll!LdrpInitializeGraphRecurse()  Unknown
ntdll.dll!LdrpInitializeGraphRecurse()  Unknown
ntdll.dll!LdrpInitializeGraphRecurse()  Unknown
ntdll.dll!LdrpInitializeGraphRecurse()  Unknown
ntdll.dll!LdrpInitializeGraphRecurse()  Unknown
ntdll.dll!LdrpInitializeGraphRecurse()  Unknown
ntdll.dll!LdrpInitializeGraphRecurse()  Unknown
ntdll.dll!LdrpInitializeGraphRecurse()  Unknown
ntdll.dll!LdrpInitializeGraphRecurse()  Unknown
ntdll.dll!LdrpPrepareModuleForExecution()   Unknown
ntdll.dll!LdrpLoadDllInternal() Unknown
ntdll.dll!LdrpLoadDll() Unknown
ntdll.dll!LdrLoadDll()  Unknown
KernelBase.dll!LoadLibraryExW() Unknown
wemeetapp.exe!CAppModule::LoadModuleDll() Line 293  C++
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
938 questions
{count} votes