Summary: | Dolphin crashed when copying files to a mobile phone which is connected via kde-connect | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Christian Trippe <christiandehne> |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | bugseforuns, chesst.ercl+kde, dm.vl.ivanov, elvis.angelaccio, franz.trischberger, germano.massullo, harriebaken, kde, kdelibs-bugs, nate, nicolas.fella, oliver.j.kenny, quantumphazor, zilla |
Priority: | VHI | Keywords: | drkonqi |
Version: | 5.52.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=401552 | ||
Latest Commit: | https://commits.kde.org/kio/f539b17ceec2a8c7a453228b7db62a7919b849be | Version Fixed In: | 5.63.0 |
Sentry Crash Report: |
Description
Christian Trippe
2018-12-09 07:29:17 UTC
Possibly related to bug #401552 *** Bug 402966 has been marked as a duplicate of this bug. *** *** Bug 411225 has been marked as a duplicate of this bug. *** *** Bug 411310 has been marked as a duplicate of this bug. *** Maybe bug #411310 contains reproducible steps: > I was saving a .c file with 5 lines of code, nothing much. > The issue occurred when creating a chain of 3 subfolders as such; "Parent Folder" > "First Child" > "Second Child". > When creating the "Second Child" folder, Kate crahsed. > > - Custom settings of the application: > Everything was set at default as far as I'm aware, it was a fresh install. > > The crash can be reproduced every time. Backtrace to Q_ASSERT from comment above: #2 0x00007ffff5a37a5d in QMessageLogger::fatal(char const*, ...) const () from /usr/lib64/libQt5Core.so.5 #3 0x00007ffff5a36ee3 in qt_assert(char const*, char const*, int) () from /usr/lib64/libQt5Core.so.5 #4 0x00007ffff7771c6b in KCoreDirListerCache::reinsert (this=0x7ffff7822b20 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, item=..., oldUrl=...) at /home/dh/kde/kf5/src/kio/src/core/kcoredirlister_p.h:308 #5 0x00007ffff776a793 in KCoreDirListerCache::processPendingUpdates (this=0x7ffff7822b20 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>) at /home/dh/kde/kf5/src/kio/src/core/kcoredirlister.cpp:2014 #6 0x00007ffff7765811 in KCoreDirListerCache::slotResult (this=0x7ffff7822b20 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, j=0x1627c20) at /home/dh/kde/kf5/src/kio/src/core/kcoredirlister.cpp:1341 #7 0x00007ffff77817d8 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KJob*>, void, void (KCoreDirListerCache::*)(KJob*)>::call (f= (void (KCoreDirListerCache::*)(KCoreDirListerCache * const, KJob *)) 0x7ffff7764f8e <KCoreDirListerCache::slotResult(KJob*)>, o=0x7ffff7822b20 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, arg=0x7fffffffb270) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #8 0x00007ffff77801ac in QtPrivate::FunctionPointer<void (KCoreDirListerCache::*)(KJob*)>::call<QtPrivate::List<KJob*>, void> (f= (void (KCoreDirListerCache::*)(KCoreDirListerCache * const, KJob *)) 0x7ffff7764f8e <KCoreDirListerCache::slotResult(KJob*)>, o=0x7ffff7822b20 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, arg=0x7fffffffb270) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #9 0x00007ffff777d772 in QtPrivate::QSlotObject<void (KCoreDirListerCache::*)(KJob*), QtPrivate::List<KJob*>, void>::impl (which=1, this_=0x167ffb0, r=0x7ffff7822b20 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, a=0x7fffffffb270, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:414 #10 0x00007ffff5c58b78 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #11 0x00007ffff6c5cf23 in KJob::result (this=0x1627c20, _t1=0x1627c20, _t2=...) at /home/dh/kde/kf5/build/kcoreaddons/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:573 #12 0x00007ffff6c5af82 in KJob::finishJob (this=0x1627c20, emitResult=true) at /home/dh/kde/kf5/src/kcoreaddons/src/lib/jobs/kjob.cpp:107 #13 0x00007ffff6c5b637 in KJob::emitResult (this=0x1627c20) at /home/dh/kde/kf5/src/kcoreaddons/src/lib/jobs/kjob.cpp:291 #14 0x00007ffff7717146 in KIO::SimpleJob::slotFinished (this=0x1627c20) at /home/dh/kde/kf5/src/kio/src/core/simplejob.cpp:232 #15 0x00007ffff7710db6 in KIO::ListJob::slotFinished (this=0x1627c20) at /home/dh/kde/kf5/src/kio/src/core/listjob.cpp:248 #16 0x00007ffff7719ac7 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KIO::SimpleJob::*)()>::call(void (KIO::SimpleJob::*)(), KIO::SimpleJob*, void**) ( f=&virtual KIO::SimpleJob::slotFinished(), o=0x1627c20, arg=0x7fffffffb5b0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #17 0x00007ffff7719897 in QtPrivate::FunctionPointer<void (KIO::SimpleJob::*)()>::call<QtPrivate::List<>, void>(void (KIO::SimpleJob::*)(), KIO::SimpleJob*, void**) ( f=&virtual KIO::SimpleJob::slotFinished(), o=0x1627c20, arg=0x7fffffffb5b0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #18 0x00007ffff7719732 in QtPrivate::QSlotObject<void (KIO::SimpleJob::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x16280a0, r=0x1627c20, a=0x7fffffffb5b0, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:414 #19 0x00007ffff5c58b78 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #20 0x00007ffff76fa541 in KIO::SlaveInterface::finished (this=0x163cac0) at /home/dh/kde/kf5/build/kio/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:452 #21 0x00007ffff76f7fa3 in KIO::SlaveInterface::dispatch (this=0x163cac0, _cmd=104, rawdata=...) at /home/dh/kde/kf5/src/kio/src/core/slaveinterface.cpp:156 #22 0x00007ffff76f7c2a in KIO::SlaveInterface::dispatch (this=0x163cac0) at /home/dh/kde/kf5/src/kio/src/core/slaveinterface.cpp:85 #23 0x00007ffff76fc755 in KIO::Slave::gotInput (this=0x163cac0) at /home/dh/kde/kf5/src/kio/src/core/slave.cpp:406 #24 0x00007ffff76ff454 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KIO::Slave::*)()>::call(void (KIO::Slave::*)(), KIO::Slave*, void**) ( f=(void (KIO::Slave::*)(KIO::Slave * const)) 0x7ffff76fc702 <KIO::Slave::gotInput()>, o=0x163cac0, arg=0x7fffffffba10) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #25 0x00007ffff76ff35d in QtPrivate::FunctionPointer<void (KIO::Slave::*)()>::call<QtPrivate::List<>, void>(void (KIO::Slave::*)(), KIO::Slave*, void**) ( f=(void (KIO::Slave::*)(KIO::Slave * const)) 0x7ffff76fc702 <KIO::Slave::gotInput()>, o=0x163cac0, arg=0x7fffffffba10) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #26 0x00007ffff76ff07c in QtPrivate::QSlotObject<void (KIO::Slave::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, --Type <RET> for more, q to quit, c to continue without paging-- this_=0x15f2760, r=0x163cac0, a=0x7fffffffba10, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:414 #27 0x00007ffff5c58b78 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #28 0x00007ffff769d8a3 in KIO::Connection::readyRead (this=0x16507c0) at /home/dh/kde/kf5/build/kio/src/core/KF5KIOCore_autogen/include/moc_connection_p.cpp:147 #29 0x00007ffff769c645 in KIO::ConnectionPrivate::dequeue (this=0x16460b0) at /home/dh/kde/kf5/src/kio/src/core/connection.cpp:44 #30 0x00007ffff769d6b6 in KIO::Connection::qt_static_metacall (_o=0x16507c0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x1777360) at /home/dh/kde/kf5/build/kio/src/core/KF5KIOCore_autogen/include/moc_connection_p.cpp:87 #31 0x00007ffff5c5943a in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5 #32 0x00007ffff66eac32 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #33 0x00007ffff66f3ea0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #34 0x00007ffff5c2de92 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #35 0x00007ffff5c30a88 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5 #36 0x00007ffff5c847c3 in ?? () from /usr/lib64/libQt5Core.so.5 #37 0x00007ffff3ae5b33 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #38 0x00007ffff3ae5dc0 in ?? () from /usr/lib64/libglib-2.0.so.0 #39 0x00007ffff3ae5e4f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #40 0x00007ffff5c83e01 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #41 0x00007ffff5c2cbdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #42 0x00007ffff68e73ad in QDialog::exec() () from /usr/lib64/libQt5Widgets.so.5 #43 0x00007ffff68e72ad in QDialog::exec() () from /usr/lib64/libQt5Widgets.so.5 #44 0x00007ffff68fac25 in QFileDialog::getSaveFileUrl(QWidget*, QString const&, QUrl const&, QString const&, QString*, *** Bug 408801 has been marked as a duplicate of this bug. *** *** Bug 411353 has been marked as a duplicate of this bug. *** *** Bug 411219 has been marked as a duplicate of this bug. *** *** Bug 409285 has been marked as a duplicate of this bug. *** *** Bug 405461 has been marked as a duplicate of this bug. *** *** Bug 405046 has been marked as a duplicate of this bug. *** Git commit f539b17ceec2a8c7a453228b7db62a7919b849be by David Faure, on behalf of Ahmad Samir. Committed on 15/09/2019 at 19:30. Pushed by dfaure into branch 'master'. KCoreDirLister: fix crash when creating new folders from kfilewidget Summary: When creating multiple nested new folders, one at a time, in the "save as" dialog, where folders are created and entered, a dirlister would hit an assert (in DirItem::reinsert()), because one of the created folders would eventually get inserted in pendingUpdates. Add a unit test in kfilewidgettest. FIXED-IN: 5.63.0 Test Plan: - Open a file in e.g. okular, then "save as" - Create a new folder from the dialog, then another ... etc, usually 2-3 new folders would hit the assert (keep going, the number varies apparently) and the app would crash - Apply the patch then try again, it shouldn't crash Reviewers: #frameworks, ahmadsamir Subscribers: dhaumann, kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D23875 M +23 -0 autotests/kfilewidgettest.cpp M +0 -6 src/core/kcoredirlister.cpp https://commits.kde.org/kio/f539b17ceec2a8c7a453228b7db62a7919b849be |