Summary: | Dolphin displays duplicate files and then crashes in KFileItemModel::refreshDirectory() when refreshing sftp-folder | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Till Seifert <till.seifert> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | cc, kfm-devel, mothlight, nate, till.seifert, toralf.foerster |
Priority: | NOR | Keywords: | drkonqi |
Version: | 20.08.2 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi |
Description
Till Seifert
2020-10-28 12:06:19 UTC
Created attachment 133817 [details]
New crash information added by DrKonqi
dolphin (20.08.3) using Qt 5.15.1
- What I was doing when the application crashed:
refreshing a smb-folder
happens every time
-- Backtrace (Reduced):
#4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5 0x00007f13b1bad859 in __GI_abort () at abort.c:79
[...]
#7 0x00007f13b1c2047c in malloc_printerr (str=str@entry=0x7f13b1d44628 "double free or corruption (fasttop)") at malloc.c:5347
#8 0x00007f13b1c21de5 in _int_free (av=0x7f13b1d73b80 <main_arena>, p=0x555d1bee3d30, have_lock=0) at malloc.c:4266
#9 0x00007f13b1aba6ff in qDeleteAll<QList<KFileItemModel::ItemData*>::const_iterator> (end=..., begin=...) at /usr/include/c++/9/bits/atomic_base.h:326
Created attachment 133978 [details]
New crash information added by DrKonqi
dolphin (20.08.2) using Qt 5.14.2
- What I was doing when the application crashed:
After seeing many duplicated entries in an sftp-mouted folder, I refreshed the contents. Dolphin crashed.
-- Backtrace (Reduced):
#4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#5 0x00007f8599560864 in __GI_abort () at abort.c:79
[...]
#7 0x00007f85995cc46c in malloc_printerr (str=str@entry=0x7f85996e930f "free(): invalid pointer") at malloc.c:5389
#8 0x00007f85995cde84 in _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:4201
#9 0x00007f85974a95a7 in QHashData::free_helper (this=0x5556c0c98ac0, node_delete=0x7f85994805f0 <QHash<QByteArray, QVariant>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:573
*** Bug 433897 has been marked as a duplicate of this bug. *** *** Bug 434221 has been marked as a duplicate of this bug. *** I can confirm that behaviour, it happen to me also on a local folder. When I am scrolling up an down a folder with a larger amount of files or subfolders, suddenly some entries appear double. After refesh, Dolphin crashes. Systeminformation: ================= Operating System: Arch Linux KDE Plasma Version: 5.21.4 KDE Frameworks Version: 5.80.0 Qt Version: 5.15.2 Kernel Version: 5.11.12-arch1-1 OS Type: 64-bit Graphics Platform: X11 Application: =========== dolphin 20.12.3 Backtrace: ========= #0 0x00007f575284def5 in raise () from /usr/lib/libc.so.6 #1 0x00007f5752166189 in KCrash::defaultCrashHandler(int) () from /usr/lib/libKF5Crash.so.5 #2 <signal handler called> #3 0x00007f575284def5 in raise () from /usr/lib/libc.so.6 #4 0x00007f5752837862 in abort () from /usr/lib/libc.so.6 #5 0x00007f575288ff38 in __libc_message () from /usr/lib/libc.so.6 #6 0x00007f5752897bea in malloc_printerr () from /usr/lib/libc.so.6 #7 0x00007f5752898fcc in _int_free () from /usr/lib/libc.so.6 #8 0x00007f575289cca8 in free () from /usr/lib/libc.so.6 #9 0x00007f57506d6018 in QHashData::free_helper(void (*)(QHashData::Node*)) () from /usr/lib/libQt5Core.so.5 #10 0x00007f575274a2f6 in KFileItemModel::ItemData::~ItemData (this=0x559567c31120, __in_chrg=<optimized out>) at /usr/src/debug/dolphin-20.12.3/src/kitemviews/kfileitemmodel.h:285 #11 qDeleteAll<QList<KFileItemModel::ItemData*>::const_iterator> (end=..., begin=...) at /usr/include/qt/QtCore/qalgorithms.h:320 #12 qDeleteAll<QList<KFileItemModel::ItemData*> > (c=...) at /usr/include/qt/QtCore/qalgorithms.h:328 #13 KFileItemModel::slotClear (this=0x559566e79de0) at /usr/src/debug/dolphin-20.12.3/src/kitemviews/kfileitemmodel.cpp:1147 #14 0x00007f57508ba9d6 in ?? () from /usr/lib/libQt5Core.so.5 #15 0x00007f575226326b in ?? () from /usr/lib/libKF5KIOCore.so.5 #16 0x00007f5752263a72 in ?? () from /usr/lib/libKF5KIOCore.so.5 #17 0x00007f5752755a53 in KFileItemModel::refreshDirectory (this=0x559566e79de0, url=...) at /usr/src/debug/dolphin-20.12.3/src/kitemviews/kfileitemmodel.cpp:123 #18 0x00007f57527b2022 in DolphinView::reload (this=0x559566c239d0) at /usr/src/debug/dolphin-20.12.3/src/views/dolphinview.cpp:453 #19 0x00007f5752a3f65e in DolphinViewContainer::reload (this=0x559566e97ef0) at /usr/src/debug/dolphin-20.12.3/src/dolphinviewcontainer.cpp:448 #20 0x00007f5752a29021 in DolphinMainWindow::reloadView (this=0x559566a92070) at /usr/src/debug/dolphin-20.12.3/src/dolphinmainwindow.cpp:830 #21 0x00007f57508ba9d6 in ?? () from /usr/lib/libQt5Core.so.5 #22 0x00007f5751346f73 in QAction::triggered(bool) () from /usr/lib/libQt5Widgets.so.5 #23 0x00007f5751349855 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt5Widgets.so.5 #24 0x00007f5751441232 in ?? () from /usr/lib/libQt5Widgets.so.5 #25 0x00007f5751441353 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5 #26 0x00007f575153637b in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5 #27 0x00007f575138ebde in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #28 0x00007f575134d762 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #29 0x00007f575135488b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #30 0x00007f575088362a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #31 0x00007f575135388e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib/libQt5Widgets.so.5 #32 0x00007f57513a7319 in ?? () from /usr/lib/libQt5Widgets.so.5 #33 0x00007f57513aa70f in ?? () from /usr/lib/libQt5Widgets.so.5 #34 0x00007f575134d762 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #35 0x00007f575088362a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #36 0x00007f5750c5e724 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5 #37 0x00007f5750c33bc5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5 #38 0x00007f574b0a519c in ?? () from /usr/lib/libQt5XcbQpa.so.5 #39 0x00007f574e6bc02c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #40 0x00007f574e70fb59 in ?? () from /usr/lib/libglib-2.0.so.0 #41 0x00007f574e6b9781 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #42 0x00007f57508dc1a1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #43 0x00007f5750881f8c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #44 0x00007f575088a444 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #45 0x00007f5752a27ebe in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin-20.12.3/src/main.cpp:222 #46 0x00007f5752838b25 in __libc_start_main () from /usr/lib/libc.so.6 #47 0x00005595650b605e in _start () Seems that the problem has been solved with the release of version 21.04.0 Thank you for reporting this issue in KDE software. As it was reported on an older version, can we please ask you to see if you can reproduce the issue with a more recent software version? If you can confirm this issue still exists in a recent version, please change the version field and the status to "REPORTED" when replying. Thank you! for me it doesn't happen anymore with 22.08.3. I'm not sure with which version it was fixed. Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |