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. Executable Failed... Command Aborted Message Box when debugging
Forum Updated to NodeBB v4.3 + New Features

Executable Failed... Command Aborted Message Box when debugging

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
5 Posts 4 Posters 2.0k 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
    comarius
    wrote on 14 Apr 2022, 14:36 last edited by comarius
    #1

    Console app. Left Pane -> Projects LINUX_DEFAULT Build / Run, Run Option -> Run [Run in Terminal option checked]

    Start Debugger

    ![alt text](qterr.png image url)

    This happens in QT Creator 5.15.2. 64 bit Build Sept 14 2021On Linux Ubuntu 20.04.4 LTS (5.4.0).

    The project is a simple console set as:

    TEMPLATE = app
    CONFIG   += c++14
    CONFIG   += console
    CONFIG   -= app_bundle
    QT       -= gui
    

    and the [Main Menu]->Tools->Options [LeftPane]/Environment -> [Tab]/System The Treminal option was set as (different options makes no difference)

    [/usr/bin/gnome-terminal ] [  ][ --execute ]
    
    [/usr/bin/x-terminal-emulator] [ ] [-x ]
    

    The GDB settings in KITS is: System
    GDB /usr/bin/gdb

    Any ideas. I cannot find a solution to it.

    Thank you.

    J 1 Reply Last reply 14 Apr 2022, 16:46
    0
    • C comarius
      14 Apr 2022, 14:36

      Console app. Left Pane -> Projects LINUX_DEFAULT Build / Run, Run Option -> Run [Run in Terminal option checked]

      Start Debugger

      ![alt text](qterr.png image url)

      This happens in QT Creator 5.15.2. 64 bit Build Sept 14 2021On Linux Ubuntu 20.04.4 LTS (5.4.0).

      The project is a simple console set as:

      TEMPLATE = app
      CONFIG   += c++14
      CONFIG   += console
      CONFIG   -= app_bundle
      QT       -= gui
      

      and the [Main Menu]->Tools->Options [LeftPane]/Environment -> [Tab]/System The Treminal option was set as (different options makes no difference)

      [/usr/bin/gnome-terminal ] [  ][ --execute ]
      
      [/usr/bin/x-terminal-emulator] [ ] [-x ]
      

      The GDB settings in KITS is: System
      GDB /usr/bin/gdb

      Any ideas. I cannot find a solution to it.

      Thank you.

      J Offline
      J Offline
      JonB
      wrote on 14 Apr 2022, 16:46 last edited by
      #2

      @comarius
      Does it only happen if you launch the debugger from Creator? Have you tried gdb /path/to/executable from a terminal?

      1 Reply Last reply
      0
      • C Offline
        C Offline
        comarius
        wrote on 16 Apr 2022, 16:55 last edited by
        #3

        @JonB said in Executable Failed... Command Aborted Message Box when debugging:

        gdb /path/to/executable

        No it does not happen

        cp ./liveimage.sample_konf ./liveimage.konf
        marius@hpp:~/_gh/lili$ gdb ./liveimage
        GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2
        Copyright (C) 2020 Free Software Foundation, Inc.
        License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
        This is free software: you are free to change and redistribute it.
        There is NO WARRANTY, to the extent permitted by law.
        Type "show copying" and "show warranty" for details.
        This GDB was configured as "x86_64-linux-gnu".
        Type "show configuration" for configuration details.
        For bug reporting instructions, please see:
        <http://www.gnu.org/software/gdb/bugs/>.
        Find the GDB manual and other documentation resources online at:
            <http://www.gnu.org/software/gdb/documentation/>.
        
        For help, type "help".
        Type "apropos word" to search for commands related to "word"...
        Reading symbols from ./liveimage...
        (gdb) r
        Starting program: /sdaone/GIT_HUB/lili/liveimage 
        [Thread debugging using libthread_db enabled]
        Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
        opening: /dev/video0
        Motion-JPEG
        YUYV 4:2:2
        RGB3
        BGR3
        YU12
        YV12
        FPS: recalculated duet camera limitations at: 30
        /dev/video* opened
        listening port9000
              JPEGER MEM DEST 
        rotating images at:8912
        [New Thread 0x7ffff76ef700 (LWP 29413)]
        new 11748
        renew 14878
              JPEGER REALLOC TO ����,32768bytes 
        renew 17316
        cam cannot connect localhost8084
        socked close
        renew 20053
        
        
        1 Reply Last reply
        0
        • W Offline
          W Offline
          WaxyRakso
          wrote on 26 May 2022, 07:10 last edited by
          #4

          My coworker had the same problem I think (Fedora 33, Qt Creator 4.13.2). He fixed it by reinstalling his QtCreator and then deleting all breakpoints in debugger. This worked for him.

          1 Reply Last reply
          0
          • B Offline
            B Offline
            BogdanP
            wrote on 25 May 2023, 13:33 last edited by
            #5

            Make sure, that you have eliminated all unuseful Breakpoints from your Debugging section. In my case I had too many Breakpoints in already compiled std-Libs :) I hope this can help anyone too.28115997-7762-43ec-86a7-691dca311fa8-image.png

            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