Details
-
Bug
-
Resolution: Cannot Reproduce
-
P1: Critical
-
5.1.1
-
None
-
Qt 5.1.1
Samsung Galaxy S2
Description
Run the following code on an Android device (I ran it on an S2) and it should throw an assertion:
import QtQuick 2.0 import QtQuick.Controls 1.0 Rectangle { id: root width: 480 height: 800 color: "#161616" property color fontColor: "white" property Component comboComponent: Item { ComboBox { } } StackView { id: view anchors.fill: parent Text { text: "Back" color: fontColor font.pixelSize: 30 anchors.left: parent.left anchors.leftMargin: 20 anchors.bottom: parent.bottom visible: view.depth > 1 MouseArea { anchors.fill: parent onClicked: view.pop() } } initialItem: Item { Button { width: view.width height: 100 anchors.centerIn: parent text: "PUSH ME!" onClicked: { view.push({item: comboComponent}); } } } } }
Commenting out the ComboBox avoids the assertion.
The same code runs without problems on Ubuntu 12.04.
F/Qt (17526): /home/micurtis/dev/qt5-stable/qtbase/src/corelib/global/qglobal.cpp:2014 (void qt_assert(const char*, const char*, int)): ASSERT: "aend <= d->end()" in file ../../../../../include/QtCore/../../../../qt5-stable/qtbase/src/corelib/tools/qvector.h, line 620
Attachments
Issue Links
- is required for
-
QTBUG-33863 Issues to be fixed before Qt5.2 RC1 release
- Closed