Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt remote debugging crashes
Forum Updated to NodeBB v4.3 + New Features

Qt remote debugging crashes

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 363 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.
  • J Offline
    J Offline
    James A
    wrote on last edited by
    #1

    I am trying to remote debug a hello world program using Qt creator in Ubuntu 22.04.01 LTS version. The program crashes with below error messages.

    904e1c2c-397e-4327-99a4-7da57b2b722f-image.png
    0655c205-fa59-4a3e-afd1-a2272c65eda4-image.png

    The same program runs fine in release mode. But crashes in debug and profile mode.
    I tried with Qt Creator 6.0 , 7.0 and 8.0 version the result is the same.

    I am able to remote gdb debug from command line successfully. But it is crashing when tried from Qt Creator.

    I tried changing debugger from options menu with following , but still it crashes

    • /opt/fslc-framebuffer/3.1/sysroots/x86_64-fslcsdk-linux/usr/bin/arm-fslc-linux-gnueabi/arm-fslc-linux-gnueabi-gdb
    • /bin/gdb-multiarch

    Please provide support on How to debug this issue further ?

    Regards,
    James A

    1 Reply Last reply
    0
    • andrA Offline
      andrA Offline
      andr
      wrote on last edited by
      #2

      So far this looks like a normal crash in your application.

      Given that you don't have anything legible in the stack trace and you say this is a debug build (i.e. with debug information) you are already beyond the code that is actually broken. I'd try to find out a still-good place before this triggers, and step in the debugger from there, or if that gets too complex, use valgrind (with the default memcheck tool)

      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