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

Qt Creator sometimes crashes when waking up mac the next day

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • Qt Creator 11.0.1
    • All Other Issues
    • None
    • macOS

    Description

      I have a macbook pro intel 2019 connected to an external dell display, and often when i put the machine to sleep and wake it up the next day, Creator crashes with the following trace:

      -------------------------------------
      Translated Report (Full Report Below)
      -------------------------------------
      
      Process:               Qt Creator [2319]
      Path:                  /Volumes/VOLUME/*/Qt Creator.app/Contents/MacOS/Qt Creator
      Identifier:            org.qt-project.qtcreator
      Version:               10.0.82 (10.0.82)
      Code Type:             X86-64 (Native)
      Parent Process:        launchd [1]
      User ID:               501
      
      Date/Time:             2023-07-20 18:56:48.4033 +0200
      OS Version:            macOS 13.3 (22E252)
      Report Version:        12
      Bridge OS Version:     7.4 (20P4252)
      Anonymous UUID:        A9939786-BCA9-A2A3-0ADF-02CE3819F43E
      
      Sleep/Wake UUID:       17ED78D6-72FE-4047-9B75-1E06A2EC5C67
      
      Time Awake Since Boot: 100000 seconds
      Time Since Wake:       34230 seconds
      
      System Integrity Protection: disabled
      
      Crashed Thread:        0  Dispatch queue: com.apple.main-thread
      
      Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000024
      Exception Codes:       0x0000000000000001, 0x0000000000000024
      
      Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
      Terminating Process:   exc handler [2319]
      
      VM Region Info: 0x24 is not in any region.  Bytes before following region: 140737487118300
            REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
            UNUSED SPACE AT START
      --->  
            shared memory            7fffffed2000-7fffffed3000 [    4K] r-x/r-x SM=SHM  
      
      Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
      0   QtGui                         	       0x10d72e02a QMacCGContext::initialize(QPaintDevice*) + 410
      1   QtGui                         	       0x10d72ceaa qt_mac_toQPixmap(NSImage const*, QSizeF const&) + 138
      2   libqcocoa.dylib               	       0x10cbfe57c 0x10cbbf000 + 259452
      3   QtGui                         	       0x10d38cd12 QAbstractFileIconEngine::pixmap(QSize const&, QIcon::Mode, QIcon::State) + 418
      4   QtGui                         	       0x10d38ceef QAbstractFileIconEngine::scaledPixmap(QSize const&, QIcon::Mode, QIcon::State, double) + 15
      5   QtGui                         	       0x10d39453b QPixmapIconEngine::paint(QPainter*, QRect const&, QIcon::Mode, QIcon::State) + 219
      6   QtGui                         	       0x10d3978d2 QIcon::paint(QPainter*, QRect const&, QFlags<Qt::AlignmentFlag>, QIcon::Mode, QIcon::State) const + 354
      7   QtWidgets                     	       0x10dfb819c QCommonStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const + 14252
      8   libqmacstyle.dylib            	       0x10def11fc 0x10dedf000 + 74236
      9   QtWidgets                     	       0x10e22430c QStyledItemDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const + 124
      10  QtWidgets                     	       0x10e26bb0e QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const + 3086
      11  QtWidgets                     	       0x10e269c5b QTreeView::drawTree(QPainter*, QRegion const&) const + 907
      12  QtWidgets                     	       0x10e269897 QTreeView::paintEvent(QPaintEvent*) + 327
      13  QtWidgets                     	       0x10df94d2e QWidget::event(QEvent*) + 1262
      14  QtWidgets                     	       0x10e02b2bb QFrame::event(QEvent*) + 43
      15  QtWidgets                     	       0x10e1f499b QAbstractItemView::viewportEvent(QEvent*) + 1131
      16  QtWidgets                     	       0x10e2695c3 QTreeView::viewportEvent(QEvent*) + 355
      17  QtCore                        	       0x10f0883c5 QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 229
      18  QtWidgets                     	       0x10df449b3 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 227
      19  QtWidgets                     	       0x10df4590c QApplication::notify(QObject*, QEvent*) + 508
      20  QtCore                        	       0x10f08812a QCoreApplication::notifyInternal2(QObject*, QEvent*) + 170
      21  QtWidgets                     	       0x10df86fdd QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 3981
      22  QtWidgets                     	       0x10df8ec1f QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 1007
      23  QtWidgets                     	       0x10df8eada QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 682
      24  QtWidgets                     	       0x10df87118 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 4296
      25  QtWidgets                     	       0x10df8ec1f QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 1007
      26  QtWidgets                     	       0x10df8eada QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 682
      27  QtWidgets                     	       0x10df8eada QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 682
      28  QtWidgets                     	       0x10df87118 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 4296
      29  QtWidgets                     	       0x10df8ec1f QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 1007
      30  QtWidgets                     	       0x10df87118 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 4296
      31  QtWidgets                     	       0x10df8ec1f QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 1007
      32  QtWidgets                     	       0x10df8eada QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 682
      33  QtWidgets                     	       0x10df8eada QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 682
      34  QtWidgets                     	       0x10df87118 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 4296
      35  QtWidgets                     	       0x10df8ec1f QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 1007
      36  QtWidgets                     	       0x10df87118 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 4296
      37  QtWidgets                     	       0x10df8ec1f QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 1007
      38  QtWidgets                     	       0x10df8eada QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 682
      39  QtWidgets                     	       0x10df87118 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 4296
      40  QtWidgets                     	       0x10df8ec1f QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 1007
      41  QtWidgets                     	       0x10df87118 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 4296
      42  QtWidgets                     	       0x10df8ec1f QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 1007
      43  QtWidgets                     	       0x10df87118 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) + 4296
      44  QtWidgets                     	       0x10dfa711d QWidgetRepaintManager::paintAndFlush() + 5085
      45  QtWidgets                     	       0x10dfa73ff QWidgetRepaintManager::sync() + 255
      46  QtWidgets                     	       0x10df94f55 QWidget::event(QEvent*) + 1813
      47  QtWidgets                     	       0x10e0d41e4 QMainWindow::event(QEvent*) + 276
      48  QtWidgets                     	       0x10df449c7 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 247
      49  QtWidgets                     	       0x10df4590c QApplication::notify(QObject*, QEvent*) + 508
      50  QtCore                        	       0x10f08812a QCoreApplication::notifyInternal2(QObject*, QEvent*) + 170
      51  QtWidgets                     	       0x10dfa3775 QWidgetRepaintManager::sendUpdateRequest(QWidget*, QWidgetRepaintManager::UpdateTime) + 629
      52  QtWidgets                     	       0x10dfa34a3 void QWidgetRepaintManager::markDirty<QRect>(QRect const&, QWidget*, QWidgetRepaintManager::UpdateTime, QWidgetRepaintManager::BufferState) + 2163
      53  QtWidgets                     	       0x10dfae0f1 0x10df3a000 + 475377
      54  QtCore                        	       0x10f0d75aa 0x10f01a000 + 775594
      55  QtGui                         	       0x10d455c2d QWindowPrivate::emitScreenChangedRecursion(QScreen*) + 77
      56  QtGui                         	       0x10d44b9ca QScreen::~QScreen() + 682
      57  QtGui                         	       0x10d44ba3e QScreen::~QScreen() + 14
      58  QtGui                         	       0x10d45fbbc QWindowSystemInterface::handleScreenRemoved(QPlatformScreen*) + 28
      59  libqcocoa.dylib               	       0x10cbf2853 0x10cbbf000 + 211027
      60  libqcocoa.dylib               	       0x10cbf0be8 0x10cbbf000 + 203752
      61  libqcocoa.dylib               	       0x10cc07fb2 0x10cbbf000 + 298930
      62  QtCore                        	       0x10f097894 QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const + 1284
      63  libqcocoa.dylib               	       0x10cc0be62 0x10cbbf000 + 314978
      64  CoreFoundation                	    0x7ff8012a9827 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 120
      65  CoreFoundation                	    0x7ff80134246e ___CFXRegistrationPost_block_invoke + 88
      66  CoreFoundation                	    0x7ff8013423c3 _CFXRegistrationPost + 536
      67  CoreFoundation                	    0x7ff80127cab7 _CFXNotificationPost + 729
      68  Foundation                    	    0x7ff8020e7d10 -[NSNotificationCenter postNotificationName:object:userInfo:] + 82
      69  AppKit                        	    0x7ff80455d0f2 __67-[NSWindow _updateSettingsSendingScreenChangeNotificationToScreen:]_block_invoke + 589
      70  AppKit                        	    0x7ff804390497 NSPerformVisuallyAtomicChange + 132
      71  AppKit                        	    0x7ff80455ce9f -[NSWindow _updateSettingsSendingScreenChangeNotificationToScreen:] + 69
      72  AppKit                        	    0x7ff8043922f8 -[NSWindow _setFrameCommon:display:fromServer:] + 3091
      73  AppKit                        	    0x7ff804c7aff7 -[NSWindow(NSScreenLayout) _setFrame:fromAdjustmentToScreen:anchorIfNeeded:animate:] + 882
      74  AppKit                        	    0x7ff804c7ac7f -[NSWindow(NSScreenLayout) _setFrame:fromAdjustmentToScreen:anchor:animate:] + 54
      75  AppKit                        	    0x7ff8044a8d11 -[NSWindow _setFrameAfterMove:] + 1538
      76  AppKit                        	    0x7ff804c8466a -[NSWindow _windowMovedToRect:dueToMoveEvent:] + 191
      77  AppKit                        	    0x7ff8044a84b7 -[NSWindow _windowMoved:] + 1010
      78  AppKit                        	    0x7ff8044a80a5 -[NSWindow _internalHandleAppKitDefinedEvent:] + 239
      79  AppKit                        	    0x7ff8044a7d9b -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 576
      80  AppKit                        	    0x7ff8044a793f -[NSWindow(NSEventRouting) sendEvent:] + 345
      81  libqcocoa.dylib               	       0x10cc31c82 0x10cbbf000 + 470146
      82  AppKit                        	    0x7ff8044a6a47 -[NSApplication(NSEvent) sendEvent:] + 2183
      83  libqcocoa.dylib               	       0x10cbc7f8a 0x10cbbf000 + 36746
      84  AppKit                        	    0x7ff804760bbe -[NSApplication _handleEvent:] + 65
      85  AppKit                        	    0x7ff804335cdd -[NSApplication run] + 623
      86  libqcocoa.dylib               	       0x10cbd5753 0x10cbbf000 + 91987
      87  QtCore                        	       0x10f0914b6 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 486
      88  QtCore                        	       0x10f088725 QCoreApplication::exec() + 133
      89  Qt Creator                    	       0x10c423fba main + 19274 (main.cpp:794)
      90  dyld                          	    0x7ff800e7e41f start + 1903
      

      I guess it might also be a Qt issue, but i figured i'd at least file the report.
      Self-built QtCreator 11 at 3f61223c0fee176bda8cde71c2eb754516afa5bd
      based on Qt 6.4.3.
      I've seen the crash for months now, with older Qt versions as well i believe.
      I'll rebuild with latest master based on latest Qt and will add more info to the issue in case it happens again.

      Attachments

        Issue Links

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

          Activity

            People

              con Eike Ziller
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes