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

QWidget::createWindowContainer regression on Mac (crash)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.2.1
    • 5.2.0
    • GUI: Window management
    • None
    • OSX 10.9, 10.7.5
    • macOS
    • 8fa6cb83c6301061d1397e4befd7150b2c7723b7

    Description

      See attached test.mm
      This small samples works properly until Qt 5.2.0 beta1, but in release 5.2.0 version (and certainly RC1), it causes a crash.

      See attached picture about the location of the exception in Qt source code.

      The exception reported by the debugger is:
      -[NSSearchField windowNotification:]: unrecognized selector sent to instance 0x8352ac0 (lldb)

      Apparently, 'windowNotification' is some selector defined elsewhere in Qt

      I think the problem has happened since the following commit was done, though I can't really identify the core problem.
      https://qt.gitorious.org/qt/qtbase/commit/72a7882cec07a9ad187c9e1772fb08f59a4b9519#src/widgets/kernel/qwidget.cpp

      Attachments

        1. crash.png
          crash.png
          43 kB
        2. QTBUG-35629.pro
          0.3 kB
        3. test.mm
          0.7 kB
        4. test-macviewcontainer.mm
          0.7 kB
        5. test-show-later.mm
          0.8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            jirauser26727 user-04d21 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes