Bug 446927 - Ark crashes when compression to zip format is aborted
Summary: Ark crashes when compression to zip format is aborted
Status: RESOLVED DUPLICATE of bug 446926
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-12-13 12:19 UTC by Patrick Silva
Modified: 2021-12-15 01:54 UTC (History)
5 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 2021-12-13 12:19:48 UTC
Application: ark (22.03.70)

Qt Version: 5.15.3
Frameworks Version: 5.89.0
Operating System: Linux 5.11.0-40-generic x86_64
Windowing System: Wayland
Distribution: KDE neon Unstable Edition
DrKonqi: 5.23.80 [CoredumpBackend]

-- Information about the crash:
- What I was doing when the application crashed:
open Ark, create a new zip archive, add a big file to the archive, abort the compression via stop button of Plasma notification.
Ark crashes. Bug 446926 seems related.

The crash can be reproduced every time.

-- Backtrace:
Application: Ark (ark), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[New LWP 15486]
[New LWP 15237]
[New LWP 15239]
[New LWP 15240]
[New LWP 15242]
[New LWP 15241]
[New LWP 15238]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/ark'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __GI_raise (sig=sig@entry=11) at ../sysdeps/unix/sysv/linux/raise.c:50
[Current thread is 1 (Thread 0x7f87db45b700 (LWP 15486))]
__preamble__

[Current thread is 1 (Thread 0x7f87db45b700 (LWP 15486))]

Thread 7 (Thread 0x7f87f7dc3700 (LWP 15238)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5567436bdac8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5567436bda78, cond=0x5567436bdaa0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5567436bdaa0, mutex=0x5567436bda78) at pthread_cond_wait.c:647
#3  0x00007f87f8157b1b in cnd_wait (mtx=0x5567436bda78, cond=0x5567436bdaa0) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55674381d960) at ../src/util/u_queue.c:294
#5  0x00007f87f815771b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f87fd7a5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f87fe3f6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f87f65c0700 (LWP 15241)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5567436bdac8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5567436bda78, cond=0x5567436bdaa0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5567436bdaa0, mutex=0x5567436bda78) at pthread_cond_wait.c:647
#3  0x00007f87f8157b1b in cnd_wait (mtx=0x5567436bda78, cond=0x5567436bdaa0) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55674381e130) at ../src/util/u_queue.c:294
#5  0x00007f87f815771b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f87fd7a5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f87fe3f6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f87e6efa700 (LWP 15242)):
#0  0x00007f87fe3e9aff in __GI___poll (fds=0x7f87dc005240, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f87fcdd636e in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x7f87dc005240, timeout=<optimized out>, context=0x7f87dc000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f87dc000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f87fcdd64a3 in g_main_context_iteration (context=0x7f87dc000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f87fe9b7602 in QEventDispatcherGlib::processEvents (this=0x7f87dc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f87fe95b8ab in QEventLoop::exec (this=this@entry=0x7f87e6ef9bb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f87fe7752c2 in QThread::exec (this=this@entry=0x7f87fdca5d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f87fdc21f4b in QDBusConnectionManager::run (this=0x7f87fdca5d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#8  0x00007f87fe77645c in QThreadPrivate::start (arg=0x7f87fdca5d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#9  0x00007f87fd7a5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f87fe3f6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f87f6dc1700 (LWP 15240)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5567436bdac8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5567436bda78, cond=0x5567436bdaa0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5567436bdaa0, mutex=0x5567436bda78) at pthread_cond_wait.c:647
#3  0x00007f87f8157b1b in cnd_wait (mtx=0x5567436bda78, cond=0x5567436bdaa0) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55674381dde0) at ../src/util/u_queue.c:294
#5  0x00007f87f815771b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f87fd7a5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f87fe3f6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f87f75c2700 (LWP 15239)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5567436bdac8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5567436bda78, cond=0x5567436bdaa0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5567436bdaa0, mutex=0x5567436bda78) at pthread_cond_wait.c:647
#3  0x00007f87f8157b1b in cnd_wait (mtx=0x5567436bda78, cond=0x5567436bdaa0) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55674381dba0) at ../src/util/u_queue.c:294
#5  0x00007f87f815771b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f87fd7a5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f87fe3f6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f87fa7e99c0 (LWP 15237)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55674431c710) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55674431c6c0, cond=0x55674431c6e8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55674431c6e8, mutex=0x55674431c6c0) at pthread_cond_wait.c:647
#3  0x00007f87fe77c5cb in QWaitConditionPrivate::wait (deadline=..., this=0x55674431c6c0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x5567444535b8, mutex=mutex@entry=0x556744453598, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f87fe776129 in QThread::wait (this=<optimized out>, deadline=...) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#6  0x00007f880028408d in Kerfuffle::Job::~Job (this=0x5567443b9950, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#7  0x00007f88002756af in Kerfuffle::AddJob::~AddJob (this=0x5567443b9950, __in_chrg=<optimized out>) at /usr/include/c++/9/bits/atomic_base.h:326
#8  Kerfuffle::AddJob::~AddJob (this=0x5567443b9950, __in_chrg=<optimized out>) at ./kerfuffle/jobs.h:295
#9  0x00007f87fe98a6e3 in QObject::event (this=0x5567443b9950, e=0x556743f08390) at kernel/qobject.cpp:1301
#10 0x00007f87ff436dc3 in QApplicationPrivate::notify_helper (this=this@entry=0x556743697c00, receiver=receiver@entry=0x5567443b9950, e=e@entry=0x556743f08390) at kernel/qapplication.cpp:3632
#11 0x00007f87ff43fbb8 in QApplication::notify (this=0x7fff143c49e0, receiver=0x5567443b9950, e=0x556743f08390) at kernel/qapplication.cpp:3156
#12 0x00007f87fe95cdaa in QCoreApplication::notifyInternal2 (receiver=0x5567443b9950, event=0x556743f08390) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#13 0x00007f87fe95f6b1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55674367bef0) at kernel/qcoreapplication.cpp:1821
#14 0x00007f87fe9b7fa7 in postEventSourceDispatch (s=0x5567436bb550) at kernel/qeventdispatcher_glib.cpp:277
#15 0x00007f87fcdd617d in g_main_dispatch (context=0x5567436bca30) at ../../../glib/gmain.c:3309
#16 g_main_context_dispatch (context=context@entry=0x5567436bca30) at ../../../glib/gmain.c:3974
#17 0x00007f87fcdd6400 in g_main_context_iterate (context=context@entry=0x5567436bca30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#18 0x00007f87fcdd64a3 in g_main_context_iteration (context=0x5567436bca30, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#19 0x00007f87fe9b7602 in QEventDispatcherGlib::processEvents (this=0x5567436b8500, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#20 0x00007f87fe95b8ab in QEventLoop::exec (this=this@entry=0x7fff143c48e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#21 0x00007f87fe963a64 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#22 0x000055674218bac5 in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:337

Thread 1 (Thread 0x7f87db45b700 (LWP 15486)):
[KCrash Handler]
#3  std::__atomic_base<QObjectPrivate::SignalVector*>::load (__m=std::memory_order_relaxed, this=0x3ff0000000000008) at /usr/include/c++/9/bits/atomic_base.h:734
#4  std::atomic<QObjectPrivate::SignalVector*>::load (__m=std::memory_order_relaxed, this=0x3ff0000000000008) at /usr/include/c++/9/atomic:519
#5  QAtomicOps<QObjectPrivate::SignalVector*>::loadRelaxed<QObjectPrivate::SignalVector*> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#6  QBasicAtomicPointer<QObjectPrivate::SignalVector>::loadRelaxed (this=0x3ff0000000000008) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:248
#7  QObjectPrivate::maybeSignalConnected (this=this@entry=0x5567436c6e50, signalIndex=signalIndex@entry=8) at kernel/qobject.cpp:482
#8  0x00007f87fe993984 in doActivate<false> (sender=0x556743d786d0, signal_index=8, argv=0x7f87db4588c0) at kernel/qobject_p.h:110
#9  0x00007f87fe98d197 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f88002e4a60 <Kerfuffle::ReadOnlyArchiveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7f87db4588c0) at kernel/qobject.cpp:3946
#10 0x00007f880026f847 in Kerfuffle::ReadOnlyArchiveInterface::progress (this=<optimized out>, _t1=<optimized out>) at ./obj-x86_64-linux-gnu/kerfuffle/kerfuffle_autogen/EWIEGA46WW/moc_archiveinterface.cpp:279
#11 0x00007f87e418503d in ?? () from /lib/x86_64-linux-gnu/libzip.so.5
#12 0x00007f87e417d1e0 in ?? () from /lib/x86_64-linux-gnu/libzip.so.5
#13 0x00007f87e417d956 in zip_close () from /lib/x86_64-linux-gnu/libzip.so.5
#14 0x00007f87e41c2f02 in LibzipPlugin::addFiles (this=0x556743d786d0, files=..., destination=0x0, options=..., numberOfEntriesToAdd=<optimized out>) at ./plugins/libzipplugin/libzipplugin.cpp:163
#15 0x00007f8800287d6e in Kerfuffle::AddJob::doWork (this=0x5567443b9950) at ./kerfuffle/jobs.cpp:682
#16 0x00007f87fe77645c in QThreadPrivate::start (arg=0x556743d63270) at thread/qthread_unix.cpp:329
#17 0x00007f87fd7a5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#18 0x00007f87fe3f6293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Reported using DrKonqi
Comment 1 Nate Graham 2021-12-14 19:27:33 UTC
Bug 443540...?
Comment 2 Tony 2021-12-15 01:54:10 UTC

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