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. Remote debugging fails with a cryptic message
Forum Updated to NodeBB v4.3 + New Features

Remote debugging fails with a cryptic message

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

    Hi,

    I'm familiar with remote debugging and using it for a long time. I've tried to install a virtual machine for conducting some test in it. Unfortunately the debugging fails at the beginning.

    gdb and gdb-server are already installed on the target, test on the Device page completes successfully (so, gdb-server, rsync, ssh everything works as expected).

    Here's the console output:

    12:16:30: Checking available ports...
    12:16:30: Found 51 free ports.
    12:16:30: Starting gdbserver --multi :10000...
    12:16:30: Debugging /opt/******/*******/****** ...
    Listening on port 10000
    Remote debugging from host ::ffff:192.168.1.27, port 38884
    Process /opt/******/*******/****** created; pid = 1654
    while parsing target description (at line 68): Vector "v8bf16" references undefined type "bfloat16"
    Could not load XML target description; ignoring
    Killing process(es): 1654
    12:16:31: Application finished with exit code 0.
    12:16:31: Debugging of /opt/******/*******/****** has finished with exit code 0.
    

    Target OS is Debian Bullseye (11) amd64 and I'm using Ubuntu 20.04 amd64 as host OS. Qt version is 5.15.2

    I even can't find the XML file which is mentioned by the error message. I'm guessing a Clang related hidden mumbo jumbo is going on in the background, but don't know how to solve it.

    Regards,

    T 1 Reply Last reply
    0
    • MuratUrsavasM MuratUrsavas

      Hi,

      I'm familiar with remote debugging and using it for a long time. I've tried to install a virtual machine for conducting some test in it. Unfortunately the debugging fails at the beginning.

      gdb and gdb-server are already installed on the target, test on the Device page completes successfully (so, gdb-server, rsync, ssh everything works as expected).

      Here's the console output:

      12:16:30: Checking available ports...
      12:16:30: Found 51 free ports.
      12:16:30: Starting gdbserver --multi :10000...
      12:16:30: Debugging /opt/******/*******/****** ...
      Listening on port 10000
      Remote debugging from host ::ffff:192.168.1.27, port 38884
      Process /opt/******/*******/****** created; pid = 1654
      while parsing target description (at line 68): Vector "v8bf16" references undefined type "bfloat16"
      Could not load XML target description; ignoring
      Killing process(es): 1654
      12:16:31: Application finished with exit code 0.
      12:16:31: Debugging of /opt/******/*******/****** has finished with exit code 0.
      

      Target OS is Debian Bullseye (11) amd64 and I'm using Ubuntu 20.04 amd64 as host OS. Qt version is 5.15.2

      I even can't find the XML file which is mentioned by the error message. I'm guessing a Clang related hidden mumbo jumbo is going on in the background, but don't know how to solve it.

      Regards,

      T Offline
      T Offline
      themts
      wrote on last edited by
      #2

      @MuratUrsavas I know it is a very old post, but I’m currently facing the same problem. Did you found a solution?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Michael A Uman
        wrote on last edited by
        #3

        Bumping this report to the top. Was there any resolution as to the cause of the error. I have a new application which now fails to remote debug using the same procedure we have used for years. I get this very same message:

        11:02:03: Debugging /home/michael_uman/gitroot/build-udevwrapper-Desktop_Qt_5_15_2_GCC_64bit-Debug/udevwrapper ...
        while parsing target description (at line 71): Vector "v8bf16" references undefined type "bfloat16"
        Could not load XML target description; ignoring
        Unable to find dynamic linker breakpoint function.
        GDB will be unable to debug shared library initializers
        and track explicitly loaded dynamic code.
        

        Any assistance would be greatly appreciated.

        Thank you,
        MIchael Uman
        Sr Firmware Engineer
        Mountz Torque, Inc.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sh1981
          wrote on last edited by
          #4

          I am using crosstool-ng-1.25.0 as my toolchain.
          Host uBuntu 20.4 64bit Qt5.12.8 QtCreator 4.11.0
          RasPi CM4 Debian12.6 64bit

          Set GDB on the host to /bin/gdb-multiarch
          This was installed with sudo apt-get install gdb-multiarch.
          When I started debugging with this setting, a message similar to the poster's was displayed.

          I reset the GDB on the host to ~/x-tools/aarch64-rpi4-linux-gnu/bin/aarch64-rpi4-linux-gnu-gdb (Binaries built with crosstool-ng) and re-ran, and it ran normally without terminating the process.

          Is this helpful?

          1 Reply Last reply
          0
          • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop on

          • Login

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