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

Crash when importing cmake build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 6.0.2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Running Official Binary package on Ubuntu 20.10 on VirtualBox 6.0.32:

      Qt Creator 6.0.2
      Based on Qt 6.2.2 (GCC 10.3.1 20210422 (Red Hat 10.3.1-1), 64 bit)
      Built on Jan 18 2022 09:55:00
      From revision f884ff2160
    • Platform/s:
      Linux/X11

      Description

      1) Open up CMakeLists.txt

      2) Import Existing build

      3) Crash

       

      qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 3762, resource id: 35651776, major code: 40 (TranslateCoords), minor code: 0
      [New Thread 0x7fffa5d73640 (LWP 3970)]
      [Thread 0x7fffa5d73640 (LWP 3970) exited]
      qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 4456, resource id: 35651791, major code: 40 (TranslateCoords), minor code: 0

      Thread 1 "qtcreator" received signal SIGSEGV, Segmentation fault.
      0x00007fffb6deacc0 in ProjectExplorer::ToolChain::targetAbi() const () from /home/ayounes/Qt/Tools/QtCreator/lib/qtcreator/plugins/libProjectExplorer.so
      (gdb) ls
      Undefined command: "ls". Try "help".
      (gdb) bt
      #0 0x00007fffb6deacc0 in ProjectExplorer::ToolChain::targetAbi() const ()
      from /home/ayounes/Qt/Tools/QtCreator/lib/qtcreator/plugins/libProjectExplorer.so
      #1 0x00007fffb4841623 in ?? () from /home/ayounes/Qt/Tools/QtCreator/lib/qtcreator/plugins/libCMakeProjectManager.so
      #2 0x00007fffb6b12a17 in ProjectExplorer::BuildConfigurationFactory::create(ProjectExplorer::Target*, ProjectExplorer::BuildInfo const&) const ()
      from /home/ayounes/Qt/Tools/QtCreator/lib/qtcreator/plugins/libProjectExplorer.so
      #3 0x00007fffb6ce10da in ProjectExplorer::Project::setup(QList<ProjectExplorer::BuildInfo> const&) ()
      from /home/ayounes/Qt/Tools/QtCreator/lib/qtcreator/plugins/libProjectExplorer.so
      #4 0x00007fffb6dcdd84 in ProjectExplorer::TargetSetupPage::setupProject(ProjectExplorer::Project*) ()
      from /home/ayounes/Qt/Tools/QtCreator/lib/qtcreator/plugins/libProjectExplorer.so
      #5 0x00007fffb6dc4f59 in ?? () from /home/ayounes/Qt/Tools/QtCreator/lib/qtcreator/plugins/libProjectExplorer.so
      #6 0x00007ffff645cfee in ?? () from /home/ayounes/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6
      #7 0x00007ffff76ea622 in QAbstractButton::clicked(bool) () from /home/ayounes/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #8 0x00007ffff76eaedc in ?? () from /home/ayounes/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #9 0x00007ffff76ec39f in ?? () from /home/ayounes/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #10 0x00007ffff76ec54e in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /home/ayounes/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #11 0x00007ffff7618cfe in QWidget::event(QEvent*) () from /home/ayounes/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #12 0x00007ffff75c4e52 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
      from /home/ayounes/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #13 0x00007ffff75cdfd8 in QApplication::notify(QObject*, QEvent*) () from /home/ayounes/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #14 0x00007ffff6402cca in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
      from /home/ayounes/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6
      #15 0x00007ffff75cd1c0 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
      from /home/ayounes/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #16 0x00007ffff762afa0 in ?? () from /home/ayounes/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #17 0x00007ffff762db6e in ?? () from /home/ayounes/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #18 0x00007ffff75c4e52 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
      from /home/ayounes/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Widgets.so.6
      #19 0x00007ffff6402cca in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
      from /home/ayounes/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6
      #20 0x00007ffff6cefddb in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
      from /home/ayounes/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Gui.so.6
      #21 0x00007ffff6d3658c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
      from /home/ayounes/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Gui.so.6
      #22 0x00007ffff23204aa in ?? () from /home/ayounes/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/../../lib/libQt6XcbQpa.so.6
      #23 0x00007ffff32af62b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #24 0x00007ffff32af8d8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #25 0x00007ffff32af9a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #26 0x00007ffff6656e69 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
      from /home/ayounes/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6
      #27 0x00007ffff640e61b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
      from /home/ayounes/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6
      #28 0x00007ffff640a64b in QCoreApplication::exec() () from /home/ayounes/Qt/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6
      #29 0x000000000040c90f in ?? ()
      #30 0x00007ffff5d79cb2 in __libc_start_main (main=0x409da0, argc=1, argv=0x7fffffffdbd8, init=<optimized out>, fini=<optimized out>,
      rtld_fini=<optimized out>, stack_end=0x7fffffffdbc8) at ../csu/libc-start.c:314
      #31 0x000000000040cf3e in ?? ()

        Attachments

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

          Activity

            People

            Assignee:
            cadam Cristian Adam
            Reporter:
            abdel Abdel Younes
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes