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

QWidget(tst_qwidget) crashes often on Mac.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: P2: Important P2: Important
    • None
    • 5.0.0
    • None
    • Mac OS X 10.6.8 & Ubuntu Linux 10.04
    • macOS

      tst_qwidget crashes often on Mac. (qtbase/tests/auto/qwidget)
      And it warns 'BadWindow's on Linux.
      I checked it with e3990c358a5ffa0f43ab3ded018f29e468697841 (master in qt5/qtbase).

      Reason:

      QWindow's d->platformWindow(QPlatformWindow) is destroyed and created when QWindow::setScreen() is called.
      But QWidget doesn't take care of it's backing store at that time.
      So the backing store continues to use old destroyed platform window.

        1. linux.log
          15 kB
          Takumi ASAKI
        2. mac.log
          5 kB
          Takumi ASAKI
        3. trace_21425.txt
          45 kB
          Caroline Chao
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            asaki Takumi ASAKI
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes