<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>430616</bug_id>
          
          <creation_ts>2020-12-20 08:54:24 +0000</creation_ts>
          <short_desc>Dolphin crashes with memory corruption when generating files previews in directory with lots of sub-folders</short_desc>
          <delta_ts>2021-06-02 15:25:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>dolphin</product>
          <component>general</component>
          <version>20.12.0</version>
          <rep_platform>Neon</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>431303</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Stacey">richard</reporter>
          <assigned_to name="Dolphin Bug Assignee">dolphin-bugs-null</assigned_to>
          <cc>a.samirh78</cc>
    
    <cc>bugseforuns</cc>
    
    <cc>dolphin-bugs-null</cc>
    
    <cc>nate</cc>
    
    <cc>nonife</cc>
    
    <cc>nyanpasu64</cc>
    
    <cc>pveax</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1986977</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Stacey">richard</who>
    <bug_when>2020-12-20 08:54:24 +0000</bug_when>
    <thetext>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: &quot;Remember display style for each folder&quot; 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 &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
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&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f215c4a21ab in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) 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&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f215c4a21ab in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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=&lt;optimized out&gt;) 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 &quot;*** %s ***: terminated\n&quot;) at ../sysdeps/posix/libc_fatal.c:155
#7  0x00007f215e84ab4a in __GI___fortify_fail (msg=msg@entry=0x7f215e8d2064 &quot;stack smashing detected&quot;) at fortify_fail.c:26
#8  0x00007f215e84ab16 in __stack_chk_fail () at stack_chk_fail.c:24
#9  0x00007f215e648e04 in KFileItemModel::index(QUrl const&amp;) const () from /lib/x86_64-linux-gnu/libdolphinprivate.so.5
#10 0x00007f215e648ea4 in KFileItemModel::index(KFileItem const&amp;) const () from /lib/x86_64-linux-gnu/libdolphinprivate.so.5
#11 0x00007f215e661a41 in KFileItemModelRolesUpdater::slotGotPreview(KFileItem const&amp;, QPixmap const&amp;) () 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&amp;, QPixmap const&amp;) () 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&amp;) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#19 0x00007f215e04df0d in KIO::TransferJob::slotData(QByteArray const&amp;) () 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&amp;) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#22 0x00007f215e013b9d in KIO::SlaveInterface::dispatch(int, QByteArray const&amp;) () 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&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007f215c4a21ab in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2000711</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-02-06 23:09:25 +0000</bug_when>
    <thetext>*** Bug 431303 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2000713</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-02-06 23:09:31 +0000</bug_when>
    <thetext>*** Bug 432514 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2028717</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-04-29 15:26:31 +0000</bug_when>
    <thetext>*** Bug 436342 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2037288</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Samir">a.samirh78</who>
    <bug_when>2021-06-02 15:25:28 +0000</bug_when>
    <thetext>Bug 431303 has a full backtrace.

*** This bug has been marked as a duplicate of bug 431303 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>