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

Crash when creating QWindow

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9.0 Alpha
    • 5.9
    • QPA
    • macOS
    • 2fe9f30512092cfb1928feaa9d3c56025c74f92a

    Description

      See QTBUG-58107. It seems the init() function that recreates a QWindow for each test triggers a regression somewhere in the cocoa qpa. The linked commit temporarily works around this by using initTestCase() instead of init().

      Use the state of qt3d prior to the fix for QTBUG-58107 to git bisect qtbase. The previous version of qtbase that is thought to be OK is 8266de089cdc85a5ac93361e22722ba817878c4b but this needs to be compared with when these graphics helper tests were introduced.

      Once issue in qtbase is solved, we should revert https://codereview.qt-project.org/#/c/182144/.

      Attachments

        1. qwindowtest.tar.gz
          1.0 kB
          Sean Harmer

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              seanharmer Sean Harmer
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes