我正在Visual Studio 2015下开发Windows窗体应用程序。它是从VS2008下运行的代码迁移而来的。
当我尝试启动应用程序的Debug版本时,在出现任何内容之前,我得到以下消息框。我还复制了调用堆栈。
我尝试了很多事情,例如使用不同的选项重新安装VS,更改目标平台版本,在23位和64位之间切换。什么都没用。
这是一个已知问题吗?我该如何解决?
我有点怀疑ucrtbased.dll出现问题,因为我发现了几篇关于VS2015的dll安装问题的帖子。
ucrtbased.dll!_msize_dbg(void * block, int block_use) Line 1059 C++
ucrtbased.dll!_recalloc_dbg(void * block, unsigned __int64 count, unsigned __int64 element_size, int block_use, const char * file_name, int line_number) Line 784 C++
ucrtbased.dll!_register_onexit_function::__l2::<lambda>() Line 112 C++
ucrtbased.dll!__crt_seh_guarded_call<int>::operator()<void <lambda>(void),int <lambda>(void) & __ptr64,void <lambda>(void) >(__acrt_lock_and_call::__l2::void <lambda>(void) && setup, _register_onexit_function::__l2::int <lambda>(void) & action, __acrt_lock_and_call::__l2::void <lambda>(void) && cleanup) Line 204 C++
ucrtbased.dll!__acrt_lock_and_call<int <lambda>(void) >(const __acrt_lock_id lock_id, _register_onexit_function::__l2::int <lambda>(void) && action) Line 961 C++
ucrtbased.dll!_register_onexit_function(_onexit_table_t * table, int(*)() function) Line 149 C++
mViz Comparator.exe!_onexit(int(*)() function) Line 268 C++
mViz Comparator.exe!atexit(void(*)() function) Line 276 C++
mViz Comparator.exe!__scrt_initialize_thread_safe_statics() Line 109 C++
00007ff889c217db() Unknown
00007ff889c2170f() Unknown
00007ff889c214be() Unknown
00007ff889c2105e() Unknown
00007ff889c20dc3() Unknown
00007ff889c209c3() Unknown
clr.dll!CallDescrWorkerInternal() Unknown
clr.dll!CallDescrWorkerWithHandler() Unknown
clr.dll!DispatchCallDebuggerWrapper(struct CallDescrData *,class ContextTransitionFrame *,int) Unknown
clr.dll!DispatchCallSimple() Unknown
clr.dll!MethodTable::RunClassInitEx() Unknown
clr.dll!MethodTable::DoRunClassInitThrowing() Unknown
clr.dll!MethodTable::CheckRunClassInitThrowing() Unknown
clr.dll!DomainFile::Activate() Unknown
clr.dll!DomainFile::DoIncrementalLoad() Unknown
clr.dll!AppDomain::TryIncrementalLoad() Unknown
clr.dll!AppDomain::LoadDomainFile() Unknown
clr.dll!AppDomain::LoadDomainAssemblyInternal() Unknown
clr.dll!AppDomain::LoadDomainAssembly() Unknown
clr.dll!AppDomain::LoadAssembly(class AssemblySpec *,class PEAssembly *,enum FileLoadLevel,struct AssemblyLoadSecurity *) Unknown
clr.dll!SystemDomain::ExecuteMainMethod() Unknown
clr.dll!ExecuteEXE(struct HINSTANCE__ *) Unknown
clr.dll!_CorExeMainInternal() Unknown
clr.dll!_CorExeMain() Unknown
mscoreei.dll!_CorExeMain() Unknown
mscoree.dll!_CorExeMain_Exported() Unknown
kernel32.dll!BaseThreadInitThunk() Unknown
> ntdll.dll!RtlUserThreadStart() Unknown