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

QtCreator crashes when cleaning build dir

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • Qt Creator 9.0.2
    • None
    • Linux/X11

    Description

      Hi, I can make my QtCreator crash every time I click Build -> Clean (first one)

      I works fine for some projects, maybe cmake ones are fine, but this one is qmake with Qt 5.12 (which I don't think matters), both Desktop and Android Kits make it crash.
      Here is a backtrace but it isn't very useful, I may need to compile by source.

      Thread 1 "qtcreator" received signal SIGSEGV, Segmentation fault.
      0x00007fffa46301b0 in ProjectExplorer::Target::activeBuildConfiguration() const () from /home/daniel/code/Qt/Tools/Q
      tCreator/lib/qtcreator/plugins/libProjectExplorer.so                                                                 
      (gdb) bt
      #0  0x00007fffa46301b0 in ProjectExplorer::Target::activeBuildConfiguration() const ()
        from /home/daniel/code/Qt/Tools/QtCreator/lib/qtcreator/plugins/libProjectExplorer.so
      #1  0x00007fffa439b570 in ?? ()
        from /home/daniel/code/Qt/Tools/QtCreator/lib/qtcreator/plugins/libProjectExplorer.so
      #2  0x00007fffa43a0dd9 in ?? ()
        from /home/daniel/code/Qt/Tools/QtCreator/lib/qtcreator/plugins/libProjectExplorer.so
      #3  0x00007fffa43a2c28 in ProjectExplorer::BuildManager::cleanProjects(QList<ProjectExplorer::Project*> const&, Proj
      ectExplorer::ConfigSelection) ()                                                                                     
        from /home/daniel/code/Qt/Tools/QtCreator/lib/qtcreator/plugins/libProjectExplorer.so
      #4  0x00007fffa45645da in ?? ()
        from /home/daniel/code/Qt/Tools/QtCreator/lib/qtcreator/plugins/libProjectExplorer.so
      #5  0x00007ffff5f97a22 in ?? () from /home/daniel/code/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6
      #6  0x00007ffff6d891c2 in QAction::triggered(bool) ()
        from /home/daniel/code/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Gui.so.6
      #7  0x00007ffff5f97a22 in ?? () from /home/daniel/code/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6
      #8  0x00007ffff6d891c2 in QAction::triggered(bool) ()
        from /home/daniel/code/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Gui.so.6
      #9  0x00007ffff6d8bf79 in QAction::activate(QAction::ActionEvent) ()
        from /home/daniel/code/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Gui.so.6
      #10 0x00007ffff7534e92 in ?? () from /home/daniel/code/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #11 0x00007ffff753c839 in ?? () from /home/daniel/code/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #12 0x00007ffff73cc4d8 in QWidget::event(QEvent*) ()
        from /home/daniel/code/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #13 0x00007ffff7376f62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
        from /home/daniel/code/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #14 0x00007ffff737f8d8 in QApplication::notify(QObject*, QEvent*) ()
        from /home/daniel/code/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #15 0x00007ffff5f3928a in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
        from /home/daniel/code/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            dantti Daniel Nicoletti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes