Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Debugger exception
Forum Updated to NodeBB v4.3 + New Features

Debugger exception

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 3.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Cobra91151
    wrote on 20 Apr 2017, 19:43 last edited by Cobra91151
    #1

    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.

    J 1 Reply Last reply 21 Apr 2017, 04:51
    0
    • C Cobra91151
      20 Apr 2017, 19:43

      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.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 21 Apr 2017, 04:51 last edited by
      #2

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

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      C 1 Reply Last reply 21 Apr 2017, 07:10
      0
      • J jsulm
        21 Apr 2017, 04:51

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

        C Offline
        C Offline
        Cobra91151
        wrote on 21 Apr 2017, 07:10 last edited by Cobra91151
        #3

        @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);

        1 Reply Last reply
        0
        • C Offline
          C Offline
          Cobra91151
          wrote on 21 Apr 2017, 11:36 last edited by Cobra91151
          #4

          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.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Cobra91151
            wrote on 21 Apr 2017, 13:49 last edited by
            #5

            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.

            1 Reply Last reply
            0
            • C Offline
              C Offline
              Cobra91151
              wrote on 21 Apr 2017, 19:05 last edited by Cobra91151
              #6

              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.

              1 Reply Last reply
              0

              5/6

              21 Apr 2017, 13:49

              • Login

              • Login or register to search.
              5 out of 6
              • First post
                5/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved