“ Avbad_allocstd”有什么?在通话中的电话堆栈中的意思是用windbg调试的崩溃转储?
我打开了一个带有 Visual Studio 和 windbg 的崩溃转储文件(.dmp)。
VS在输出中显示了这一行:
Unhandled exception at 0x12345678 (ucrtbase.dll) in myapp.exe.1234.dmp: Fatal program exit requested.
以及呼叫堆栈中的最后一个条目指向:
__scrt_unhandled_exception_filter
当我使用windbg打开同一转储时,我输入命令 kd ,我得到了呼叫堆栈和一些类似的条目:
12345678 01234567 myapp!_TI2?AVbad_allocstd
我可以得出结论,std :: bad_alloc
异常发生并导致崩溃吗?
I opened a crash dump file (.dmp) with both Visual Studio and WinDbg.
VS shows this line in the output:
Unhandled exception at 0x12345678 (ucrtbase.dll) in myapp.exe.1234.dmp: Fatal program exit requested.
and the last entry in the call stack points to:
__scrt_unhandled_exception_filter
When I open the same dump with WinDbg and I enter the command kd i get the call stack and some entries like this:
12345678 01234567 myapp!_TI2?AVbad_allocstd
Can I conclude that a std::bad_alloc
exception occurred and caused a crash ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论