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

QtCreator Hang while starting a debug (F5 press)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 9.0.0-beta1
    • Debugger
    • None
    • Linux/X11

    Description

      Occasionally (say one every 20 times) the program remains struct, after opening a terminal window (which remain fully empty).

      If I close such terminal windows, nothing happen, and QtCretor remain struct

      (I tought I installed the debug symbol but many info are missing like line number, I will try to check why)

      I am susing Opensuse Tumbleweed (latest) and KDE enviroment, with Konsole as terminal and GCC 12

      I enabled to print the debugger log, and LOOKS LIKE they are not even updated after pressing F5 (when the hang occour), gdb looks like is not running too.
      The Konsole windows is started with the following option

      /usr/bin/konsole -e /opt/Qt/Tools/Preview/Qt Creator 9.0.0-beta1/bin/../libexec/qtcreator/qtcreator_process_stub debug /tmp/QtCreator.vnbMQo/stub-socket Press <RETURN> to close this window... /home/roy/Public/listener-Desktop_Qt_5_15_2_GCC_64bit-Debug /tmp/QtCreator.qUzbaB 11366 /home/roy/Public/listener-Desktop_Qt_5_15_2_GCC_64bit-Debug/listener

       The strange thing is that looks like the QtCreator process has received the "SUSPEND" signal...

      #0  0x00007fefb330786c in read () from /lib64/libc.so.6
      #1  0x00007fef9060de93 in ?? () from /opt/Qt/Tools/Preview/Qt Creator 9.0.0-beta1/lib/qtcreator/plugins/libDebugger.so
      #2  0x00007fef9060df7d in ?? () from /opt/Qt/Tools/Preview/Qt Creator 9.0.0-beta1/lib/qtcreator/plugins/libDebugger.so
      #3  0x00007fef9060e067 in ?? () from /opt/Qt/Tools/Preview/Qt Creator 9.0.0-beta1/lib/qtcreator/plugins/libDebugger.so
      #4  0x00007fef905db01e in ?? () from /opt/Qt/Tools/Preview/Qt Creator 9.0.0-beta1/lib/qtcreator/plugins/libDebugger.so
      #5  0x00007fef905db599 in ?? () from /opt/Qt/Tools/Preview/Qt Creator 9.0.0-beta1/lib/qtcreator/plugins/libDebugger.so
      #6  0x00007fef9058d39e in Debugger::DebuggerRunTool::~DebuggerRunTool() () from /opt/Qt/Tools/Preview/Qt Creator 9.0.0-beta1/lib/qtcreator/plugins/libDebugger.so
      #7  0x00007fef9058d589 in Debugger::DebuggerRunTool::~DebuggerRunTool() () from /opt/Qt/Tools/Preview/Qt Creator 9.0.0-beta1/lib/qtcreator/plugins/libDebugger.so
      #8  0x00007fef9180544e in ?? () from /opt/Qt/Tools/Preview/Qt Creator 9.0.0-beta1/lib/qtcreator/plugins/libProjectExplorer.so
      #9  0x00007fef91800dfd in ProjectExplorer::RunControl::~RunControl() () from /opt/Qt/Tools/Preview/Qt Creator 9.0.0-beta1/lib/qtcreator/plugins/libProjectExplorer.so
      #10 0x00007fef91800e49 in ProjectExplorer::RunControl::~RunControl() () from /opt/Qt/Tools/Preview/Qt Creator 9.0.0-beta1/lib/qtcreator/plugins/libProjectExplorer.so
      #11 0x00007fefb3989200 in QObject::event(QEvent*) () from /opt/Qt/Tools/Preview/Qt Creator 9.0.0-beta1/bin/../lib/Qt/lib/libQt6Core.so.6
      #12 0x00007fefb4d77102 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/Qt/Tools/Preview/Qt Creator 9.0.0-beta1/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #13 0x00007fefb393939a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/Qt/Tools/Preview/Qt Creator 9.0.0-beta1/bin/../lib/Qt/lib/libQt6Core.so.6
      #14 0x00007fefb393fefd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /opt/Qt/Tools/Preview/Qt Creator 9.0.0-beta1/bin/../lib/Qt/lib/libQt6Core.so.6
      #15 0x00007fefb3be12d3 in ?? () from /opt/Qt/Tools/Preview/Qt Creator 9.0.0-beta1/bin/../lib/Qt/lib/libQt6Core.so.6
      #16 0x00007fefb2b1da50 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
      #17 0x00007fefb2b1de08 in ?? () from /lib64/libglib-2.0.so.0
      #18 0x00007fefb2b1de9c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
      #19 0x00007fefb3be0c5a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/Qt/Tools/Preview/Qt Creator 9.0.0-beta1/bin/../lib/Qt/lib/libQt6Core.so.6
      #20 0x00007fefb3944e5b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/Qt/Tools/Preview/Qt Creator 9.0.0-beta1/bin/../lib/Qt/lib/libQt6Core.so.6
      #21 0x00007fefb394123e in QCoreApplication::exec() () from /opt/Qt/Tools/Preview/Qt Creator 9.0.0-beta1/bin/../lib/Qt/lib/libQt6Core.so.6
      #22 0x000000000040bd83 in ?? ()
      #23 0x00007fefb322c5b0 in __libc_start_call_main () from /lib64/libc.so.6
      #24 0x00007fefb322c679 in __libc_start_main_impl () from /lib64/libc.so.6
      #25 0x000000000040c3ee in ?? ()

       

       

      In addition it also remains struct 100% of the time when pushing the STOP button, until I manually close the terminal window. But in that case I do not know which thread to monitor and how to debug this one.

       

      Attachments

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

        Activity

          People

            hjk hjk
            RoyBellingan Roy Bellingan
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes