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

[M1 Big Sur, Moterey] Crash when calling unsetCursor()

    XMLWordPrintable

Details

    • macOS

    Description

      Crash log:

      // code placeholderThread 0 Crashed:: Dispatch queue: com.apple.main-thread\Thread 0 Crashed:: Dispatch queue: com.apple.main-thread\0   libobjc.A.dylib                0x00007fff20210623 objc_retain + 35\
      1   libqcocoa.dylib                0x000000011298ab46 0x11293c000 + 322374\
      2   org.qt-project.QtGui          0x000000010ea4113b QWindowPrivate::setCursor(QCursor const*) + 363\
      3   org.qt-project.QtWidgets      0x000000010db98eea 0x10db49000 + 327402\
      4   org.qt-project.QtWidgets      0x000000010db9b3fb QWidget::unsetCursor() + 107\
      5   org.qt-project.QtCore          0x000000010fe52ee9 QObject::event(QEvent*) + 873\
      6   org.qt-project.QtWidgets      0x000000010db53c1e QApplicationPrivate::notify_helper(QObject*, QEvent*) + 254\
      7   org.qt-project.QtWidgets      0x000000010db54dc5 QApplication::notify(QObject*, QEvent*) + 501\
      8   org.qt-project.QtCore          0x000000010fc0d127 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 215\
      9   org.qt-project.QtCore          0x000000010fc0e2ce QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 830\
      10  libqcocoa.dylib                0x0000000112951b35 0x11293c000 + 88885\
      11  libqcocoa.dylib                0x000000011295228b 0x11293c000 + 90763\
      12  com.apple.CoreFoundation      0x00007fff2046b02c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17\
      13  com.apple.CoreFoundation      0x00007fff2046af94 __CFRunLoopDoSource0 + 180\
      14  com.apple.CoreFoundation      0x00007fff2046ad0a __CFRunLoopDoSources0 + 242\
      15  com.apple.CoreFoundation      0x00007fff20469718 __CFRunLoopRun + 897\
      16  com.apple.CoreFoundation      0x00007fff20468cd0 CFRunLoopRunSpecific + 567\
      17  com.apple.HIToolbox            0x00007fff289131f3 RunCurrentEventLoopInMode + 292\
      18  com.apple.HIToolbox            0x00007fff28912f55 ReceiveNextEventCommon + 587\
      19  com.apple.HIToolbox            0x00007fff28912cf3 _BlockUntilNextEventMatchingListInModeWithFilter + 70\
      20  com.apple.AppKit              0x00007fff22b9c172 _DPSNextEvent + 864\
      21  com.apple.AppKit              0x00007fff22b9a945 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1364\
      22  libqcocoa.dylib                0x0000000112950af8 0x11293c000 + 84728\
      23  org.qt-project.QtCore          0x000000010fc1505e QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 382\
      24  org.qt-project.QtWidgets      0x000000010dd9ab2e QDialog::exec() + 510\
      

       

      The crash issue doesn't occur in Big Sur Intel but occurred in Big Sur M1. 

      The reproduction frequency is 1/10.

      Could you give me the possible causes?

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            tam Tam Tran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes