没有什么统一解释……可能导致这样的问题的代码太多。要诊断的话,得调试目标程序,在崩溃的时候检查内存和寄存器,就算这样也未必能找到问题的原因,数据完整性被破坏这样的问题甚至可能是在上一次程序运行的时候发生,这一次运行可能只是读取了损坏的数据。
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP