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

QTcreator crashes with SIGSEGV when try to open cmake project without Kit

    XMLWordPrintable

Details

    • Linux/X11
    • e065107fa537238aa65c097d24b649a0de9f5f9b (qt-creator/qt-creator/5.0)

    Description

      When try to open existing cmake project qtcreator crashes with sigsegv.

      attach a callstack captured from gdb

      Thread 1 "qtcreator" received signal SIGSEGV, Segmentation fault.
      0x00007ffff6dcef72 in QWidget::setEnabled(bool) ()
      from /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Widgets.so.5
      (gdb) bt
      #0 0x00007ffff6dcef72 in QWidget::setEnabled(bool) ()
      at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #1 0x00007fffd3095e8b in ()
      at /home/dinazavr/qtcreator-4.15.1/lib/qtcreator/plugins/libCMakeProjectManager.so
      #2 0x00007ffff5a31f30 in void doActivate<false>(QObject*, int, void**) ()
      at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Core.so.5
      #3 0x00007ffff796e43f in Utils::TriStateAspect::setValue(Utils::TriState) ()
      at /home/dinazavr/qtcreator-4.15.1/bin/../lib/qtcreator/libUtils.so.4
      #4 0x00007fffd72fe3bd in QtSupport::QmlDebuggingAspect::addToLayout(Utils::LayoutBuilder&) ()
      at /home/dinazavr/qtcreator-4.15.1/lib/qtcreator/plugins/libQtSupport.so
      #5 0x00007fffd3096f29 in ()
      at /home/dinazavr/qtcreator-4.15.1/lib/qtcreator/plugins/libCMakeProjectManager.so
      #6 0x00007fffd3098e41 in CMakeProjectManager::CMakeBuildConfiguration::createConfigWidget() ()
      at /home/dinazavr/qtcreator-4.15.1/lib/qtcreator/plugins/libCMakeProjectManager.so
      #7 0x00007fffdc235b46 in ProjectExplorer::BuildConfiguration::addConfigWidgets(std::function<void (ProjectExplorer::NamedWidget*)> const&) ()
      at /home/dinazavr/qtcreator-4.15.1/lib/qtcreator/plugins/libProjectExplorer.so
      #8 0x00007fffdc246c95 in ()
      at /home/dinazavr/qtcreator-4.15.1/lib/qtcreator/plugins/libProjectExplorer.so
      #9 0x00007fffdc2471fe in ()
      at /home/dinazavr/qtcreator-4.15.1/lib/qtcreator/plugins/libProjectExplorer.so
      #10 0x00007fffdc472ab7 in ()
      at /home/dinazavr/qtcreator-4.15.1/lib/qtcreator/plugins/libProjectExplorer.so
      #11 0x00007fffdc4733d0 in ()
      at /home/dinazavr/qtcreator-4.15.1/lib/qtcreator/plugins/libProjectExplorer.so
      #12 0x00007fffdc470da8 in ()
      at /home/dinazavr/qtcreator-4.15.1/lib/qtcreator/plugins/libProjectExplorer.so
      #13 0x00007fffdc41e0da in ()
      at /home/dinazavr/qtcreator-4.15.1/lib/qtcreator/plugins/libProjectExplorer.so
      #14 0x00007fffdc41cd6e in ()
      at /home/dinazavr/qtcreator-4.15.1/lib/qtcreator/plugins/libProjectExplorer.so
      #15 0x00007fffdc46ff37 in ()
      at /home/dinazavr/qtcreator-4.15.1/lib/qtcreator/plugins/libProjectExplorer.so
      #16 0x00007fffdc4712d9 in ()
      at /home/dinazavr/qtcreator-4.15.1/lib/qtcreator/plugins/libProjectExplorer.so
      #17 0x00007ffff5a31f30 in void doActivate<false>(QObject*, int, void**) ()
      at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Core.so.5
      #18 0x00007fffdc1efff2 in ProjectExplorer::Project::activeTargetChanged(ProjectExplorer::Target*) ()
      at /home/dinazavr/qtcreator-4.15.1/lib/qtcreator/plugins/libProjectExplorer.so
      #19 0x00007fffdc3b7662 in ProjectExplorer::Project::setActiveTarget(ProjectExplorer::Target*) ()
      at /home/dinazavr/qtcreator-4.15.1/lib/qtcreator/plugins/libProjectExplorer.so
      #20 0x00007fffdc450fb4 in ProjectExplorer::SessionManager::setActiveTarget(ProjectExplorer::Project*, ProjectExplorer::Target*, ProjectExplorer::SetActive) ()
      at /home/dinazavr/qtcreator-4.15.1/lib/qtcreator/plugins/libProjectExplorer.so
      #21 0x00007fffdc3bc255 in ProjectExplorer::Project::setup(QList<ProjectExplorer::BuildInfo> const&)
      () at /home/dinazavr/qtcreator-4.15.1/lib/qtcreator/plugins/libProjectExplorer.so
      #22 0x00007fffdc47ac2c in ProjectExplorer::TargetSetupPage::setupProject(ProjectExplorer::Project*)
      () at /home/dinazavr/qtcreator-4.15.1/lib/qtcreator/plugins/libProjectExplorer.so
      #23 0x00007fffdc472039 in ()
      at /home/dinazavr/qtcreator-4.15.1/lib/qtcreator/plugins/libProjectExplorer.so
      #24 0x00007ffff5a31f30 in void doActivate<false>(QObject*, int, void**) ()
      at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Core.so.5
      #25 0x00007ffff6e81ba2 in QAbstractButton::clicked(bool) ()
      at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Widgets.so.5
      -Type <RET> for more, q to quit, c to continue without paging-
      #26 0x00007ffff6e81daa in QAbstractButtonPrivate::emitClicked() ()
      at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #27 0x00007ffff6e83a2f in QAbstractButtonPrivate::click() ()
      at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #28 0x00007ffff6e83b95 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
      at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #29 0x00007ffff6dd4740 in QWidget::event(QEvent*) ()
      at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #30 0x00007ffff6d9643c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
      at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #31 0x00007ffff6d9d1f8 in QApplication::notify(QObject*, QEvent*) ()
      at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #32 0x00007ffff59f9808 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
      at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Core.so.5
      #33 0x00007ffff6d9c53a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
      at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #34 0x00007ffff6dedfe8 in QWidgetWindow::handleMouseEvent(QMouseEvent*) ()
      at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #35 0x00007ffff6df0cf3 in QWidgetWindow::event(QEvent*) ()
      at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #36 0x00007ffff6d9643c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
      at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #37 0x00007ffff6d9cf20 in QApplication::notify(QObject*, QEvent*) ()
      at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Widgets.so.5
      #38 0x00007ffff59f9808 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
      at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Core.so.5
      #39 0x00007ffff646f56d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Gui.so.5
      #40 0x00007ffff6470955 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Gui.so.5
      #41 0x00007ffff644c8ab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Gui.so.5
      #42 0x00007ffff0b0469a in xcbSourceDispatch(_GSource*, int (void*), void*) ()
      at /home/dinazavr/qtcreator-4.15.1/lib/Qt/plugins/platforms/../../lib/libQt5XcbQpa.so.5
      #43 0x00007ffff228d84b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #44 0x00007ffff22e0c68 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #45 0x00007ffff228af83 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #46 0x00007ffff5a551cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
      () at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Core.so.5
      #47 0x00007ffff59f821a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
      at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Core.so.5
      #48 0x00007ffff5a011d3 in QCoreApplication::exec() ()
      at /home/dinazavr/qtcreator-4.15.1/bin/../lib/Qt/lib/libQt5Core.so.5
      #49 0x000000000040a981 in ()
      #50 0x00007ffff5200565 in __libc_start_main (main=
      0x408010, argc=1, argv=0x7fffffffdf38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdf28) at ../csu/libc-start.c:332
      #51 0x000000000040b486 in ()

      Attachments

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

        Activity

          People

            cadam Cristian Adam
            dinazavr dinazavr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes