Debugger exception



  • 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.

    Update:
    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.


  • Moderators

    @Cobra91151 Does this happen if you start debug build of your app without debugger?



  • @jsulm

    No. Only when with debugger.

    Update:

    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 QNetworkAccessManager I get error: :-1: error: Exception at 0x74ccb782, code: 0x71a: , flags=0x1 (execution cannot be continued) (first chance) (in debugger).

    I'm using Qt 5.7.1, I will check if this issue exists inQt 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 2015 I have found that app crashes on [1328]wlanapi.dll!_NotificationApcThreadProc@4 which is Wireless API library which I don't use in my application. So seems it loads this function by QNetworkAccessManager in Qt5Networkd.dll/Qt5Network.dll libraries and when it hits this function it crashes on app exit. Can anyone confirm this issue in Qt 5.7.1 with Visual Studio 2015 and Windows 10 Pro Build 15063.138. Thanks.


Log in to reply