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

QCocoaScreen::UpdateScreens crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.15.2, 6.2.1, 6.2.4, 6.3.0 Beta3
    • Fix Version/s: 5.15.11, 6.2.6, 6.4.0 Beta1
    • Component/s: Other
    • Labels:
      None
    • Platform/s:
      macOS
    • Commits:
      e801b72e09 (qt/qtbase/6.3) a7020580e1 (qt/qtbase/6.4) e801b72e09 (qt/tqtc-qtbase/6.3) a7020580e1 (qt/tqtc-qtbase/6.4) a03e9505fd (qt/tqtc-qtbase/5.15) c50353cbb3 (qt/tqtc-qtbase/6.2)

      Description

      There's a crash happening in QCocoaScreen::UpdateScreens (qcocoascreen.mm:160, platformScreen is null) when you have 2 or more monitors plugged in and the Mac resumes from sleep. See the callstack in attachment. I can reproduce at 100% with a Mac mini on Monterey.

        Attachments

        1. 6.2.1-patched.zip
          11.44 MB
        2. CrashQCocoaScreen.jpg
          CrashQCocoaScreen.jpg
          110 kB
        3. log.txt
          4 kB

          Issue Links

          For Gerrit Dashboard: QTBUG-102021
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              vestbo Tor Arne Vestbø
              Reporter:
              brunosignify Bruno Cadoret
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: