Bug 431303 - Dolphin crashed while doing local and remote file operations at the same time
Summary: Dolphin crashed while doing local and remote file operations at the same time
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
: 430616 450755 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-01-08 12:25 UTC by Patrick Silva
Modified: 2023-12-05 10:17 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.96 KB, text/plain)
2021-07-13 01:20 UTC, Vincent LaConte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2021-01-08 12:25:42 UTC
Application: dolphin (21.03.70)

Qt Version: 5.15.2
Frameworks Version: 5.78.0
Operating System: Linux 5.4.0-59-generic x86_64
Windowing system: X11
Distribution: KDE neon Unstable Edition

-- Information about the crash:
- What I was doing when the application crashed:
Dolphin was copying thousands of jpg files from local file system
to a Samba share, then I started to move some files in the local file
system by dragging them individually and dropping on the breadcrumb.
At some point Dolphin crashed.

-- Backtrace:
Application: Dolphin (dolphin), signal: Aborted
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f1de03688c0 (LWP 26889))]
[New LWP 26892]
[New LWP 26893]
[New LWP 26894]
[New LWP 26895]
[New LWP 26896]
[New LWP 26901]
[New LWP 27238]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f1de72c9aff in __GI___poll (fds=fds@entry=0x7ffdda603928, nfds=nfds@entry=1, timeout=timeout@entry=1000) at ../sysdeps/unix/sysv/linux/poll.c:29

Thread 8 (Thread 0x7f1dc245f700 (LWP 27238)):
#0  __GI___libc_read (nbytes=10, buf=0x7f1dc245eb1e, fd=37) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=37, buf=0x7f1dc245eb1e, nbytes=10) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f1de28ee975 in pa_read () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#3  0x00007f1de36e8416 in pa_mainloop_prepare () from /lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f1de36e8eb4 in pa_mainloop_iterate () from /lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007f1de36e8f70 in pa_mainloop_run () from /lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007f1de36f711d in ?? () from /lib/x86_64-linux-gnu/libpulse.so.0
#7  0x00007f1de291d72c in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
#8  0x00007f1de373b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f1de72d6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f1dc2ffd700 (LWP 26901)):
#0  0x00007f1de72c9aff in __GI___poll (fds=0x7f1da4005240, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f1de2d6e1ae in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f1da4005240, timeout=<optimized out>, context=0x7f1da4000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f1da4000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f1de2d6e2e3 in g_main_context_iteration (context=0x7f1da4000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f1de4ffefbb in QEventDispatcherGlib::processEvents (this=0x7f1da4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f1de4fa31ab in QEventLoop::exec (this=this@entry=0x7f1dc2ffcce0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f1de4dbda12 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f1de4dbebac in QThreadPrivate::start (arg=0x559c230ffdb0) at thread/qthread_unix.cpp:329
#8  0x00007f1de373b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f1de72d6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f1dd59b9700 (LWP 26896)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559c22c78568) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x559c22c78518, cond=0x559c22c78540) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x559c22c78540, mutex=0x559c22c78518) at pthread_cond_wait.c:638
#3  0x00007f1dd7717e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f1dd7717a6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f1de373b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f1de72d6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f1dd61ba700 (LWP 26895)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559c22c78568) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x559c22c78518, cond=0x559c22c78540) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x559c22c78540, mutex=0x559c22c78518) at pthread_cond_wait.c:638
#3  0x00007f1dd7717e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f1dd7717a6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f1de373b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f1de72d6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f1dd69bb700 (LWP 26894)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559c22c78568) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x559c22c78518, cond=0x559c22c78540) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x559c22c78540, mutex=0x559c22c78518) at pthread_cond_wait.c:638
#3  0x00007f1dd7717e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f1dd7717a6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f1de373b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f1de72d6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f1dd71bc700 (LWP 26893)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559c22c78568) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x559c22c78518, cond=0x559c22c78540) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x559c22c78540, mutex=0x559c22c78518) at pthread_cond_wait.c:638
#3  0x00007f1dd7717e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f1dd7717a6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f1de373b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f1de72d6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f1dde9a5700 (LWP 26892)):
#0  __GI___libc_read (nbytes=16, buf=0x7f1dde9a4aa0, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=7, buf=buf@entry=0x7f1dde9a4aa0, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f1de2db689f in read (__nbytes=16, __buf=0x7f1dde9a4aa0, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x559c22b48ab0) at ../../../glib/gwakeup.c:210
#4  0x00007f1de2d6dcfe in g_main_context_check (context=context@entry=0x7f1dd0000c20, max_priority=2147483647, fds=fds@entry=0x7f1dd0014a90, n_fds=n_fds@entry=1) at ../../../glib/gmain.c:3825
#5  0x00007f1de2d6e152 in g_main_context_iterate (context=context@entry=0x7f1dd0000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4044
#6  0x00007f1de2d6e2e3 in g_main_context_iteration (context=0x7f1dd0000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#7  0x00007f1de4ffefbb in QEventDispatcherGlib::processEvents (this=0x7f1dd0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#8  0x00007f1de4fa31ab in QEventLoop::exec (this=this@entry=0x7f1dde9a4cb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#9  0x00007f1de4dbda12 in QThread::exec (this=this@entry=0x7f1de60d8d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#10 0x00007f1de6054f4b in QDBusConnectionManager::run (this=0x7f1de60d8d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#11 0x00007f1de4dbebac in QThreadPrivate::start (arg=0x7f1de60d8d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#12 0x00007f1de373b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#13 0x00007f1de72d6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f1de03688c0 (LWP 26889)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007f1de71d9859 in __GI_abort () at abort.c:79
#8  0x00007f1de72443ee in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f1de736e07c "*** %s ***: terminated\n") at ../sysdeps/posix/libc_fatal.c:155
#9  0x00007f1de72e6b4a in __GI___fortify_fail (msg=msg@entry=0x7f1de736e064 "stack smashing detected") at fortify_fail.c:26
#10 0x00007f1de72e6b16 in __stack_chk_fail () at stack_chk_fail.c:24
#11 0x00007f1de70e5104 in KFileItemModel::index (this=this@entry=0x559c23493b40, url=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:129
#12 0x00007f1de70e51a4 in KFileItemModel::index (this=0x559c23493b40, item=...) at ./src/kitemviews/kfileitemmodel.cpp:373
#13 0x00007f1de70fdd21 in KFileItemModelRolesUpdater::slotGotPreview (this=0x559c23497e20, item=..., pixmap=...) at ./src/kitemviews/kfileitemmodelrolesupdater.cpp:502
#14 0x00007f1de4fdb6be in QtPrivate::QSlotObjectBase::call (a=0x7ffdda6047f0, r=0x559c23497e20, this=0x559c2768d2a0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#15 doActivate<false> (sender=0x559c284a7e80, signal_index=22, argv=0x7ffdda6047f0) at kernel/qobject.cpp:3886
#16 0x00007f1de6db273b in KIO::PreviewJob::gotPreview(KFileItem const&, QPixmap const&) () from /lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#17 0x00007f1de6db6477 in ?? () from /lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#18 0x00007f1de6db7511 in ?? () from /lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#19 0x00007f1de6db7eaf in ?? () from /lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#20 0x00007f1de4fdb6f0 in doActivate<false> (sender=0x559c24e88bc0, signal_index=22, argv=0x7ffdda604b10) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#21 0x00007f1de4fd4a87 in QMetaObject::activate (sender=sender@entry=0x559c24e88bc0, m=m@entry=0x7f1de6bb80e0 <KIO::TransferJob::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdda604b10) at kernel/qobject.cpp:3946
#22 0x00007f1de6af93e8 in KIO::TransferJob::data (this=this@entry=0x559c24e88bc0, _t1=<optimized out>, _t1@entry=0x559c24e88bc0, _t2=...) at ./obj-x86_64-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_transferjob.cpp:309
#23 0x00007f1de6af99fd in KIO::TransferJob::slotData (this=0x559c24e88bc0, _data=...) at ./src/core/transferjob.cpp:50
#24 0x00007f1de4fdb6be in QtPrivate::QSlotObjectBase::call (a=0x7ffdda604cc0, r=0x559c24e88bc0, this=0x559c28466720) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#25 doActivate<false> (sender=0x559c25de3a90, signal_index=3, argv=0x7ffdda604cc0) at kernel/qobject.cpp:3886
#26 0x00007f1de4fd4a87 in QMetaObject::activate (sender=sender@entry=0x559c25de3a90, m=m@entry=0x7f1de6bb6f80 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdda604cc0) at kernel/qobject.cpp:3946
#27 0x00007f1de6abc7f6 in KIO::SlaveInterface::data (this=this@entry=0x559c25de3a90, _t1=...) at ./obj-x86_64-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:439
#28 0x00007f1de6abf50d in KIO::SlaveInterface::dispatch (this=0x559c25de3a90, _cmd=<optimized out>, rawdata=...) at ./src/core/slaveinterface.cpp:136
#29 0x00007f1de6abd01f in KIO::SlaveInterface::dispatch (this=0x559c25de3a90) at ./src/core/slaveinterface.cpp:77
#30 0x00007f1de6ac6222 in KIO::Slave::gotInput (this=0x559c25de3a90) at ./src/core/slave.cpp:394
#31 0x00007f1de4fdb6be in QtPrivate::QSlotObjectBase::call (a=0x7ffdda604f10, r=0x559c25de3a90, this=0x559c283ebb30) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#32 doActivate<false> (sender=0x559c27e23960, signal_index=3, argv=0x7ffdda604f10) at kernel/qobject.cpp:3886
#33 0x00007f1de4fd2239 in QObject::event (this=0x559c27e23960, e=0x559c25037370) at kernel/qobject.cpp:1314
#34 0x00007f1de5a7bdc3 in QApplicationPrivate::notify_helper (this=this@entry=0x559c22a8ad60, receiver=receiver@entry=0x559c27e23960, e=e@entry=0x559c25037370) at kernel/qapplication.cpp:3632
#35 0x00007f1de5a84bb8 in QApplication::notify (this=0x7ffdda6055f0, receiver=0x559c27e23960, e=0x559c25037370) at kernel/qapplication.cpp:3156
#36 0x00007f1de4fa469a in QCoreApplication::notifyInternal2 (receiver=0x559c27e23960, event=0x559c25037370) at ../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#37 0x00007f1de4fa6fa1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x559c22a80830) at kernel/qcoreapplication.cpp:1817
#38 0x00007f1de4fff947 in postEventSourceDispatch (s=0x559c22b3a0f0) at kernel/qeventdispatcher_glib.cpp:277
#39 0x00007f1de2d6dfbd in g_main_dispatch (context=0x7f1dd8005000) at ../../../glib/gmain.c:3309
#40 g_main_context_dispatch (context=context@entry=0x7f1dd8005000) at ../../../glib/gmain.c:3974
#41 0x00007f1de2d6e240 in g_main_context_iterate (context=context@entry=0x7f1dd8005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#42 0x00007f1de2d6e2e3 in g_main_context_iteration (context=0x7f1dd8005000, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#43 0x00007f1de4ffefa2 in QEventDispatcherGlib::processEvents (this=0x559c22b45d20, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#44 0x00007f1de4fa31ab in QEventLoop::exec (this=this@entry=0x7ffdda6054c0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#45 0x00007f1de4fab354 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#46 0x00007f1de537a1e0 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#47 0x00007f1de5a7bd39 in QApplication::exec () at kernel/qapplication.cpp:2824
#48 0x00007f1de73fb192 in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:222
#49 0x00007f1de71db0b3 in __libc_start_main (main=0x559c20a9f060 <main>, argc=1, argv=0x7ffdda605798, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdda605788) at ../csu/libc-start.c:308
#50 0x0000559c20a9f09e in _start ()
[Inferior 1 (process 26889) detached]

Possible duplicates by query: bug 430918, bug 430773, bug 430616, bug 430327, bug 430170.

Reported using DrKonqi
Comment 1 Nate Graham 2021-02-06 23:09:25 UTC

*** This bug has been marked as a duplicate of bug 430616 ***
Comment 2 Ahmad Samir 2021-06-02 15:25:28 UTC
*** Bug 430616 has been marked as a duplicate of this bug. ***
Comment 3 Ahmad Samir 2021-06-02 15:30:52 UTC
The backtrace points to:
#11 0x00007f1de70e5104 in KFileItemModel::index (this=this@entry=0x559c23493b40, url=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:129

which indicates the crash is happening somewhere in this if block https://invent.kde.org/system/dolphin/-/blob/master/src/kitemviews/kfileitemmodel.cpp#L410

which is useful if you're debugging, but not in a release build; IMHO, it should be wrapped in '#if 0 #endif'.
Comment 4 Vincent LaConte 2021-07-13 01:20:32 UTC
Created attachment 140015 [details]
New crash information added by DrKonqi

dolphin (20.12.3) using Qt 5.15.2

- What I was doing when the application crashed:

In background, uploading (copying) two large files to Google Drive (Dolphin drag-drop to Google Chrome.)
In foreground, browsing, with thumbnail previews on, several dozen local (USB attached drive) folders containing several hundred 300K-500K JPG files each.
Twice in a row, Dolphin crashed on a "CD ../" command (keyboard shortcut: Alt+UpArrow) from a picture folder up to the parent folder on the local drive.
The remote operation continued unaffected both times.
After installing debug symbols, otherwise identical conditions, I haven't yet reproduced the crash a third time.

-- Backtrace (Reduced):
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#5  0x00007f1c01394864 in __GI_abort () at abort.c:79
[...]
#7  0x00007f1c014963fa in __GI___fortify_fail (msg=msg@entry=0x7f1c0151c93b "stack smashing detected") at fortify_fail.c:26
#8  0x00007f1c014963c6 in __stack_chk_fail () at stack_chk_fail.c:24
#9  0x00007f1c012bd85b in KFileItemModel::index (this=this@entry=0x56308474eeb0, url=...) at ./src/kitemviews/kfileitemmodel.cpp:445
Comment 5 Nicolas Fella 2022-02-25 14:00:16 UTC
*** Bug 450755 has been marked as a duplicate of this bug. ***
Comment 6 Akseli Lahtinen 2023-12-04 12:07:03 UTC
Can't reproduce on Plasma 6, possibly fixed. If possible, could you try to recreate the bug in your setup in Plasma 6? Thanks.
Comment 7 Patrick Silva 2023-12-05 10:17:19 UTC
Cannot reproduce.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.81.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Graphics Platform: Wayland