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. [SOLVED] Strange Access violation after breakpoint
QtWS25 Last Chance

[SOLVED] Strange Access violation after breakpoint

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 2.8k 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.
  • T Offline
    T Offline
    Towelie
    wrote on last edited by
    #1

    i'm using Qt and already wrote some app, but later i have changed some part of it, set bp in interesting to me places and catch an access violation.

    I've tried use qt 4.8 or qt 5 from public installer, build stable version from git, build betta version, reinstall MSVC and Windows, but always same - i can run my newly builded app or older version and it's works fine, all other my apps also, but when i set a bp in app which uses QT and continue or step after it i'm catching exception, even in test project created by QT Add-in automaticaly.

    In all cases the address where AV happened is different, but always this address range is not using by anyone.

    I realy confused.

    I faced before with this, but it was caused by heap corruption. But in default qt project it's nearly impossible.

    SOLUTION:
    Turn Off RPC Debugging in MSVC->Debugging->Options

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Which IDE and/or debugger do you use? Which OS?

      1 Reply Last reply
      0
      • T Offline
        T Offline
        Towelie
        wrote on last edited by
        #3

        Windows 7x64 sp1 eng, Visual studio 2010 sp1

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          I'm having the same problems. After setting a breakpoint and pressing "F10" after the program has stopped at the breakpoint, an access violation occurs and I cannot continue with debugging. If I pause the program by pressing the pause button, debugging works. I'm using Qt 5.1 beta, msvc2012 amd64 compiler and QtCreator 2.8.0-beta.

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tobias.hunger
            wrote on last edited by
            #5

            Could you "please file a bug report":https://bugreports.qt-project.org/ then and attach the debugger log to it? 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