“Debug error R6010 - abort() has been called” - How to debug?

白昼怎懂夜的黑 提交于 2019-12-12 06:15:16

问题


At completely random times during runtime, my program crashes with the error in the title. The error occurs without any user inputs or indication as to why, which makes it difficult to debug. The Call Stack doesn't help either:

msvcr120d.dll!00007ffa9f8b7642()    Unknown
msvcr120d.dll!00007ffa9f9e2044()    Unknown
msvcr120d.dll!00007ffa9f9a8c98()    Unknown
msvcp120d.dll!00007ffaa7273340()    Unknown
msvcr120d.dll!00007ffa9f9baf90()    Unknown
msvcr120d.dll!00007ffa9f9aafe2()    Unknown
ntdll.dll!00007ffad1633573()    Unknown
msvcp120d.dll!00007ffaa722df29()    Unknown
msvcr120d.dll!00007ffa9f8ba105()    Unknown
msvcr120d.dll!00007ffa9f8ba357()    Unknown
vfbasics.dll!00007ffab17dc729() Unknown
kernel32.dll!00007ffacede13d2() Unknown
ntdll.dll!00007ffad15b5444()    Unknown

According to the thread list, the error doesn't occur in the main thread, so it might be a multi-threading conflict, but I don't know for sure.

I can't post any code because the program is too big and I don't know which piece of the code is causing the issue.

How can I narrow the problem down?

来源:https://stackoverflow.com/questions/30669143/debug-error-r6010-abort-has-been-called-how-to-debug

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!