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

Crash in QQuickWindowPrivate::polishItems

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 5.4.0 Beta
    • None
    • OSX 10.9

      I am unable to reduce the test case at the moment, but what seems to happen is that occasionally, when items are no longer in the view, QQuickWindowPrivate tries to access them and gets a bad pointer since those items have been deleted.

      The symptoms in the debugger are below:

      Program received signal EXC_BAD_ACCESS, Could not access memory.
      Reason: 13 at address: 0x0000000000000000
      0x0000000102f085c8 in QQuickWindowPrivate::polishItems (this=0x1100a9a80) at items/qquickwindow.cpp:262
      (gdb) list
      257
      258             for (QSet<QQuickItem *>::iterator it = itms.begin(); it != itms.end(); ++it) {
      259                 QQuickItem *item = *it;
      260                 QQuickItemPrivate* d = QQuickItemPrivate::get(item);
      261                 Q_ASSERT(d);
      262                 d->polishScheduled = false;
      263                 item->updatePolish();
      264             }
      265         }
      266
      (gdb) print d
      $2 = (QQuickItemPrivate *) 0x50000000118f864e
      

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

            sletta Gunnar Sletta
            sohail Sohail Somani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes