Summary: | Digikam crashes on importing | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | András Manţia <amantia> |
Component: | Import-IconView | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | caulier.gilles, wazery |
Priority: | NOR | ||
Version: | 3.0.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/digikam/2fa633dfe382d08cf008b66a832ad43d79caffe5 | Version Fixed In: | 7.6.0 |
Sentry Crash Report: |
Description
András Manţia
2012-11-15 18:07:58 UTC
> #11 0x00007fa9e80816fc in qt_assert (assertion=0x7fa9e82caf5b "last >=
> first", file=0x7fa9e82cacfe "kernel/qabstractitemmodel.cpp", line=2413) at
> global/qglobal.cpp:2013
> #12 0x00007fa9e81bf514 in QAbstractItemModel::beginInsertRows
> (this=0x5320620, parent=..., first=0, last=-1) at
> kernel/qabstractitemmodel.cpp:2413
This is something for Islam:
It can be seen that it is possible to have an empty list of newInfos, which
causes an ASSERT if Qt is compiled so.
Git commit 2fa633dfe382d08cf008b66a832ad43d79caffe5 by Marcel Wiesweg. Committed on 22/12/2012 at 19:34. Pushed by mwiesweg into branch 'master'. Dont crash trying to add an empty list: Filtering for mimetype is not appropriate in the core of the model. As this seems to be about filtering out invalid entries, move it to the Controller. M +6 -4 utilities/importui/backend/cameracontroller.cpp M +8 -22 utilities/importui/models/importimagemodel.cpp http://commits.kde.org/digikam/2fa633dfe382d08cf008b66a832ad43d79caffe5 Sorry guys because I am not replying to emails. I am now in a military campaigns s that have very very limited internet access. On 12/22/12, Marcel Wiesweg <marcel.wiesweg@gmx.de> wrote: > https://bugs.kde.org/show_bug.cgi?id=310163 > > Marcel Wiesweg <marcel.wiesweg@gmx.de> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|CONFIRMED |RESOLVED > Resolution|--- |FIXED > Latest Commit| > |http://commits.kde.org/digi > | > |kam/2fa633dfe382d08cf008b66 > | |a832ad43d79caffe5 > > --- Comment #2 from Marcel Wiesweg <marcel.wiesweg@gmx.de> --- > Git commit 2fa633dfe382d08cf008b66a832ad43d79caffe5 by Marcel Wiesweg. > Committed on 22/12/2012 at 19:34. > Pushed by mwiesweg into branch 'master'. > > Dont crash trying to add an empty list: > Filtering for mimetype is not appropriate in the core of the model. > As this seems to be about filtering out invalid entries, move it to the > Controller. > > M +6 -4 utilities/importui/backend/cameracontroller.cpp > M +8 -22 utilities/importui/models/importimagemodel.cpp > > http://commits.kde.org/digikam/2fa633dfe382d08cf008b66a832ad43d79caffe5 > > -- > You are receiving this mail because: > You are the assignee for the bug. > _______________________________________________ > Digikam-devel mailing list > Digikam-devel@kde.org > https://mail.kde.org/mailman/listinfo/digikam-devel > |