Bug 389180 - Dolphin crashes at startup due to incorrect index passed to QVector::insert()
Summary: Dolphin crashes at startup due to incorrect index passed to QVector::insert()
Status: RESOLVED DUPLICATE of bug 389147
Alias: None
Product: dolphin
Classification: Applications
Component: panels: places (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-18 21:46 UTC by Eugene Shalygin
Modified: 2018-01-22 09:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Shalygin 2018-01-18 21:46:56 UTC
Frameworks and Dolphin are built from git master.

Stacktrace:
#0 raise() at /lib64/libc.so.6
#1 abort() at /lib64/libc.so.6
#2 QMessageLogger::fatal(char const*, ...) const() at /usr/lib64/libQt5Core.so.5
#3 qt_assert_x(char const*, char const*, char const*, int)() at /usr/lib64/libQt5Core.so.5
#4 QVector<QPersistentModelIndex>::insert() at /usr/include/qt5/QtCore/qvector.h:435
#5 PlacesItemModel::insertSortedItem() at /home/eugene/develop/KDE/live/dolphin/src/panels/places/placesitemmodel.cpp:177
#6 PlacesItemModel::addItemFromSourceModel() at /home/eugene/develop/KDE/live/dolphin/src/panels/places/placesitemmodel.cpp:414
#7 PlacesItemModel::loadBookmarks() at /home/eugene/develop/KDE/live/dolphin/src/panels/places/placesitemmodel.cpp:629
#8 PlacesItemModel::PlacesItemModel() at /home/eugene/develop/KDE/live/dolphin/src/panels/places/placesitemmodel.cpp:79
#9 InformationPanelContent::InformationPanelContent() at /home/eugene/develop/KDE/live/dolphin/src/panels/information/informationpanelcontent.cpp:151
#10 InformationPanel::init() at /home/eugene/develop/KDE/live/dolphin/src/panels/information/informationpanel.cpp:354
#11 InformationPanel::showEvent() at /home/eugene/develop/KDE/live/dolphin/src/panels/information/informationpanel.cpp:139
#12 QWidget::event(QEvent*)() at /usr/lib64/libQt5Widgets.so.5
#13 QApplicationPrivate::notify_helper(QObject*, QEvent*)() at /usr/lib64/libQt5Widgets.so.5
#14 QApplication::notify(QObject*, QEvent*)() at /usr/lib64/libQt5Widgets.so.5
#15 QCoreApplication::notifyInternal2(QObject*, QEvent*)() at /usr/lib64/libQt5Core.so.5
#16 QWidgetPrivate::show_helper()() at /usr/lib64/libQt5Widgets.so.5
#17 QWidgetPrivate::showChildren(bool)() at /usr/lib64/libQt5Widgets.so.5
#18 QWidgetPrivate::show_helper()() at /usr/lib64/libQt5Widgets.so.5
#19 QWidgetPrivate::showChildren(bool)() at /usr/lib64/libQt5Widgets.so.5
#20 QWidgetPrivate::show_helper()() at /usr/lib64/libQt5Widgets.so.5
#21 QWidget::setVisible(bool)() at /usr/lib64/libQt5Widgets.so.5
#22 kdemain() at /home/eugene/develop/KDE/live/dolphin/src/main.cpp:152
#23 main() at /home/eugene/develop/KDE/live/dolphin/build/src/dolphin_dummy.cpp:3

At #4, d->size == 10, i == 18
Comment 1 Nate Graham 2018-01-19 19:13:11 UTC
Thanks for the bug report, Eugene! Since you've pinpointed the issue and are capable of debugging and building from source, would yo like to submit a patch that fixes the issue? Patches are submitted using http://phabricator.kde.org/; the documentation for how to do this is available at https://community.kde.org/Infrastructure/Phabricator
Comment 2 Eugene Shalygin 2018-01-21 11:16:48 UTC
(In reply to Nate Graham from comment #1)
> Since you've pinpointed the issue and are capable of debugging and
> building from source, would yo like to submit a
> patch that fixes the issue? 

No, I have no idea what the actual problem is.
Comment 3 Kai Uwe Broulik 2018-01-22 09:05:00 UTC

*** This bug has been marked as a duplicate of bug 389147 ***