Bug 393529 - crash if user-places.xbel contains a duplicated entry
Summary: crash if user-places.xbel contains a duplicated entry
Status: RESOLVED DUPLICATE of bug 394507
Alias: None
Product: dolphin
Classification: Applications
Component: panels: places (show other bugs)
Version: 18.04.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-26 06:32 UTC by Antonio Rojas
Modified: 2018-06-03 11:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Rojas 2018-04-26 06:32:15 UTC
Dolphin crashes at startup when user-places.xbel contains a duplicated entry.

(gdb) bt
#0  KStandardItem::setDataValue (this=this@entry=0x555555e6d030, role=..., value=...)
    at /build/dolphin/src/dolphin-18.04.0/src/kitemviews/kstandarditem.cpp:104
#1  0x00007ffff74b2512 in KStandardItem::setIcon (this=0x555555e6d030, icon=...)
    at /build/dolphin/src/dolphin-18.04.0/src/kitemviews/kstandarditem.cpp:74
#2  0x00007ffff7b677d1 in PlacesItem::<lambda(bool)>::operator() (isTrashEmpty=<optimized out>, __closure=<optimized out>)
    at /build/dolphin/src/dolphin-18.04.0/src/panels/places/placesitem.cpp:65
#3  QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<bool>, void, PlacesItem::setUrl(const QUrl&)::<lambda(bool)> >::call (
    arg=<optimized out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:130
#4  QtPrivate::Functor<PlacesItem::setUrl(const QUrl&)::<lambda(bool)>, 1>::call<QtPrivate::List<bool>, void> (arg=<optimized out>, f=...)
    at /usr/include/qt/QtCore/qobjectdefs_impl.h:240
#5  QtPrivate::QFunctorSlotObject<PlacesItem::setUrl(const QUrl&)::<lambda(bool)>, 1, QtPrivate::List<bool>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>)
    at /usr/include/qt/QtCore/qobjectdefs_impl.h:423
#6  0x00007ffff19c883f in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#7  0x00007ffff7b900a0 in Trash::emptinessChanged (this=<optimized out>, _t1=<optimized out>, _t1@entry=false)
    at /build/dolphin/src/build/src/dolphinstatic_autogen/ACC2Q2AKJ6/moc_dolphintrash.cpp:127
#8  0x00007ffff7b5c84a in Trash::<lambda()>::operator() (__closure=0x555555cadbf0) at /build/dolphin/src/dolphin-18.04.0/src/trash/dolphintrash.cpp:41
#9  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Trash::Trash()::<lambda()> >::call (arg=<optimized out>, f=...)
    at /usr/include/qt/QtCore/qobjectdefs_impl.h:130
#10 QtPrivate::Functor<Trash::Trash()::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...)
    at /usr/include/qt/QtCore/qobjectdefs_impl.h:240
#11 QtPrivate::QFunctorSlotObject<Trash::Trash()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x555555cadbe0, r=<optimized out>, a=<optimized out>, ret=<optimized out>)
    at /usr/include/qt/QtCore/qobjectdefs_impl.h:423
#12 0x00007ffff19c883f in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#13 0x00007ffff5e025e5 in KCoreDirListerCache::slotResult (this=0x7ffff6070400 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, 
    j=<optimized out>) at /build/kio/src/kio-5.45.0/src/core/kcoredirlister.cpp:1358
#14 0x00007ffff5e06774 in KCoreDirListerCache::qt_static_metacall (
    _o=0x7ffff6070400 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, _c=<optimized out>, _id=<optimized out>, 
    _a=<optimized out>) at /build/kio/src/build/src/core/KF5KIOCore_autogen/include/moc_kcoredirlister_p.cpp:136
#15 0x00007ffff19c8716 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#16 0x00007ffff33a669d in KJob::result(KJob*, KJob::QPrivateSignal) () from /usr/lib/libKF5CoreAddons.so.5
---Type <return> to continue, or q <return> to quit---
#17 0x00007ffff33a71e2 in KJob::finishJob(bool) () from /usr/lib/libKF5CoreAddons.so.5
#18 0x00007ffff5db5a81 in KIO::SimpleJob::slotFinished (this=this@entry=0x555555cadcf0) at /build/kio/src/kio-5.45.0/src/core/simplejob.cpp:232
#19 0x00007ffff5daa11e in KIO::ListJob::slotFinished (this=0x555555cadcf0) at /build/kio/src/kio-5.45.0/src/core/listjob.cpp:247
#20 0x00007ffff19c883f in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#21 0x00007ffff5d8eab6 in KIO::SlaveInterface::dispatch (this=0x555555eee810, _cmd=<optimized out>, rawdata=...)
    at /build/kio/src/kio-5.45.0/src/core/slaveinterface.cpp:160
#22 0x00007ffff5d8afd8 in KIO::SlaveInterface::dispatch (this=0x555555eee810) at /build/kio/src/kio-5.45.0/src/core/slaveinterface.cpp:89
#23 0x00007ffff5d90692 in KIO::Slave::gotInput (this=0x555555eee810) at /build/kio/src/kio-5.45.0/src/core/slave.cpp:406
#24 0x00007ffff19c8716 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#25 0x00007ffff5d323aa in KIO::Connection::readyRead (this=<optimized out>)
    at /build/kio/src/build/src/core/KF5KIOCore_autogen/include/moc_connection_p.cpp:143
#26 KIO::ConnectionPrivate::dequeue (this=0x555555cadac0) at /build/kio/src/kio-5.45.0/src/core/connection.cpp:46
#27 0x00007ffff19c92b2 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#28 0x00007ffff29d35ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#29 0x00007ffff29dadc6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#30 0x00007ffff19985c0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#31 0x00007ffff199b1de in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#32 0x00007ffff19f4c44 in ?? () from /usr/lib/libQt5Core.so.5
#33 0x00007fffea1e2368 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0x00007fffea1e25b1 in ?? () from /usr/lib/libglib-2.0.so.0
#35 0x00007fffea1e263e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0x00007ffff19f4231 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#37 0x00007fffe3373362 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#38 0x00007ffff1996d1b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#39 0x00007ffff199ff68 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#40 0x00007ffff7b409d6 in kdemain (argc=<optimized out>, argv=<optimized out>) at /build/dolphin/src/dolphin-18.04.0/src/main.cpp:163
#41 0x00007ffff77679a7 in __libc_start_main () from /usr/lib/libc.so.6
#42 0x000055555555475a in _start ()
Comment 1 Antonio Rojas 2018-04-26 06:33:06 UTC

*** This bug has been marked as a duplicate of bug 393528 ***
Comment 2 Elvis Angelaccio 2018-06-03 11:37:05 UTC

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