Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.4.0 Beta
-
None
-
OSX 10.9
Description
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