Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Debugger Step Out crashes the program
Forum Updated to NodeBB v4.3 + New Features

Debugger Step Out crashes the program

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
8 Posts 4 Posters 863 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.
  • N Offline
    N Offline
    nekkceb
    wrote on last edited by
    #1

    I am using Qt Creator ver 6.0.1, but Qt 5.15.8 with MinGW81_64 (problem also occurs with MinGW81_32). When I am debugging my program and step into a fiunction, the step out button crashes the program! Very frustrating, makes life more complicated. This started recently, I have generally had good luck using the debugger. I am sure the debugger listed in the kit is correct, MinGW8.1.0 64

    jsulmJ 1 Reply Last reply
    0
    • N nekkceb

      I am using Qt Creator ver 6.0.1, but Qt 5.15.8 with MinGW81_64 (problem also occurs with MinGW81_32). When I am debugging my program and step into a fiunction, the step out button crashes the program! Very frustrating, makes life more complicated. This started recently, I have generally had good luck using the debugger. I am sure the debugger listed in the kit is correct, MinGW8.1.0 64

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @nekkceb said in Debugger Step Out crashes the program:

      the step out button crashes the program

      What exactly crashes:

      • Your app
      • Debugger
      • QtCreator
        ?

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

      N 1 Reply Last reply
      0
      • N Offline
        N Offline
        nekkceb
        wrote on last edited by nekkceb
        #3

        @jsulm Sorry, just my app, not Qt Creator (oddly).
        I get two error boxes like so:
        9fd3c4ec-c9ce-4054-a080-7e1bbf7d67a2-image.png
        Both with the same process ID.
        If I check that process ID before closing the error box (at least this time...) it says 'gdborig.exe'

        1 Reply Last reply
        0
        • jsulmJ jsulm

          @nekkceb said in Debugger Step Out crashes the program:

          the step out button crashes the program

          What exactly crashes:

          • Your app
          • Debugger
          • QtCreator
            ?
          N Offline
          N Offline
          nekkceb
          wrote on last edited by
          #4

          @jsulm Also, I am working on several applications, this happens on all of them, I dont think it is my application itself, but I guess I cant be absolutely sure of that. This behavior started somewhat recently (within last year), just getting around to reporting it now. I cant tell you which version of Qt it started with.

          jsulmJ 1 Reply Last reply
          0
          • N nekkceb

            @jsulm Also, I am working on several applications, this happens on all of them, I dont think it is my application itself, but I guess I cant be absolutely sure of that. This behavior started somewhat recently (within last year), just getting around to reporting it now. I cant tell you which version of Qt it started with.

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @nekkceb What happens if you click on "Debug with Qt Creator"?

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

            1 Reply Last reply
            0
            • N Offline
              N Offline
              nekkceb
              wrote on last edited by nekkceb
              #6

              @jsulm It opens a new Qt session, shwoing the Disassembler and the debugger log with yet another error indication:
              d356843e-9fd6-420d-a17e-0fb6a13a25c8-image.png

              1 Reply Last reply
              0
              • F Offline
                F Offline
                florent_lightingsoft
                wrote on last edited by florent_lightingsoft
                #7

                Hello
                What about this behaviour?

                I have similar problem few times ago when mixing C and C++ file.
                I create a report here: https://bugreports.qt.io/browse/QTCREATORBUG-26993
                with a minimal program to reproduce it

                Now, It look same as you, I have it on many more project, when performing a "step out", debug session is aborted, not necessarily on the junction between C and C++ code...

                Florent

                cristian-adamC 1 Reply Last reply
                0
                • F florent_lightingsoft

                  Hello
                  What about this behaviour?

                  I have similar problem few times ago when mixing C and C++ file.
                  I create a report here: https://bugreports.qt.io/browse/QTCREATORBUG-26993
                  with a minimal program to reproduce it

                  Now, It look same as you, I have it on many more project, when performing a "step out", debug session is aborted, not necessarily on the junction between C and C++ code...

                  Florent

                  cristian-adamC Online
                  cristian-adamC Online
                  cristian-adam
                  wrote on last edited by
                  #8

                  @florent_lightingsoft said in Debugger Step Out crashes the program:

                  I have similar problem few times ago when mixing C and C++ file.
                  I create a report here: https://bugreports.qt.io/browse/QTCREATORBUG-26993
                  with a minimal program to reproduce it

                  As mentioned in the bug above, MinGW 8.1.0 with GDB 8.1 has a bug and crashes.
                  The bug doesn't reproduce with MinGW 11.2.0 package and GDB 11.2.0.

                  GDB crashes are best reported at https://www.sourceware.org/gdb/bugs/, but I'm not sure if MinGW is a supported platform.

                  1 Reply Last reply
                  1

                  • Login

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