Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.2
-
None
Description
When I ran the code using a debug build of Qt I get the assertion:
ASSERT: "idx >= 0 && idx < d->type->d->names.count()" in file /home/hugo/src/qt/src/declarative/util/qdeclarativeopenmetaobject.cpp, line 371
The value of idx and d->type->d->names.count() both are 2.
In release mode the code works without any segfault. This bug is related to PySide bug 814[1]
Attachments
For Gerrit Dashboard: QTBUG-18801 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
2312,1 | Fix crash when a model defines its own modelData role. | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |