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
QtWS25 Last Chance

Debugger exception

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 3.3k Views
  • 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.
  • Cobra91151C Offline
    Cobra91151C Offline
    Cobra91151
    wrote on 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.

    jsulmJ 1 Reply Last reply
    0
    • Cobra91151C Cobra91151

      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.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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

      Cobra91151C 1 Reply Last reply
      0
      • jsulmJ jsulm

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

        Cobra91151C Offline
        Cobra91151C Offline
        Cobra91151
        wrote on 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
        • Cobra91151C Offline
          Cobra91151C Offline
          Cobra91151
          wrote on 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
          • Cobra91151C Offline
            Cobra91151C Offline
            Cobra91151
            wrote on 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
            • Cobra91151C Offline
              Cobra91151C Offline
              Cobra91151
              wrote on 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

              • Login

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