[Digikam-devel] [digikam] [Bug 357577] crashes after splash screen with ASSERT failure in QVector

via KDE Bugzilla bugzilla_noreply at kde.org
Sat Jan 9 11:04:27 GMT 2016


https://bugs.kde.org/show_bug.cgi?id=357577

--- Comment #16 from caulier.gilles at gmail.com ---
Qt said that QVector are used out on index. This is an internal use, not from
digiKam.

The Digikam::AbstractAlbumModel::slotAlbumAboutToBeAdded is called with these
arguments (this=0x1390690, album=0x21f7de0, parent=0x21f6410, prev=0x0)

prev = 0 wnat mean that a parent album must be registered in model. Code
relevant from digiKam is here :

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/models/abstractalbummodel.cpp#L422

This call Qt like this QAbstractItemModel::beginInsertRows (this=0x1390690,
parent=..., first=0, last=0)

...and it crash. Note that first and last are null, which is fine with Qt API :

http://doc.qt.io/qt-5/qabstractitemmodel.html#beginInsertRows

Gilles Caulier

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list