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

Crash when running manual test with a dependency to an unconfigured qtdeclarative

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 10.0.1
    • None
    • M1 MacBook Pro

      Steps to reproduce:

      1. Open qtdeclarative and https://code.qt.io/cgit/qt/qtdeclarative.git/tree/tests/manual/quickcontrols/testbench in a session
      2. Make testbench dependent on qtdeclarative
      3. Close the session/Creator and do something that makes qtdeclarative unconfigured (I think wiping and rebuilding the Qt version that built the qtdeclarative does this)
      4. Re-open the session and run testbench; Creator will crash
      Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
      0   libProjectExplorer.dylib      	       0x109421898 ProjectExplorer::Target::activeBuildConfiguration() const + 0
      1   libProjectExplorer.dylib      	       0x109199e60 0x109144000 + 351840
      2   libProjectExplorer.dylib      	       0x10919b9f0 ProjectExplorer::BuildManager::potentiallyBuildForRunConfig(ProjectExplorer::RunConfiguration*) + 324
      3   libProjectExplorer.dylib      	       0x109371430 ProjectExplorer::ProjectExplorerPlugin::runRunConfiguration(ProjectExplorer::RunConfiguration*, Utils::Id, bool) + 124
      4   libProjectExplorer.dylib      	       0x10937c844 0x109144000 + 2328644
      5   QtCore                        	       0x10332e4b4 QtPrivate::QSlotObjectBase::call(QObject*, void**) + 28 (qobjectdefs_impl.h:363) [inlined]
      6   QtCore                        	       0x10332e4b4 void doActivate<false>(QObject*, int, void**) + 772 (qobject.cpp:3979)
      7   QtGui                         	       0x101986354 QAction::triggered(bool) + 60
      8   QtCore                        	       0x10332e4b4 QtPrivate::QSlotObjectBase::call(QObject*, void**) + 28 (qobjectdefs_impl.h:363) [inlined]
      9   QtCore                        	       0x10332e4b4 void doActivate<false>(QObject*, int, void**) + 772 (qobject.cpp:3979)
      10  QtGui                         	       0x1019861dc QAction::activate(QAction::ActionEvent) + 368
      11  QtCore                        	       0x103326eb8 QObject::event(QEvent*) + 604 (qobject.cpp:1378)
      12  QtWidgets                     	       0x1021de710 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 272
      13  QtWidgets                     	       0x1021df6a8 QApplication::notify(QObject*, QEvent*) + 512
      14  QtCore                        	       0x1032e4e9c QCoreApplication::notifyInternal2(QObject*, QEvent*) + 292 (qcoreapplication.cpp:1035)
      15  QtCore                        	       0x1032e61b0 QCoreApplication::sendEvent(QObject*, QEvent*) + 16 (qcoreapplication.cpp:1451) [inlined]
      16  QtCore                        	       0x1032e61b0 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 1428 (qcoreapplication.cpp:1813)
      17  libqcocoa.dylib               	       0x101fb1a34 0x101f9c000 + 88628
      18  libqcocoa.dylib               	       0x101fb21dc 0x101f9c000 + 90588
      19  CoreFoundation                	       0x19b97a710 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
      20  CoreFoundation                	       0x19b97a6a4 __CFRunLoopDoSource0 + 176
      21  CoreFoundation                	       0x19b97a414 __CFRunLoopDoSources0 + 244
      22  CoreFoundation                	       0x19b97901c __CFRunLoopRun + 828
      23  CoreFoundation                	       0x19b97858c CFRunLoopRunSpecific + 612
      24  HIToolbox                     	       0x1a51addf4 RunCurrentEventLoopInMode + 292
      25  HIToolbox                     	       0x1a51adc30 ReceiveNextEventCommon + 648
      26  HIToolbox                     	       0x1a51ad988 _BlockUntilNextEventMatchingListInModeWithFilter + 76
      27  AppKit                        	       0x19eb97f58 _DPSNextEvent + 636
      28  AppKit                        	       0x19eb970f4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
      29  AppKit                        	       0x19eb8b558 -[NSApplication run] + 464
      30  libqcocoa.dylib               	       0x101fb1010 0x101f9c000 + 86032
      31  QtCore                        	       0x1032ee2c0 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 36 (qeventloop.cpp:100) [inlined]
      32  QtCore                        	       0x1032ee2c0 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 532 (qeventloop.cpp:182)
      33  QtCore                        	       0x1032e5538 QCoreApplication::exec() + 128 (qcoreapplication.cpp:1356)
      34  Qt Creator                    	       0x1008f44cc 0x1008e8000 + 50380
      35  dyld                          	       0x19b543f28 start + 2236
      

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

            kandeler Christian Kandeler
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes