Bug 434860

Summary: Dolphin crashed while scrolling through folders using the location bar
Product: [Applications] dolphin Reporter: guimarcalsilva
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: guimarcalsilva, kfm-devel, nate
Priority: NOR Keywords: drkonqi
Version: 20.12.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description guimarcalsilva 2021-03-24 02:29:43 UTC
Application: dolphin (20.12.3)

Qt Version: 5.15.2
Frameworks Version: 5.80.0
Operating System: Linux 5.4.0-67-generic x86_64
Windowing System: X11
Drkonqi Version: 5.21.3
Distribution: KDE neon User Edition 5.21

-- Information about the crash:
- What I was doing when the application crashed:

By accident I discovered you can scroll on the name of a folder on the top navigation bar in order to quickly switch between directories. Well, out of curiosity I started doing that to check all folders in /usr/share/ and Dolphin crashed. It didn't crash at first, but it crashed when I was scrolling between different folders for some time. I tried doing the same to see if it would crash again and it did. I'm not sure if it's related to how fast I was switching folders or not (I was scrolling fast), but both times I had to keep scrolling for a minute or two before the crash happened.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Dolphin (dolphin), signal: Aborted

[New LWP 34824]
[New LWP 34825]
[New LWP 34826]
[New LWP 34827]
[New LWP 34828]
[New LWP 34833]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007feb78db1aff in __GI___poll (fds=0x7ffc9737c228, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7feb71e3f6c0 (LWP 34820))]

Thread 7 (Thread 0x7feb576ea700 (LWP 34833)):
#0  0x00007feb747dd508 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007feb747904ae in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007feb76ad4ffb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007feb76a791eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007feb76893a52 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007feb76894bec in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007feb7520e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007feb78dbe293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7feb5e85a700 (LWP 34828)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561e51578e38) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561e51578de8, cond=0x561e51578e10) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x561e51578e10, mutex=0x561e51578de8) at pthread_cond_wait.c:638
#3  0x00007feb69028b5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007feb6902875b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007feb7520e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007feb78dbe293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7feb57fff700 (LWP 34827)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561e51578e38) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561e51578de8, cond=0x561e51578e10) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x561e51578e10, mutex=0x561e51578de8) at pthread_cond_wait.c:638
#3  0x00007feb69028b5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007feb6902875b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007feb7520e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007feb78dbe293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7feb5f05b700 (LWP 34826)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561e51578e38) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561e51578de8, cond=0x561e51578e10) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x561e51578e10, mutex=0x561e51578de8) at pthread_cond_wait.c:638
#3  0x00007feb69028b5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007feb6902875b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007feb7520e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007feb78dbe293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7feb68907700 (LWP 34825)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561e51578e38) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561e51578de8, cond=0x561e51578e10) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x561e51578e10, mutex=0x561e51578de8) at pthread_cond_wait.c:638
#3  0x00007feb69028b5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007feb6902875b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007feb7520e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007feb78dbe293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7feb6bfff700 (LWP 34824)):
#0  __GI___libc_read (nbytes=16, buf=0x7feb6bffeaa0, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=7, buf=0x7feb6bffeaa0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007feb747d8b2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007feb7478febe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007feb74790312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007feb747904a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007feb76ad4ffb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007feb76a791eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007feb76893a52 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007feb77b2af4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#10 0x00007feb76894bec in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007feb7520e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007feb78dbe293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7feb71e3f6c0 (LWP 34820)):
[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5  0x00007feb78cc1859 in __GI_abort () at abort.c:79
#6  0x00007feb78d2c3ee in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7feb78e56285 "%s\n") at ../sysdeps/posix/libc_fatal.c:155
#7  0x00007feb78d3447c in malloc_printerr (str=str@entry=0x7feb78e585d0 "free(): double free detected in tcache 2") at malloc.c:5347
#8  0x00007feb78d360ed in _int_free (av=0x7feb78e87b80 <main_arena>, p=0x561e51e55d00, have_lock=0) at malloc.c:4201
#9  0x00007feb78bcd45f in qDeleteAll<QList<KFileItemModel::ItemData*>::const_iterator> (end=..., begin=...) at /usr/include/c++/9/bits/atomic_base.h:326
#10 qDeleteAll<QList<KFileItemModel::ItemData*> > (c=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:328
#11 KFileItemModel::slotClear (this=0x561e5168c470) at ./src/kitemviews/kfileitemmodel.cpp:1147
#12 0x00007feb78bcd579 in KFileItemModel::clear (this=<optimized out>) at ./src/kitemviews/kfileitemmodel.cpp:454
#13 0x00007feb78c371d7 in DolphinView::setUrl (this=0x561e51394f30, url=...) at ./src/views/dolphinview.cpp:590
#14 0x00007feb78efc90c in DolphinViewContainer::slotUrlNavigatorLocationChanged (this=0x561e515b9e60, url=...) at ./src/dolphinviewcontainer.cpp:695
#15 0x00007feb76ab16fe in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007feb78b12229 in KUrlNavigator::urlChanged(QUrl const&) () from /lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
#17 0x00007feb78b165ae in KUrlNavigator::setLocationUrl(QUrl const&) () from /lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
#18 0x00007feb78efa45c in DolphinViewContainer::setUrl (this=0x561e515b9e60, newUrl=...) at /usr/include/c++/9/bits/unique_ptr.h:360
#19 0x00007feb78ef5734 in DolphinMainWindow::changeUrl (url=..., this=0x561e5119b390) at ./src/dolphinmainwindow.cpp:323
#20 DolphinMainWindow::changeUrl (this=0x561e5119b390, url=...) at ./src/dolphinmainwindow.cpp:314
#21 0x00007feb76ab16fe in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007feb78b12229 in KUrlNavigator::urlChanged(QUrl const&) () from /lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
#23 0x00007feb78b165ae in KUrlNavigator::setLocationUrl(QUrl const&) () from /lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
#24 0x00007feb76ab16fe in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007feb78b090b0 in ?? () from /lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
#26 0x00007feb76ab16fe in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007feb77cc1410 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#28 0x00007feb77cc213b in KJob::finishJob(bool) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#29 0x00007feb785cca68 in KIO::SimpleJob::slotFinished() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#30 0x00007feb785c2fce in KIO::ListJob::slotFinished() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#31 0x00007feb76ab16fe in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007feb7859c232 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#33 0x00007feb78599f2f in KIO::SlaveInterface::dispatch() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#34 0x00007feb785a3132 in KIO::Slave::gotInput() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#35 0x00007feb76ab16fe in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007feb76aa8279 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007feb77551dc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007feb7755abb8 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007feb76a7a6da in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007feb76a7cfe1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007feb76ad5987 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00007feb7479017d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007feb74790400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007feb747904a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007feb76ad4fe2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#46 0x00007feb76a791eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#47 0x00007feb77cc501e in KJob::exec() () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#48 0x00007feb78c2f6bf in DolphinView::calculateItemCount (this=this@entry=0x561e51394f30, fileCount=@0x7ffc9737e214: 0, folderCount=@0x7ffc9737e210: 0, totalFileSize=@0x7ffc9737e230: 0) at ./src/views/dolphinview.cpp:1525
#49 0x00007feb78c30ae4 in DolphinView::statusBarText (this=0x561e51394f30) at ./src/views/dolphinview.cpp:533
#50 0x00007feb78ef87e8 in DolphinViewContainer::updateStatusBar (this=0x561e515b9e60) at ./src/dolphinviewcontainer.cpp:548
#51 0x00007feb76ab16fe in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#52 0x00007feb76ab16fe in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#53 0x00007feb78bbc536 in KItemModelBase::itemsInserted (this=this@entry=0x561e5168c470, _t1=...) at ./obj-x86_64-linux-gnu/src/dolphinprivate_autogen/Z3MQH7AOBD/moc_kitemmodelbase.cpp:246
#54 0x00007feb78bdada8 in KFileItemModel::insertItems (newItems=..., this=<optimized out>) at ./src/kitemviews/kfileitemmodel.cpp:1266
#55 KFileItemModel::insertItems (this=<optimized out>, newItems=...) at ./src/kitemviews/kfileitemmodel.cpp:1170
#56 0x00007feb78bdb698 in KFileItemModel::dispatchPendingItemsToInsert (this=0x561e5168c470) at ./src/kitemviews/kfileitemmodel.cpp:1165
#57 KFileItemModel::dispatchPendingItemsToInsert (this=<optimized out>) at ./src/kitemviews/kfileitemmodel.cpp:1162
#58 0x00007feb78bdc0c9 in KFileItemModel::slotCompleted (this=0x561e5168c470) at ./src/kitemviews/kfileitemmodel.cpp:915
#59 0x00007feb76ab16fe in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#60 0x00007feb78616809 in KCoreDirLister::completed(QUrl const&) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#61 0x00007feb78628c15 in ?? () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#62 0x00007feb76ab16fe in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#63 0x00007feb77cc1410 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#64 0x00007feb77cc213b in KJob::finishJob(bool) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#65 0x00007feb785cca68 in KIO::SimpleJob::slotFinished() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#66 0x00007feb785c2fce in KIO::ListJob::slotFinished() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#67 0x00007feb76ab16fe in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#68 0x00007feb7859c232 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#69 0x00007feb78599f2f in KIO::SlaveInterface::dispatch() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#70 0x00007feb785a3132 in KIO::Slave::gotInput() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#71 0x00007feb76ab16fe in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#72 0x00007feb76aa8279 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#73 0x00007feb77551dc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#74 0x00007feb7755abb8 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#75 0x00007feb76a7a6da in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#76 0x00007feb76a7cfe1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#77 0x00007feb76ad5987 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#78 0x00007feb7479017d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#79 0x00007feb74790400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#80 0x00007feb747904a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#81 0x00007feb76ad4fe2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#82 0x00007feb76a791eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#83 0x00007feb76a81394 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#84 0x00007feb78ee1fa2 in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:222
#85 0x00007feb78cc30b3 in __libc_start_main (main=0x561e4f1cd060 <main>, argc=1, argv=0x7ffc9737f5a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc9737f598) at ../csu/libc-start.c:308
#86 0x0000561e4f1cd09e in _start ()
[Inferior 1 (process 34820) detached]

Possible duplicates by query: bug 434456, bug 434435, bug 433897, bug 433551, bug 433526.

Reported using DrKonqi
Comment 1 Nate Graham 2021-03-24 19:27:16 UTC

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