Bug 480978

Summary: Dolphin crashed while cancelling a compress operation
Product: [Applications] ark Reporter: Fhdz <felixjavier>
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: REPORTED ---    
Severity: crash CC: akselmo, kfm-devel, rthomsen6
Priority: NOR Keywords: drkonqi
Version: 23.08.4   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Fhdz 2024-02-07 01:40:55 UTC
Application: dolphin (23.08.4)

Qt Version: 5.15.12
Frameworks Version: 5.114.0
Operating System: Linux 6.5.0-15-generic x86_64
Windowing System: Wayland
Distribution: KDE neon 5.27
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
Dolphin crashed after hitting cancel on a compress operation for a large amount of files on a folder. Compression operation was to a tar.gz file. Amount of files around 17,000. Size uncompressed around 120GiB. Drive being written to was a zfs mirror volume.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f29500cacc1 in Kerfuffle::AddJob::doWork (this=0x7f2934002830) at ./kerfuffle/jobs.cpp:742
#5  0x00007f297aeceda3 in operator() (__closure=<optimized out>, __closure=<optimized out>) at thread/qthread_unix.cpp:350
#6  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=..., t=...) at thread/qthread_unix.cpp:287
#7  QThreadPrivate::start (arg=0x7f293400ac40) at thread/qthread_unix.cpp:310
#8  0x00007f297a694ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f297a726850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 7 (Thread 0x7f2953fff640 (LWP 7259) "KDirectoryConte"):
#1  0x00007f2978ea7123 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2978e4f3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f297b11686e in QEventDispatcherGlib::processEvents (this=0x7f294c000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f297b0bbc2b in QEventLoop::exec (this=this@entry=0x7f2953ffeb40, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x00007f297aecdb32 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f297aeceda3 in operator() (__closure=<optimized out>, __closure=<optimized out>) at thread/qthread_unix.cpp:350
#7  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=..., t=...) at thread/qthread_unix.cpp:287
#8  QThreadPrivate::start (arg=0x56462fca8520) at thread/qthread_unix.cpp:310
#9  0x00007f297a694ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#10 0x00007f297a726850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7f2958fff640 (LWP 7258) "dolphin"):
#1  __pselect (nfds=nfds@entry=5, readfds=readfds@entry=0x7f2958ff6a40, writefds=writefds@entry=0x0, exceptfds=exceptfds@entry=0x0, timeout=<optimized out>, timeout@entry=0x7f2958ff6a30, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/pselect.c:56
#2  0x00007f29788a303d in usbmuxd_listen_inotify () at /build/libusbmuxd-922SNR/libusbmuxd-2.0.2/src/libusbmuxd.c:923
#3  0x00007f29788a3d88 in usbmuxd_listen () at /build/libusbmuxd-922SNR/libusbmuxd-2.0.2/src/libusbmuxd.c:979
#4  device_monitor (data=<optimized out>) at /build/libusbmuxd-922SNR/libusbmuxd-2.0.2/src/libusbmuxd.c:1107
#5  0x00007f297a694ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6  0x00007f297a726850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7f296d7ff640 (LWP 7257) "dolphin:disk$0"):
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x56462f7e2ac8) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x56462f7e2ac8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f297a693a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56462f7e2a78, cond=0x56462f7e2aa0) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x56462f7e2aa0, mutex=0x56462f7e2a78) at ./nptl/pthread_cond_wait.c:627
#5  0x00007f296d90f89d in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#6  0x00007f296d8bfb0b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#7  0x00007f296d90f7cb in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#8  0x00007f297a694ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f297a726850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7f296ffff640 (LWP 7256) "WaylandEventThr"):
#1  0x00007f2978c31f44 in poll (__timeout=-1, __nfds=2, __fds=0x7f296fffeb30) at /usr/include/x86_64-linux-gnu/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run (this=0x56462f762e40) at ./src/client/qwaylanddisplay.cpp:210
#3  0x00007f297aeceda3 in operator() (__closure=<optimized out>, __closure=<optimized out>) at thread/qthread_unix.cpp:350
#4  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=..., t=...) at thread/qthread_unix.cpp:287
#5  QThreadPrivate::start (arg=0x56462f762e40) at thread/qthread_unix.cpp:310
#6  0x00007f297a694ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x00007f297a726850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7f2974e4c640 (LWP 7255) "WaylandEventThr"):
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x56462f761080) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x56462f761080, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f297a693a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56462f761030, cond=0x56462f761058) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x56462f761058, mutex=0x56462f761030) at ./nptl/pthread_cond_wait.c:627
#5  0x00007f297aed4ddb in QWaitConditionPrivate::wait (deadline=..., deadline=..., this=0x56462f761030) at thread/qwaitcondition_unix.cpp:146
#6  QWaitCondition::wait (this=this@entry=0x56462f762d10, mutex=mutex@entry=0x56462f762d08, deadline=...) at thread/qwaitcondition_unix.cpp:225
#7  0x00007f2978c31ee7 in QtWaylandClient::EventThread::waitForReading (this=0x56462f762cd0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#8  QtWaylandClient::EventThread::run (this=0x56462f762cd0) at ./src/client/qwaylanddisplay.cpp:208
#9  0x00007f297aeceda3 in operator() (__closure=<optimized out>, __closure=<optimized out>) at thread/qthread_unix.cpp:350
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=..., t=...) at thread/qthread_unix.cpp:287
#11 QThreadPrivate::start (arg=0x56462f762cd0) at thread/qthread_unix.cpp:310
#12 0x00007f297a694ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#13 0x00007f297a726850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7f29757ff640 (LWP 7254) "QDBusConnection"):
#1  0x00007f2978ea71f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2978e4f3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f297b11686e in QEventDispatcherGlib::processEvents (this=0x7f2970000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f297b0bbc2b in QEventLoop::exec (this=this@entry=0x7f29757feb10, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x00007f297aecdb32 in QThread::exec (this=this@entry=0x7f297c454d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f297c3dc0eb in QDBusConnectionManager::run (this=0x7f297c454d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ./src/dbus/qdbusconnection.cpp:179
#7  0x00007f297aeceda3 in operator() (__closure=<optimized out>, __closure=<optimized out>) at thread/qthread_unix.cpp:350
#8  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=..., t=...) at thread/qthread_unix.cpp:287
#9  QThreadPrivate::start (arg=0x7f297c454d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:310
#10 0x00007f297a694ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#11 0x00007f297a726850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7f2975e2e9c0 (LWP 7253) "dolphin"):
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x7f2934002f20) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7f2934002f20, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f297a693a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f2934002ed0, cond=0x7f2934002ef8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x7f2934002ef8, mutex=0x7f2934002ed0) at ./nptl/pthread_cond_wait.c:627
#5  0x00007f297aed4ddb in QWaitConditionPrivate::wait (deadline=..., deadline=..., this=0x7f2934002ed0) at thread/qwaitcondition_unix.cpp:146
#6  QWaitCondition::wait (this=this@entry=0x7f2934002ea8, mutex=mutex@entry=0x7f2934002e88, deadline=...) at thread/qwaitcondition_unix.cpp:225
#7  0x00007f297aecea99 in QThread::wait (this=<optimized out>, deadline=...) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:294
#8  0x00007f29500c362d in Kerfuffle::Job::~Job (this=<optimized out>, this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#9  0x00007f29500bdc3f in Kerfuffle::AddJob::~AddJob (this=<optimized out>, this=<optimized out>) at ./obj-x86_64-linux-gnu/kerfuffle/kerfuffle_autogen/EWIEGA46WW/../../../../kerfuffle/jobs.h:297
#10 Kerfuffle::AddJob::~AddJob (this=<optimized out>, this=<optimized out>) at ./obj-x86_64-linux-gnu/kerfuffle/kerfuffle_autogen/EWIEGA46WW/../../../../kerfuffle/jobs.h:297
#11 0x00007f29500c5985 in Kerfuffle::CreateJob::~CreateJob (this=<optimized out>, this=<optimized out>) at ./kerfuffle/jobs.cpp:470
#12 0x00007f29500c5aad in Kerfuffle::CreateJob::~CreateJob (this=<optimized out>, this=<optimized out>) at ./kerfuffle/jobs.cpp:471
#13 0x00007f297b0ea603 in QObject::event (this=0x564630044ea0, e=0x564630383450) at kernel/qobject.cpp:1334
#14 0x00007f297bd6c783 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x564630044ea0, e=0x564630383450) at kernel/qapplication.cpp:3640
#15 0x00007f297b0bd30a in QCoreApplication::notifyInternal2 (receiver=0x564630044ea0, event=0x564630383450) at kernel/qcoreapplication.cpp:1064
#16 0x00007f297b0c0407 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x56462f719ec0) at kernel/qcoreapplication.cpp:1821
#17 0x00007f297b1171a7 in postEventSourceDispatch (s=0x56462f75dd80) at kernel/qeventdispatcher_glib.cpp:277
#18 0x00007f2978e51d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f2978ea7258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f2978e4f3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f297b1167f8 in QEventDispatcherGlib::processEvents (this=0x56462f762c50, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#22 0x00007f297b0bbc2b in QEventLoop::exec (this=this@entry=0x7fffdfb3e470, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#23 0x00007f297b0c41d4 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#24 0x000056462e9b9b97 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:255
[Inferior 1 (process 7253) detached]

Reported using DrKonqi
Comment 1 Akseli Lahtinen 2024-02-12 14:36:25 UTC
Can't reproduce on Plasma 6. 

Operating System: Fedora Linux 39
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.0
Kernel Version: 6.7.4-200.fc39.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600