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

Reg 5.11.2 -> 5.12.0 QMacCocoaViewContainer causes the application to crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.12.0 Beta 2
    • Fix Version/s: 5.12.1
    • Component/s: QPA
    • Labels:
      None
    • Environment:
      macOS 10.13, 10.14
    • Platform/s:
      macOS
    • Commits:
      f018e315fd654dcc0a22209e5a3506b4c8838e1c (qt/qtbase/5.12)
    • Sprint:
      Triaged issues

      Description

      Find the test application attached. It works with Qt 5.9.6, 5.11.1 and 5.11.2, but crashes with 5.12.0 beta 2. Tested on macOS 10.13 and 10.14.

      Before crashing, it outputs the following:

      ASSERT: "!topLevelWindow->handle()->isForeignWindow() && !window->handle()->isForeignWindow()" in file qcocoabackingstore.mm, line 92

      The crash report is also attached.

       

        Attachments

        1. crashreport.txt
          51 kB
        2. image-2018-12-04-08-19-11-956.png
          image-2018-12-04-08-19-11-956.png
          208 kB
        3. QCocoaViewContainer Test.zip
          1 kB

          Issue Links

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

            Activity

              People

              • Assignee:
                sorvig Morten Sørvig
                Reporter:
                alexium Alex
              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes