Bug 430616 - Dolphin crashes with memory corruption when generating files previews in directory with lots of sub-folders
Summary: Dolphin crashes with memory corruption when generating files previews in dire...
Status: RESOLVED DUPLICATE of bug 431303
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 20.12.0
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
: 432514 436342 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-12-20 08:54 UTC by Richard Stacey
Modified: 2021-06-02 15:25 UTC (History)
7 users (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 Richard Stacey 2020-12-20 08:54:24 UTC
Application: dolphin (20.12.0)

Qt Version: 5.15.2
Frameworks Version: 5.77.0
Operating System: Linux 5.4.0-58-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.20

-- Information about the crash:
- What I was doing when the application crashed: opening a folder with 110 sub-folders. Has happened intermittently since upgrade to KDE 5.2 when generating file perviews for directories with a lot of sub-folders.

- Custom settings of the application: "Remember display style for each folder" selected, showing preview as default.

The crash can be reproduced sometimes.

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

[New LWP 12263]
[New LWP 12270]
[New LWP 12271]
[New LWP 12272]
[New LWP 12273]
[New LWP 12276]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f215e82daff in __GI___poll (fds=0x7ffce94e5868, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f215dcd98c0 (LWP 12261))]

Thread 7 (Thread 0x7f213097b700 (LWP 12276)):
#0  0x00007f215e82daff in __GI___poll (fds=0x7f2114004a60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f215a1ca1ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f215a1ca2e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f215c4fdfbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f215c4a21ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f215c2bca12 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f215c2bdbac in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f215abc9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f215e83a293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f213117c700 (LWP 12273)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5646d925c0e8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5646d925c098, cond=0x5646d925c0c0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5646d925c0c0, mutex=0x5646d925c098) at pthread_cond_wait.c:638
#3  0x00007f2132dfc62b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#4  0x00007f2132dfc23b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#5  0x00007f215abc9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f215e83a293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f213197d700 (LWP 12272)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5646d925c0e8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5646d925c098, cond=0x5646d925c0c0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5646d925c0c0, mutex=0x5646d925c098) at pthread_cond_wait.c:638
#3  0x00007f2132dfc62b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#4  0x00007f2132dfc23b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#5  0x00007f215abc9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f215e83a293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f213217e700 (LWP 12271)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5646d925c0e8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5646d925c098, cond=0x5646d925c0c0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5646d925c0c0, mutex=0x5646d925c098) at pthread_cond_wait.c:638
#3  0x00007f2132dfc62b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#4  0x00007f2132dfc23b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#5  0x00007f215abc9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f215e83a293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f213297f700 (LWP 12270)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5646d925c0e8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5646d925c098, cond=0x5646d925c0c0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5646d925c0c0, mutex=0x5646d925c098) at pthread_cond_wait.c:638
#3  0x00007f2132dfc62b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#4  0x00007f2132dfc23b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#5  0x00007f215abc9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f215e83a293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f2155c7f700 (LWP 12263)):
#0  0x00007f215e82daff in __GI___poll (fds=0x7f2148015270, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f215a1ca1ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f215a1ca2e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f215c4fdfbb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f215c4a21ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f215c2bca12 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f215d560f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f215c2bdbac in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f215abc9609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f215e83a293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f215dcd98c0 (LWP 12261)):
[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5  0x00007f215e73d859 in __GI_abort () at abort.c:79
#6  0x00007f215e7a83ee in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f215e8d207c "*** %s ***: terminated\n") at ../sysdeps/posix/libc_fatal.c:155
#7  0x00007f215e84ab4a in __GI___fortify_fail (msg=msg@entry=0x7f215e8d2064 "stack smashing detected") at fortify_fail.c:26
#8  0x00007f215e84ab16 in __stack_chk_fail () at stack_chk_fail.c:24
#9  0x00007f215e648e04 in KFileItemModel::index(QUrl const&) const () from /lib/x86_64-linux-gnu/libdolphinprivate.so.5
#10 0x00007f215e648ea4 in KFileItemModel::index(KFileItem const&) const () from /lib/x86_64-linux-gnu/libdolphinprivate.so.5
#11 0x00007f215e661a41 in KFileItemModelRolesUpdater::slotGotPreview(KFileItem const&, QPixmap const&) () from /lib/x86_64-linux-gnu/libdolphinprivate.so.5
#12 0x00007f215c4da6be in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f215e313aeb in KIO::PreviewJob::gotPreview(KFileItem const&, QPixmap const&) () from /lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#14 0x00007f215e317827 in ?? () from /lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#15 0x00007f215e3188c1 in ?? () from /lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#16 0x00007f215e31925f in ?? () from /lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#17 0x00007f215c4da6f0 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f215e04d978 in KIO::TransferJob::data(KIO::Job*, QByteArray const&) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#19 0x00007f215e04df0d in KIO::TransferJob::slotData(QByteArray const&) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#20 0x00007f215c4da6be in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f215e010e86 in KIO::SlaveInterface::data(QByteArray const&) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#22 0x00007f215e013b9d in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#23 0x00007f215e0116af in KIO::SlaveInterface::dispatch() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#24 0x00007f215e01a8b2 in KIO::Slave::gotInput() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#25 0x00007f215c4da6be in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f215c4d1239 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f215cf7ddc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007f215cf86bb8 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007f215c4a369a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f215c4a5fa1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007f215c4fe947 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007f215a1c9fbd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f215a1ca240 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f215a1ca2e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f215c4fdfa2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007f215c4a21ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007f215c4aa354 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007f215e963fa2 in kdemain () from /lib/x86_64-linux-gnu/libkdeinit5_dolphin.so
#39 0x00007f215e73f0b3 in __libc_start_main (main=0x5646d7436060, argc=1, argv=0x7ffce94e76c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffce94e76b8) at ../csu/libc-start.c:308
#40 0x00005646d743609e in _start ()
[Inferior 1 (process 12261) detached]

Possible duplicates by query: bug 430327, bug 430170, bug 429809, bug 429344, bug 429012.

Reported using DrKonqi
Comment 1 Nate Graham 2021-02-06 23:09:25 UTC
*** Bug 431303 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2021-02-06 23:09:31 UTC
*** Bug 432514 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2021-04-29 15:26:31 UTC
*** Bug 436342 has been marked as a duplicate of this bug. ***
Comment 4 Ahmad Samir 2021-06-02 15:25:28 UTC
Bug 431303 has a full backtrace.

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