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

Qt Creator crashes when starting PySide2 application

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.13.0
    • Fix Version/s: Qt Creator 4.13.1
    • Component/s: Python Support
    • Labels:
      None
    • Environment:
      * macOS 10.13.6
      * Qt 5.15
      * XCode Version 10.1 (10B61)
      * Python 3.8.3
    • Platform/s:
      macOS

      Description

      Qt Creator crashes when starting a PySide2 application. Qt Creator 4.12.4 did not crash.

      Stach trace of the crashed thread:

      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0   libProjectExplorer.dylib      	0x0000000112a1e6ee ProjectExplorer::BuildConfiguration::customParsers() const + 14
      1   libProjectExplorer.dylib      	0x0000000112a186b6 ProjectExplorer::BuildStep::setupOutputFormatter(Utils::OutputFormatter*) + 102
      2   libProjectExplorer.dylib      	0x0000000112a2afcf ProjectExplorer::Internal::ProcessStep::setupOutputFormatter(Utils::OutputFormatter*) + 95
      3   libProjectExplorer.dylib      	0x00000001129c6cf2 ProjectExplorer::BuildManager::nextStep() + 1554
      4   libProjectExplorer.dylib      	0x00000001129c6568 ProjectExplorer::BuildManager::startBuildQueue() + 1016
      5   libProjectExplorer.dylib      	0x00000001129c8b0e ProjectExplorer::BuildManager::buildLists(QList<ProjectExplorer::BuildStepList*>, QStringList const&) + 830
      6   libProjectExplorer.dylib      	0x00000001129c3bc1 ProjectExplorer::queue(QList<ProjectExplorer::Project*> const&, QList<Utils::Id> const&, ProjectExplorer::ConfigSelection, ProjectExplorer::RunConfiguration const*) + 5121
      7   libProjectExplorer.dylib      	0x00000001129c546f ProjectExplorer::BuildManager::potentiallyBuildForRunConfig(ProjectExplorer::RunConfiguration*) + 255
      8   libProjectExplorer.dylib      	0x0000000112914196 ProjectExplorer::ProjectExplorerPlugin::runRunConfiguration(ProjectExplorer::RunConfiguration*, Utils::Id, bool) + 198
      9   libProjectExplorer.dylib      	0x000000011291eeb1 QtPrivate::QFunctorSlotObject<ProjectExplorer::ProjectExplorerPlugin::initialize(QStringList const&, QString*)::$_42, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) + 97
      10  org.qt-project.QtCore         	0x000000010e9882e5 0x10e75d000 + 2274021
      11  org.qt-project.QtWidgets      	0x000000010dbb3b7f QAction::triggered(bool) + 63
      12  org.qt-project.QtCore         	0x000000010e9882e5 0x10e75d000 + 2274021
      13  org.qt-project.QtWidgets      	0x000000010dbb39b6 QAction::activate(QAction::ActionEvent) + 310
      14  org.qt-project.QtWidgets      	0x000000010dca6840 0x10dbac000 + 1026112
      15  org.qt-project.QtWidgets      	0x000000010dca7a4f QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 271
      16  org.qt-project.QtWidgets      	0x000000010dda215f QToolButton::mouseReleaseEvent(QMouseEvent*) + 15
      17  org.qt-project.QtWidgets      	0x000000010dbf77bd QWidget::event(QEvent*) + 445
      18  org.qt-project.QtWidgets      	0x000000010dda26ef QToolButton::event(QEvent*) + 319
      19  libCore.dylib                 	0x00000001122d8b4e Core::Internal::FancyToolButton::event(QEvent*) + 494
      20  org.qt-project.QtWidgets      	0x000000010dbbcfea QApplicationPrivate::notify_helper(QObject*, QEvent*) + 266
      21  org.qt-project.QtWidgets      	0x000000010dbbfec2 QApplication::notify(QObject*, QEvent*) + 7330
      22  org.qt-project.QtCore         	0x000000010e954d64 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
      23  org.qt-project.QtWidgets      	0x000000010dbbd910 QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) + 896
      24  org.qt-project.QtWidgets      	0x000000010dc1699f 0x10dbac000 + 436639
      25  org.qt-project.QtWidgets      	0x000000010dc150a5 0x10dbac000 + 430245
      26  org.qt-project.QtWidgets      	0x000000010dbbcfea QApplicationPrivate::notify_helper(QObject*, QEvent*) + 266
      27  org.qt-project.QtWidgets      	0x000000010dbbe476 QApplication::notify(QObject*, QEvent*) + 598
      28  org.qt-project.QtCore         	0x000000010e954d64 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
      29  org.qt-project.QtGui          	0x000000010e193ca5 QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 3397
      30  org.qt-project.QtGui          	0x000000010e178e5b QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 219
      31  libqcocoa.dylib               	0x0000000110bd6e00 0x110b9d000 + 237056
      32  libqcocoa.dylib               	0x0000000110bd7568 0x110b9d000 + 238952
      33  com.apple.CoreFoundation      	0x00007fff397a3b01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      34  com.apple.CoreFoundation      	0x00007fff3985be5c __CFRunLoopDoSource0 + 108
      35  com.apple.CoreFoundation      	0x00007fff39786ab0 __CFRunLoopDoSources0 + 208
      36  com.apple.CoreFoundation      	0x00007fff39785f2d __CFRunLoopRun + 1293
      37  com.apple.CoreFoundation      	0x00007fff39785787 CFRunLoopRunSpecific + 487
      38  com.apple.HIToolbox           	0x00007fff38a65d96 RunCurrentEventLoopInMode + 286
      39  com.apple.HIToolbox           	0x00007fff38a65a0f ReceiveNextEventCommon + 366
      40  com.apple.HIToolbox           	0x00007fff38a65884 _BlockUntilNextEventMatchingListInModeWithFilter + 64
      41  com.apple.AppKit              	0x00007fff36d12a3b _DPSNextEvent + 2085
      42  com.apple.AppKit              	0x00007fff374a8e34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
      43  com.apple.AppKit              	0x00007fff36d0784d -[NSApplication run] + 764
      44  libqcocoa.dylib               	0x0000000110bd61cf 0x110b9d000 + 233935
      45  org.qt-project.QtCore         	0x000000010e950e0f QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
      46  org.qt-project.QtCore         	0x000000010e955372 QCoreApplication::exec() + 130
      47  org.qt-project.qtcreator      	0x000000010d58f0a5 main + 16949
      48  libdyld.dylib                 	0x00007fff617a4015 start + 1
      

        Attachments

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

          Activity

            People

            Assignee:
            davschul David Schulz
            Reporter:
            matejk Matej Kenda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes