Error - RtlWerpReportException failed with status code :-1073741823错误记录

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_34784043/article/details/82831641

在Qt5中,我运行了一下开发的软件,结束的时候,提示了下面这个错误。

Error - RtlWerpReportException failed with status code :-1073741823. Will try to launch the process directly

程序异常结束。

后来经过调试,原因是有一个对象指针初始化不成功。

应该是下面这样写的:

    timer = new QTimer();

不小心写成了:

    timer = new QTimer;

改回来就行了,出现这个错误一般是栈溢出问题,仔细检查对象指针的初始化和回收。

猜你喜欢

转载自blog.csdn.net/qq_34784043/article/details/82831641