Hi! When I close my app in debugger mode I get this error:
:-1: error: Exception at 0x74ccb782, code: 0x71a: , flags=0x1 (execution cannot be continued) (first chance)
When in release mode I don't get any errors. What's your suggestions? Thanks.
Visual Studio displays message:
Exception thrown at 0x74CCB782 (KernelBase.dll) in MyTestApp.exe: 0x0000071A: The remote procedure call was canceled, or if a call time-out was specified, the call timed out. If there is a handler for this exception, the program may be safely continued.
and loads assembly code:
74CCB782 mov ecx,dword ptr [esp+54h]
When debug app again -
Exception thrown at 0x74CCB782 (KernelBase.dll) in MyTestApp.exe: 0x0000000D: The data is invalid.
@Cobra91151 Does this happen if you start debug build of your app without debugger?
No. Only when with debugger.
I have found that this error occurs on this line (when access network communication from different thread):
netManager = new QNetworkAccessManager(this);
Every time I use
QNetworkAccessManagerI get error:
:-1: error: Exception at 0x74ccb782, code: 0x71a: , flags=0x1 (execution cannot be continued) (first chance)(in debugger).
Qt 5.7.1, I will check if this issue exists in
Qt 5.9.0 Beta 2.
The same issue is on
Qt 5.9.0 Beta 2, but when I try small test example with
netManager = new QNetworkAccessManager(this);- no errors.
When debugging in
Visual Studio 2015I have found that app crashes on
Wireless API librarywhich I don't use in my application. So seems it loads this function by
Qt5Networkd.dll/Qt5Network.dlllibraries and when it hits this function it crashes on app exit. Can anyone confirm this issue in
Visual Studio 2015and Windows 10 Pro Build 15063.138. Thanks.