Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-117402

qt 6 crashed on MacOS when QWidgetRepaintManager::sync()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P1: Critical
    • None
    • 6.4.2
    • None
    • macOS

    Description

      My application ran into a crash at QWidgetRepaintManager::sync(),

       the whole stack are as following:

      //代码占位符
      Crashed Thread:        0  Dispatch queue: com.apple.main-threadException Type:        EXC_CRASH (SIGABRT)
      Exception Codes:       0x0000000000000000, 0x0000000000000000
      Exception Note:        EXC_CORPSE_NOTIFYApplication Specific Information:
      abort() called
      Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
      0   libsystem_kernel.dylib                0x7ff816edbffe __pthread_kill + 10
      1   libsystem_pthread.dylib               0x7ff816f121ff pthread_kill + 263
      2   libsystem_c.dylib                     0x7ff816e5dd24 abort + 123
      3   libc++abi.dylib                       0x7ff816ece082 abort_message + 241
      4   libc++abi.dylib                       0x7ff816ebf245 demangling_terminate_handler() + 242
      5   libobjc.A.dylib                       0x7ff816dbbe19 _objc_terminate() + 104
      6   libc++abi.dylib                       0x7ff816ecd4a7 std::__terminate(void (*)()) + 8
      7   libc++abi.dylib                       0x7ff816ecd458 std::terminate() + 56
      8   QtCore                                   0x11945ad6b QSemaphore::acquire(int) + 75
      9   QtGui                                    0x118f0e971 0x118a61000 + 4905329
      10  QtGui                                    0x118beeeb4 0x118a61000 + 1629876
      11  QtGui                                    0x118bf5385 QRasterPaintEngine::drawImage(QRectF const&, QImage const&, QRectF const&, QFlags<Qt::ImageConversionFlag>) + 5029
      12  QtGui                                    0x118c1157d QPainter::drawImage(QRectF const&, QImage const&, QRectF const&, QFlags<Qt::ImageConversionFlag>) + 909
      13  libqcocoa.dylib                          0x116239a89 0x11622b000 + 60041
      14  QtGui                                    0x118b54a6b QBackingStore::flush(QRegion const&, QWindow*, QPoint const&) + 651
      15  QtWidgets                                0x112278e2e QWidgetRepaintManager::flush(QWidget*, QRegion const&, QPlatformTextureList*) + 766
      16  QtWidgets                                0x11227b904 QWidgetRepaintManager::flush() + 788
      17  QtWidgets                                0x11227a7d8 QWidgetRepaintManager::paintAndFlush() + 5064
      18  QtWidgets                                0x11227aa9f QWidgetRepaintManager::sync() + 255
      19  QtWidgets                                0x112268625 QWidget::event(QEvent*) + 1813
      20  NDMeeting                                0x10fa35875 NDMainWidget::event(QEvent*) + 725
      21  QtWidgets                                0x1122180b7 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 247
      22  QtWidgets                                0x112218ffc QApplication::notify(QObject*, QEvent*) + 508
      23  QtCore                                   0x1192cd1da QCoreApplication::notifyInternal2(QObject*, QEvent*) + 170
      24  QtCore                                   0x1192ce42c QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 1468
      25  libqcocoa.dylib                          0x11624221b 0x11622b000 + 94747
      26  libqcocoa.dylib                          0x11624292b 0x11622b000 + 96555
      27  CoreFoundation                        0x7ff816fd915b __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      28  CoreFoundation                        0x7ff816fd90c3 __CFRunLoopDoSource0 + 180
      29  CoreFoundation                        0x7ff816fd8e3d __CFRunLoopDoSources0 + 242
      30  CoreFoundation                        0x7ff816fd7858 __CFRunLoopRun + 892
      31  CoreFoundation                        0x7ff816fd6e1c CFRunLoopRunSpecific + 562
      32  HIToolbox                             0x7ff81fc845e6 RunCurrentEventLoopInMode + 292
      33  HIToolbox                             0x7ff81fc84213 ReceiveNextEventCommon + 283
      34  HIToolbox                             0x7ff81fc840e5 _BlockUntilNextEventMatchingListInModeWithFilter + 70
      35  AppKit                                0x7ff819a11f6d _DPSNextEvent + 927
      36  AppKit                                0x7ff819a1062a -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394
      37  AppKit                                0x7ff819a02cd9 -[NSApplication run] + 586
      38  libqcocoa.dylib                          0x116241833 0x11622b000 + 92211
      39  QtCore                                   0x1192d6526 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 486
      40  QtCore                                   0x1192cd7d5 QCoreApplication::exec() + 133
      41  NDMeeting                                0x10f8ed679 main + 265
      42  dyld                                     0x1165b252e start + 462 

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            xp19870106 peng xu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes