Bug 459352 - Notification does not disappear after compressing a large file to .7zip or .jar format via context menu of Dolphin and Dolphin crashes when I dismiss the notification manually by clicking on its stop button
Summary: Notification does not disappear after compressing a large file to .7zip or .j...
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 22.08.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-18 20:48 UTC by Patrick Silva
Modified: 2024-02-01 14:35 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2022-09-18 20:48:10 UTC
SUMMARY
I tried to compress a 4.4 GiB video file to 7zip format via context menu of Dolphin. The compression was never finished, the notification showing the progress 'got stuck' forever. Then I aborted the compression by clicking on stop button of Plasma notification and another notification saying "Compressing (Failed)' (or something similar) appeared. coredumpctl command revealed a Dolphin crash immediately after stopping the compression.


EXPECTED RESULT
compression to 7zip is completed and no crash occurs

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.90
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Graphics Platform: Wayland


Thread 7 (Thread 0x7fb36ebff6c0 (LWP 24292)):
#0  pselect64_syscall (sigmask=0x0, timeout=<optimized out>, exceptfds=0x0, writefds=0x0, readfds=0x7fb36ebf6a10, nfds=16) at ../sysdeps/unix/sysv/linux/pselect.c:34
#1  __pselect (nfds=nfds@entry=16, readfds=readfds@entry=0x7fb36ebf6a10, writefds=writefds@entry=0x0, exceptfds=exceptfds@entry=0x0, timeout=<optimized out>, timeout@entry=0x7fb36ebf6a00, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/pselect.c:56
#2  0x00007fb379736524 in usbmuxd_listen_inotify () at libusbmuxd.c:923
#3  0x00007fb3797378a9 in usbmuxd_listen () at libusbmuxd.c:979
#4  device_monitor (data=<optimized out>) at libusbmuxd.c:1107
#5  0x00007fb37a89f74d in start_thread (arg=<optimized out>) at pthread_create.c:442
#6  0x00007fb37a921700 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7fb36ffff6c0 (LWP 24291)):
#0  0x00007fb37a913e5f in __GI___poll (fds=fds@entry=0x7fb36fffeaf0, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb378d56c5d in poll (__timeout=-1, __nfds=2, __fds=0x7fb36fffeaf0) at /usr/include/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run (this=0x56464db196a0) at /usr/src/debug/qtwayland/src/client/qwaylanddisplay.cpp:208
#3  0x00007fb37aee42ba in QThreadPrivate::start (arg=0x56464db196a0) at thread/qthread_unix.cpp:330
#4  0x00007fb37a89f74d in start_thread (arg=<optimized out>) at pthread_create.c:442
#5  0x00007fb37a921700 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7fb3755ff6c0 (LWP 24289)):
#0  0x00007fb37a913e5f in __GI___poll (fds=0x7fb3700053e0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb379036ddf in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x7fb3700053e0, timeout=<optimized out>, context=0x7fb370001cf0) at ../glib/glib/gmain.c:4516
#2  g_main_context_iterate.constprop.0 (context=context@entry=0x7fb370001cf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4206
#3  0x00007fb378fde252 in g_main_context_iteration (context=0x7fb370001cf0, may_block=1) at ../glib/glib/gmain.c:4276
#4  0x00007fb37b0d74ec in QEventDispatcherGlib::processEvents (this=0x7fb370000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007fb37b08530c in QEventLoop::exec (this=0x7fb3755fead0, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007fb37aee749f in QThread::exec (this=this@entry=0x7fb37c3f7560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fb37c39bcba in QDBusConnectionManager::run (this=0x7fb37c3f7560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /usr/src/debug/qtbase/src/dbus/qdbusconnection.cpp:179
#8  0x00007fb37aee42ba in QThreadPrivate::start (arg=0x7fb37c3f7560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:330
#9  0x00007fb37a89f74d in start_thread (arg=<optimized out>) at pthread_create.c:442
#10 0x00007fb37a921700 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7fb353fff6c0 (LWP 24294)):
#0  0x00007fb37a913e5f in __GI___poll (fds=0x7fb34c0029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb379036ddf in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fb34c0029e0, timeout=<optimized out>, context=0x7fb34c000c30) at ../glib/glib/gmain.c:4516
#2  g_main_context_iterate.constprop.0 (context=context@entry=0x7fb34c000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4206
#3  0x00007fb378fde252 in g_main_context_iteration (context=0x7fb34c000c30, may_block=1) at ../glib/glib/gmain.c:4276
#4  0x00007fb37b0d74ec in QEventDispatcherGlib::processEvents (this=0x7fb34c000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007fb37b08530c in QEventLoop::exec (this=0x7fb353ffeb00, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007fb37aee749f in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fb37aee42ba in QThreadPrivate::start (arg=0x56464de7fc30) at thread/qthread_unix.cpp:330
#8  0x00007fb37a89f74d in start_thread (arg=<optimized out>) at pthread_create.c:442
#9  0x00007fb37a921700 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7fb358dff6c0 (LWP 24293)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x56464dd540d8) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x56464dd540d8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007fb37a89c36f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x56464dd540d8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007fb37a89eb20 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56464dd54088, cond=0x56464dd540b0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x56464dd540b0, mutex=0x56464dd54088) at pthread_cond_wait.c:618
#5  0x00007fb36c6b2c5c in cnd_wait () at ../mesa-22.1.7/include/c11/threads_posix.h:155
#6  util_queue_thread_func () at ../mesa-22.1.7/src/util/u_queue.c:294
#7  0x00007fb36c6ac35c in impl_thrd_routine () at ../mesa-22.1.7/include/c11/threads_posix.h:87
#8  0x00007fb37a89f74d in start_thread (arg=<optimized out>) at pthread_create.c:442
#9  0x00007fb37a921700 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7fb374c606c0 (LWP 24290)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x56464db19190) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x56464db19190, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007fb37a89c36f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x56464db19190, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007fb37a89eb20 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56464db19140, cond=0x56464db19168) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x56464db19168, mutex=0x56464db19140) at pthread_cond_wait.c:618
#5  0x00007fb37aeeb744 in QWaitConditionPrivate::wait (deadline=..., this=0x56464db19140) at thread/qwaitcondition_unix.cpp:146
#6  QWaitCondition::wait (this=this@entry=0x56464db1a060, mutex=mutex@entry=0x56464db1a058, deadline=...) at thread/qwaitcondition_unix.cpp:225
#7  0x00007fb378d56c04 in QtWaylandClient::EventThread::waitForReading (this=0x56464db1a020) at /usr/src/debug/qtwayland/src/client/qwaylanddisplay.cpp:242
#8  QtWaylandClient::EventThread::run (this=0x56464db1a020) at /usr/src/debug/qtwayland/src/client/qwaylanddisplay.cpp:206
#9  0x00007fb37aee42ba in QThreadPrivate::start (arg=0x56464db1a020) at thread/qthread_unix.cpp:330
#10 0x00007fb37a89f74d in start_thread (arg=<optimized out>) at pthread_create.c:442
#11 0x00007fb37a921700 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7fb375a8aa80 (LWP 24284)):
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007fb37a8a1503 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007fb37a851958 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007fb37cc123a4 in KCrash::defaultCrashHandler (sig=11) at /usr/src/debug/kcrash-5.98.0/src/kcrash.cpp:618
#4  <signal handler called>
#5  0x000056464ed985e0 in ?? ()
#6  0x00007fb34bfb34ff in Kerfuffle::Job::doKill (this=0x56464ed46360) at /usr/src/debug/ark-22.08.1/kerfuffle/jobs.cpp:215
#7  0x00007fb37c51de6d in KJob::kill (this=0x56464ed46360, verbosity=verbosity@entry=KJob::Quietly) at /usr/src/debug/kcoreaddons-5.98.0/src/lib/jobs/kjob.cpp:113
#8  0x00007fb34bfb9cc9 in Kerfuffle::CreateJob::doKill (this=0x56464e7bac30) at /usr/src/debug/ark-22.08.1/kerfuffle/jobs.cpp:507
#9  0x00007fb37c51de6d in KJob::kill (this=0x56464e7bac30, verbosity=KJob::EmitResult) at /usr/src/debug/kcoreaddons-5.98.0/src/lib/jobs/kjob.cpp:113
#10 0x00007fb37b0bd361 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#11 doActivate<false> (sender=0x56464e92f950, signal_index=3, argv=0x7ffd024ff810) at kernel/qobject.cpp:3919
#12 0x00007fb37ce0fdc3 in OrgKdeJobViewV3Interface::qt_metacall (this=0x56464e92f950, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffd024ff950) at /usr/src/debug/build/src/jobviewv3iface.moc:159
#13 0x00007fb37c3d945f in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) [clone .constprop.0] (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at /usr/src/debug/qtbase/src/dbus/qdbusintegrator.cpp:1001
#14 0x00007fb37b0b0500 in QObject::event (this=0x56464e92f950, e=0x7fb3700170f0) at kernel/qobject.cpp:1347
#15 0x00007fb37bd78b1c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x56464e92f950, e=0x7fb3700170f0) at kernel/qapplication.cpp:3637
#16 0x00007fb37b08cb68 in QCoreApplication::notifyInternal2 (receiver=0x56464e92f950, event=0x7fb3700170f0) at kernel/qcoreapplication.cpp:1064
#17 0x00007fb37b08d673 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x56464dacf8e0) at kernel/qcoreapplication.cpp:1821
#18 0x00007fb37b0d3708 in postEventSourceDispatch (s=0x56464db162a0) at kernel/qeventdispatcher_glib.cpp:277
#19 0x00007fb378fe0b2b in g_main_dispatch (context=0x7fb370005010) at ../glib/glib/gmain.c:3417
#20 g_main_context_dispatch (context=0x7fb370005010) at ../glib/glib/gmain.c:4135
#21 0x00007fb379036e79 in g_main_context_iterate.constprop.0 (context=context@entry=0x7fb370005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4211
#22 0x00007fb378fde252 in g_main_context_iteration (context=0x7fb370005010, may_block=1) at ../glib/glib/gmain.c:4276
#23 0x00007fb37b0d74ec in QEventDispatcherGlib::processEvents (this=0x56464db194d0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#24 0x00007fb37b08530c in QEventLoop::exec (this=0x7ffd024ffe20, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#25 0x00007fb37b08fe39 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#26 0x00007fb37b53a0e2 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870
#27 0x00007fb37bd76f2a in QApplication::exec () at kernel/qapplication.cpp:2829
#28 0x000056464bcd7ccb in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin-22.08.1/src/main.cpp:246
Comment 1 Patrick Silva 2022-09-20 10:20:39 UTC
Can reproduce when compressing to 7zip or .jar format on neon unstable.

1. compress a large file to 7zip or .jar format via context menu of Dolphin
2. quit Dolphin during the compression by pressing ctrl+q

Result: the compression is finished but the notification showing the progress never disappears, it gets stuck instead.
If I click on the stop button of the notification, Dolphin crashes.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Graphics Platform: Wayland