Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25227

Crash on debug start (only in terminal)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.15.0-beta1
    • Qt Creator 4.14.0
    • C/C++/Obj-C++ Support
    • None
    • Ubuntu Mate 20.04 LTS, Qt 5.14.2, C++17,
      $ g++ --version
      g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
       $ clang --version
      clang version 10.0.0-4ubuntu1
    • Linux/X11

    Description

      I have a project that I have been working for some time. Today I did try to enable Projects / Run / Run in terminal. When I check "Run in terminal" and start debug session, I crash every time I need to execute/spawn thread. The same code work just fine when "Run in terminal" is unchecked. Please see attached crash screen shot. This used to work fine couple of weeks ago. Since then I only updated system and installed clang. But I am not using clang to build. Actually g++ is only auto detected by Qt Creator (please see attached screenshot)

      try

      {      _thread = std::thread(&AVCom::socketHandler, this); }

      catch(const std::system_error& ex)

      {       // No exception thrown }

      Also here is my

      $ cat ~/.gdbinit
      #handle SIGINT nostop
      #handle SIGINT pass
      #handle SIGINT print

       

      I also did try to remove all Qt entries in  ~/.config/ to make sure some configuration got corrupted. But that did not help.

       

      Attachments

        1. ksnip_20210111-152600.png
          ksnip_20210111-152600.png
          270 kB
        2. ksnip_20210111-153623.png
          ksnip_20210111-153623.png
          56 kB
        3. ksnip_20210111-153650.png
          ksnip_20210111-153650.png
          67 kB
        4. qt-debug1.log.tar.gz
          14 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              hjk hjk
              oxoocoffee Robert J. Gebis
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes