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. Qt Creator doesn't show crash report
QtWS25 Last Chance

Qt Creator doesn't show crash report

Scheduled Pinned Locked Moved Solved General and Desktop
crashubuntu 20.04
4 Posts 2 Posters 2.1k 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.
  • K Offline
    K Offline
    keesaev
    wrote on 25 Apr 2021, 18:04 last edited by
    #1

    Hello everyone,
    I am new to Qt Creator, so the question may be silly. While trying to run a program, I get a crash, and the only crash report Qt Creator is giving me is this:
    1ae53164-9882-4c46-a478-8a933fe3fc9b-image.png
    Am I missing something? Is the crash report supposed to be in some other window that I'm not looking at? Am I supposed to use other software but Qt Creator to see crash info? I've tried reinstalling Qt Creator and switching kits.
    I am using Qt Creator 4.11.0 based on Qt 5.12.8 with GCC compiler under Ubuntu 20.04.2 LTS

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 26 Apr 2021, 05:13 last edited by
      #2

      No, this is normal.

      To see more debug info, run the app with debugger attached (F5). When crash happens, it will show you exactly where the problem lies.

      Or, if you really only want text output, compile your app with address sanitizer enabled - then it will print all memory leaks after a crash (not only after a crash).

      (Z(:^

      1 Reply Last reply
      1
      • K Offline
        K Offline
        keesaev
        wrote on 26 Apr 2021, 10:24 last edited by
        #3

        Thanks for the reply!
        I figured out that my debugger doesn't act as intended. I started a simple project and tried to run it with F5 (also with breakpoints) and got an empty console window and this output:
        746b0db5-78c6-45fa-87dd-eac329e76b72-image.png
        The app is supposed to output an array of 10 elements, it works fine if you run it with Ctrl+R, but running it with F5 ends up with an empty console window.
        Seems like debugger tries to run, but something is causing it to stop. A moment later an empty console window appears.
        I am using GDB debugger:
        4268354a-50a1-4bd2-9b0c-902df5710ba5-image.png
        Any ideas why does debugger act this way?

        1 Reply Last reply
        0
        • K Offline
          K Offline
          keesaev
          wrote on 26 Apr 2021, 19:19 last edited by
          #4

          Found out that this error only occurres in Qt Creator version installed with online installer. The one installed with apt-get works just fine, so I will stick to it.
          Sorry for wasting your time

          1 Reply Last reply
          0

          3/4

          26 Apr 2021, 10:24

          • Login

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