Bug 427910 - System Settings crashes in KNSCore::KPackageJob::~KPackageJob() when installing new themes
Summary: System Settings crashes in KNSCore::KPackageJob::~KPackageJob() when installi...
Status: RESOLVED FIXED
Alias: None
Product: frameworks-knewstuff
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.20.0
Platform: openSUSE Linux
: VHI crash
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords: drkonqi
: 427786 427821 427915 428055 428370 428505 428576 428622 435153 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-10-18 09:02 UTC by jbclark325
Modified: 2021-03-31 17:35 UTC (History)
14 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.76


Attachments
New crash information added by DrKonqi (20.22 KB, text/plain)
2020-10-22 07:02 UTC, hara75gr
Details
New crash information added by DrKonqi (22.16 KB, text/plain)
2020-10-24 16:01 UTC, Joe Harris
Details
New crash information added by DrKonqi (32.96 KB, text/plain)
2020-10-25 01:59 UTC, techxgames
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jbclark325 2020-10-18 09:02:05 UTC
Application: systemsettings5 (5.20.0)

Qt Version: 5.15.1
Frameworks Version: 5.75.0
Operating System: Linux 5.8.14-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:

I was installing themes on freshly installed OpenSUSE Tumbleweed. Happens on both my laptop (HP Stream 14) and my custom built desktop. Bug report submitted from laptop (if it matters). Both systems would have systemsettings crash when the password prompt to install the SDDM portion of the global theme packs. Sometimes a theme would be installed, sometimes it would fail before the install completed.

It doesn't matter if I pick one theme package at a time or try to install multiple concurrently.

Both systems are running the same default opensuse KDE patterns, if it matters.

The crash can be reproduced sometimes.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault

[New LWP 10771]
[New LWP 10772]
[New LWP 10773]
[New LWP 10774]
[New LWP 10775]
[New LWP 10776]
[New LWP 10777]
[New LWP 10778]
[New LWP 10779]
[New LWP 10781]
[New LWP 10782]
[New LWP 10783]
[New LWP 10791]
[New LWP 10792]
[New LWP 10793]
[New LWP 10794]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f05c2107e7f in poll () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f05bf834840 (LWP 10769))]

Thread 17 (Thread 0x7f057d6d9640 (LWP 10794)):
#0  0x00007f05c2107e7f in poll () from /lib64/libc.so.6
#1  0x00007f05c02fb5ee in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f05c02fb70f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f05c26c85cb in QEventDispatcherGlib::processEvents (this=0x7f0574005a30, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f05c266fa1b in QEventLoop::exec (this=this@entry=0x7f057d6d8c80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f05c24907ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f05c19f2926 in ?? () from /usr/lib64/libQt5Quick.so.5
#7  0x00007f05c2491911 in QThreadPrivate::start (arg=0x55fac597fb30) at thread/qthread_unix.cpp:329
#8  0x00007f05c0cc1eb1 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f05c2112ccf in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7f057deda640 (LWP 10793)):
#0  0x00007f05c02fb016 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f05c02fb595 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f05c02fb70f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f05c26c85cb in QEventDispatcherGlib::processEvents (this=0x55fac5837f70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f05c266fa1b in QEventLoop::exec (this=this@entry=0x7f057ded9cc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f05c24907ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f05c2491911 in QThreadPrivate::start (arg=0x55fac5873ec0) at thread/qthread_unix.cpp:329
#7  0x00007f05c0cc1eb1 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f05c2112ccf in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7f057e6db640 (LWP 10792)):
#0  0x00007f05c21038dc in read () from /lib64/libc.so.6
#1  0x00007f05c034418f in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f05c02fb13e in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f05c02fb595 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f05c02fb94b in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f058f1a37a6 in ?? () from /usr/lib64/libgio-2.0.so.0
#6  0x00007f05c03249fe in ?? () from /usr/lib64/libglib-2.0.so.0
#7  0x00007f05c0cc1eb1 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f05c2112ccf in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7f058ca05640 (LWP 10791)):
#0  0x00007f05c21038dc in read () from /lib64/libc.so.6
#1  0x00007f05c034418f in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f05c02fb13e in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f05c02fb595 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f05c02fb70f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f05c02fb761 in ?? () from /usr/lib64/libglib-2.0.so.0
#6  0x00007f05c03249fe in ?? () from /usr/lib64/libglib-2.0.so.0
#7  0x00007f05c0cc1eb1 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f05c2112ccf in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7f058db4b640 (LWP 10783)):
#0  0x00007f05c210d799 in syscall () from /lib64/libc.so.6
#1  0x00007f05c2493b51 in QtLinuxFutex::_q_futex (val3=0, addr2=0x0, val2=0, val=<optimized out>, op=0, addr=<optimized out>) at thread/qfutex_p.h:133
#2  QtLinuxFutex::futexWait<QBasicAtomicInteger<unsigned int> > (expectedValue=<optimized out>, futex=...) at thread/qfutex_p.h:135
#3  futexSemaphoreTryAcquire_loop<false> (timeout=-1, nn=8589934593, curValue=<optimized out>, u=...) at thread/qsemaphore.cpp:219
#4  futexSemaphoreTryAcquire<false> (timeout=-1, n=<optimized out>, u=...) at thread/qsemaphore.cpp:262
#5  QSemaphore::acquire (this=0x7f05c1236540, n=<optimized out>) at thread/qsemaphore.cpp:326
#6  0x00007f05c1186bf4 in ?? () from /usr/lib64/libQt5Network.so.5
#7  0x00007f05c2491911 in QThreadPrivate::start (arg=0x7f05c1236520) at thread/qthread_unix.cpp:329
#8  0x00007f05c0cc1eb1 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f05c2112ccf in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f058e34c640 (LWP 10782)):
#0  0x00007f05c2107e7f in poll () from /lib64/libc.so.6
#1  0x00007f05c02fb5ee in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f05c02fb70f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f05c26c85cb in QEventDispatcherGlib::processEvents (this=0x7f0580000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f05c266fa1b in QEventLoop::exec (this=this@entry=0x7f058e34bcc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f05c24907ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f05c2491911 in QThreadPrivate::start (arg=0x55fac26c5c50) at thread/qthread_unix.cpp:329
#7  0x00007f05c0cc1eb1 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f05c2112ccf in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f058eb4d640 (LWP 10781)):
#0  0x00007f05c2107e7f in poll () from /lib64/libc.so.6
#1  0x00007f05c02fb5ee in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f05c02fb70f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f05c26c85cb in QEventDispatcherGlib::processEvents (this=0x7f0588000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f05c266fa1b in QEventLoop::exec (this=this@entry=0x7f058eb4ccc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f05c24907ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f05c2491911 in QThreadPrivate::start (arg=0x55fabf2e4980) at thread/qthread_unix.cpp:329
#7  0x00007f05c0cc1eb1 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f05c2112ccf in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f05a18ad640 (LWP 10779)):
#0  0x00007f05c2107e7f in poll () from /lib64/libc.so.6
#1  0x00007f05c02fb5ee in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f05c02fb70f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f05c26c85cb in QEventDispatcherGlib::processEvents (this=0x7f0594000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f05c266fa1b in QEventLoop::exec (this=this@entry=0x7f05a18acca0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f05c24907ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f05c173f2d5 in ?? () from /usr/lib64/libQt5Qml.so.5
#7  0x00007f05c2491911 in QThreadPrivate::start (arg=0x55fabea810c0) at thread/qthread_unix.cpp:329
#8  0x00007f05c0cc1eb1 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f05c2112ccf in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f05a3342640 (LWP 10778)):
#0  0x00007f05c210d799 in syscall () from /lib64/libc.so.6
#1  0x00007f05c2493b51 in QtLinuxFutex::_q_futex (val3=0, addr2=0x0, val2=0, val=<optimized out>, op=0, addr=<optimized out>) at thread/qfutex_p.h:133
#2  QtLinuxFutex::futexWait<QBasicAtomicInteger<unsigned int> > (expectedValue=<optimized out>, futex=...) at thread/qfutex_p.h:135
#3  futexSemaphoreTryAcquire_loop<false> (timeout=-1, nn=8589934593, curValue=<optimized out>, u=...) at thread/qsemaphore.cpp:219
#4  futexSemaphoreTryAcquire<false> (timeout=-1, n=n@entry=1, u=..., u@entry=<error reading variable: Cannot access memory at address 0x1ffffff41>) at thread/qsemaphore.cpp:262
#5  QSemaphore::acquire (this=this@entry=0x7f05a3341790, n=n@entry=1) at thread/qsemaphore.cpp:326
#6  0x00007f05c26a75aa in doActivate<false> (sender=0x7f05900220d0, signal_index=6, argv=0x7f05a3341810) at /usr/include/c++/10/bits/atomic_base.h:776
#7  0x00007f05c299742c in KJob::result(KJob*, KJob::QPrivateSignal) () from /usr/lib64/libKF5CoreAddons.so.5
#8  0x00007f05c299b8d3 in KJob::finishJob(bool) () from /usr/lib64/libKF5CoreAddons.so.5
#9  0x00007f05c269d091 in QObject::event (this=0x7f05900220d0, e=0x7f0590023c90) at kernel/qobject.cpp:1314
#10 0x00007f05c32b414f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7f05900220d0, e=0x7f0590023c90) at kernel/qapplication.cpp:3630
#11 0x00007f05c267105a in QCoreApplication::notifyInternal2 (receiver=0x7f05900220d0, event=0x7f0590023c90) at ../../include/QtCore/5.15.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#12 0x00007f05c2673a91 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55fabeaebb20) at kernel/qcoreapplication.cpp:1817
#13 0x00007f05c26c8f23 in postEventSourceDispatch (s=0x7f0590004bb0) at kernel/qeventdispatcher_glib.cpp:277
#14 0x00007f05c02fb2d7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#15 0x00007f05c02fb658 in ?? () from /usr/lib64/libglib-2.0.so.0
#16 0x00007f05c02fb70f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#17 0x00007f05c26c85af in QEventDispatcherGlib::processEvents (this=0x7f0590000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#18 0x00007f05c266fa1b in QEventLoop::exec (this=0x7f05a3341c10, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#19 0x00007f05a04599d9 in KPackageTask::run (this=0x55fac2b4c960) at /usr/include/qt5/QtCore/qflags.h:121
#20 0x00007f05c24956f2 in QThreadPoolThread::run (this=0x55fabebbc470) at thread/qthreadpool.cpp:100
#21 0x00007f05c2491911 in QThreadPrivate::start (arg=0x55fabebbc470) at thread/qthread_unix.cpp:329
#22 0x00007f05c0cc1eb1 in start_thread () from /lib64/libpthread.so.0
#23 0x00007f05c2112ccf in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f05a3b43640 (LWP 10777)):
#0  0x00007f05c210d799 in syscall () from /lib64/libc.so.6
#1  0x00007f05c2493b51 in QtLinuxFutex::_q_futex (val3=0, addr2=0x0, val2=0, val=<optimized out>, op=0, addr=<optimized out>) at thread/qfutex_p.h:133
#2  QtLinuxFutex::futexWait<QBasicAtomicInteger<unsigned int> > (expectedValue=<optimized out>, futex=...) at thread/qfutex_p.h:135
#3  futexSemaphoreTryAcquire_loop<false> (timeout=-1, nn=8589934593, curValue=<optimized out>, u=...) at thread/qsemaphore.cpp:219
#4  futexSemaphoreTryAcquire<false> (timeout=-1, n=n@entry=1, u=..., u@entry=<error reading variable: Cannot access memory at address 0x1ffffff41>) at thread/qsemaphore.cpp:262
#5  QSemaphore::acquire (this=this@entry=0x7f05a3b42790, n=n@entry=1) at thread/qsemaphore.cpp:326
#6  0x00007f05c26a75aa in doActivate<false> (sender=0x7f0598030c60, signal_index=6, argv=0x7f05a3b42810) at /usr/include/c++/10/bits/atomic_base.h:776
#7  0x00007f05c299742c in KJob::result(KJob*, KJob::QPrivateSignal) () from /usr/lib64/libKF5CoreAddons.so.5
#8  0x00007f05c299b8d3 in KJob::finishJob(bool) () from /usr/lib64/libKF5CoreAddons.so.5
#9  0x00007f05c269d091 in QObject::event (this=0x7f0598030c60, e=0x7f0598009550) at kernel/qobject.cpp:1314
#10 0x00007f05c32b414f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7f0598030c60, e=0x7f0598009550) at kernel/qapplication.cpp:3630
#11 0x00007f05c267105a in QCoreApplication::notifyInternal2 (receiver=0x7f0598030c60, event=0x7f0598009550) at ../../include/QtCore/5.15.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#12 0x00007f05c2673a91 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55fabebd0490) at kernel/qcoreapplication.cpp:1817
#13 0x00007f05c26c8f23 in postEventSourceDispatch (s=0x7f05980047b0) at kernel/qeventdispatcher_glib.cpp:277
#14 0x00007f05c02fb2d7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#15 0x00007f05c02fb658 in ?? () from /usr/lib64/libglib-2.0.so.0
#16 0x00007f05c02fb70f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#17 0x00007f05c26c85af in QEventDispatcherGlib::processEvents (this=0x7f0598000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#18 0x00007f05c266fa1b in QEventLoop::exec (this=0x7f05a3b42c10, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#19 0x00007f05a04599d9 in KPackageTask::run (this=0x55fabf2a6460) at /usr/include/qt5/QtCore/qflags.h:121
#20 0x00007f05c24956f2 in QThreadPoolThread::run (this=0x55fabec23540) at thread/qthreadpool.cpp:100
#21 0x00007f05c2491911 in QThreadPrivate::start (arg=0x55fabec23540) at thread/qthread_unix.cpp:329
#22 0x00007f05c0cc1eb1 in start_thread () from /lib64/libpthread.so.0
#23 0x00007f05c2112ccf in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f05b4a85640 (LWP 10776)):
#0  0x00007f05c0cc8082 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f05b69698fb in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f05b6968c67 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f05c0cc1eb1 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f05c2112ccf in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f05b5286640 (LWP 10775)):
#0  0x00007f05c0cc8082 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f05b69698fb in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f05b6968c67 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f05c0cc1eb1 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f05c2112ccf in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f05b5a87640 (LWP 10774)):
#0  0x00007f05c0cc8082 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f05b69698fb in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f05b6968c67 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f05c0cc1eb1 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f05c2112ccf in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f05b6288640 (LWP 10773)):
#0  0x00007f05c0cc8082 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f05b69698fb in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007f05b6968c67 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007f05c0cc1eb1 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f05c2112ccf in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f05bc852640 (LWP 10772)):
#0  0x00007f05c26c6d62 in QTimerInfoList::timerWait (this=0x7f05b0004d50, tm=...) at kernel/qtimerinfo_unix.cpp:388
#1  0x00007f05c26c831e in timerSourcePrepareHelper (timeout=0x7f05bc851aa4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:162
#2  timerSourcePrepare (source=<optimized out>, timeout=0x7f05bc851aa4) at kernel/qeventdispatcher_glib.cpp:166
#3  0x00007f05c02fab12 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f05c02fb51b in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f05c02fb70f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#6  0x00007f05c26c85cb in QEventDispatcherGlib::processEvents (this=0x7f05b0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f05c266fa1b in QEventLoop::exec (this=this@entry=0x7f05bc851c70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#8  0x00007f05c24907ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007f05c13bea27 in ?? () from /usr/lib64/libQt5DBus.so.5
#10 0x00007f05c2491911 in QThreadPrivate::start (arg=0x7f05c142bd80) at thread/qthread_unix.cpp:329
#11 0x00007f05c0cc1eb1 in start_thread () from /lib64/libpthread.so.0
#12 0x00007f05c2112ccf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f05bd756640 (LWP 10771)):
#0  0x00007f05c2107e7f in poll () from /lib64/libc.so.6
#1  0x00007f05c0d07862 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f05c0d0926c in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f05bd966270 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f05c2491911 in QThreadPrivate::start (arg=0x55fabe8c1250) at thread/qthread_unix.cpp:329
#5  0x00007f05c0cc1eb1 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f05c2112ccf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f05bf834840 (LWP 10769)):
[KCrash Handler]
#4  0x0000000000000020 in ?? ()
#5  0x00007f05a0454c93 in QScopedPointerDeleter<KPackage::PackageStructure>::cleanup (pointer=<optimized out>) at /usr/include/qt5/QtCore/qscopedpointer.h:60
#6  QScopedPointer<KPackage::PackageStructure, QScopedPointerDeleter<KPackage::PackageStructure> >::~QScopedPointer (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qscopedpointer.h:107
#7  KPackageTask::~KPackageTask (this=<optimized out>, this=<optimized out>) at /usr/src/debug/knewstuff-5.75.0-1.1.x86_64/src/core/jobs/kpackagejob.cpp:62
#8  KPackageTask::~KPackageTask (this=<optimized out>, this=<optimized out>) at /usr/src/debug/knewstuff-5.75.0-1.1.x86_64/src/core/jobs/kpackagejob.cpp:62
#9  0x00007f05c269ac7e in QObjectPrivate::deleteChildren (this=0x55fabf348260) at kernel/qobject.cpp:2104
#10 0x00007f05c26a5854 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#11 0x00007f05a0455027 in KNSCore::KPackageJob::~KPackageJob (this=<optimized out>, this=<optimized out>) at /usr/src/debug/knewstuff-5.75.0-1.1.x86_64/src/core/jobs/kpackagejob.cpp:131
#12 KNSCore::KPackageJob::~KPackageJob (this=<optimized out>, this=<optimized out>) at /usr/src/debug/knewstuff-5.75.0-1.1.x86_64/src/core/jobs/kpackagejob.cpp:134
#13 0x00007f05c269ce4f in QObject::event (this=0x55fac26b75d0, e=0x55fac2b64620) at kernel/qobject.cpp:1301
#14 0x00007f05c32b414f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55fac26b75d0, e=0x55fac2b64620) at kernel/qapplication.cpp:3630
#15 0x00007f05c267105a in QCoreApplication::notifyInternal2 (receiver=0x55fac26b75d0, event=0x55fac2b64620) at ../../include/QtCore/5.15.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#16 0x00007f05c2673a91 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55fabe8ae6c0) at kernel/qcoreapplication.cpp:1817
#17 0x00007f05c26c8f23 in postEventSourceDispatch (s=0x55fabe97d4f0) at kernel/qeventdispatcher_glib.cpp:277
#18 0x00007f05c02fb2d7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#19 0x00007f05c02fb658 in ?? () from /usr/lib64/libglib-2.0.so.0
#20 0x00007f05c02fb70f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#21 0x00007f05c26c85af in QEventDispatcherGlib::processEvents (this=0x55fabe980ec0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#22 0x00007f05c266fa1b in QEventLoop::exec (this=this@entry=0x7ffdd670faa0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#23 0x00007f05c2677c90 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#24 0x000055fabd588009 in main (argc=<optimized out>, argv=0x7ffdd670fd18) at /usr/src/debug/systemsettings5-5.20.0-1.1.x86_64/app/main.cpp:207
[Inferior 1 (process 10769) detached]

The reporter indicates this bug may be a duplicate of or related to bug 427314.

Possible duplicates by query: bug 427314, bug 417802, bug 413919, bug 410786, bug 404388.

Reported using DrKonqi
Comment 1 Patrick Silva 2020-10-18 11:46:05 UTC
*** Bug 427915 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2020-10-21 14:20:11 UTC
Still crashing in KNSCore::KPackageJob::~KPackageJob() even with Frameworks 5.75. :(
Comment 3 Nate Graham 2020-10-21 14:20:38 UTC
*** Bug 427821 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2020-10-21 14:20:57 UTC
Still crashing in KNSCore::KPackageJob::~KPackageJob() even with Frameworks 5.75. :(
Comment 5 Dan Leinir Turthra Jensen 2020-10-21 14:24:01 UTC
Indeed... i am discovering new and exciting things, and a patch is arriving shortly which i would greatly appreciate if someone who can reproduce the crash would be so kind as to test out for me :)
Comment 6 Bug Janitor Service 2020-10-21 14:26:28 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/knewstuff/-/merge_requests/66
Comment 7 hara75gr 2020-10-22 07:02:35 UTC
Created attachment 132625 [details]
New crash information added by DrKonqi

systemsettings5 (5.20.0) using Qt 5.15.1

- What I was doing when the application crashed:
just downloaded some global themes and it crashed after  I finished

-- Backtrace (Reduced):
#4  0x00007efec98e0c90 in QScopedPointerDeleter<KPackage::PackageStructure>::cleanup (pointer=0x55876d919b40) at /usr/include/qt5/QtCore/qscopedpointer.h:60
#5  QScopedPointer<KPackage::PackageStructure, QScopedPointerDeleter<KPackage::PackageStructure> >::~QScopedPointer (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qscopedpointer.h:107
#6  KPackageTask::~KPackageTask (this=<optimized out>, this=<optimized out>) at /usr/src/debug/knewstuff-5.75.0-1.1.x86_64/src/core/jobs/kpackagejob.cpp:62
#7  KPackageTask::~KPackageTask (this=<optimized out>, this=<optimized out>) at /usr/src/debug/knewstuff-5.75.0-1.1.x86_64/src/core/jobs/kpackagejob.cpp:62
#8  0x00007eff2b59fc7e in QObjectPrivate::deleteChildren (this=0x55876f654570) at kernel/qobject.cpp:2104
Comment 8 Dan Leinir Turthra Jensen 2020-10-22 08:55:00 UTC
Git commit e1917b6a3bc876ef852ef22769fde07943ea3847 by Dan Leinir Turthra Jensen.
Committed on 21/10/2020 at 14:24.
Pushed by leinir into branch 'master'.

Fix double-delete crash in kpackagejob

Don't hang onto a pointer that's already been deleted, as QScopedPointer
will just delete that for us. The semantics of
KPackage::PackageStructures is that someone else /might/ own it, while
the semantics of KPackage::Package is that we definitely own it, so we
need to track the one we don't really know about.

M  +2    -0    src/core/jobs/kpackagejob.cpp

https://invent.kde.org/frameworks/knewstuff/commit/e1917b6a3bc876ef852ef22769fde07943ea3847
Comment 9 jbclark325 2020-10-23 14:41:58 UTC
*** Bug 428055 has been marked as a duplicate of this bug. ***
Comment 10 Joe Harris 2020-10-24 16:01:16 UTC
Created attachment 132687 [details]
New crash information added by DrKonqi

plasma-discover (5.20.1) using Qt 5.15.0

- What I was doing when the application crashed:

14 themes show up everytime under "updates" in Discover. I can't get rid of them. I've tried updating them and when I do Discover crashes. When reopened they are there again.

-- Backtrace (Reduced):
#5  0x00007f07bb744d67 in QScopedPointerDeleter<KPackage::PackageStructure>::cleanup (pointer=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:52
#6  QScopedPointer<KPackage::PackageStructure, QScopedPointerDeleter<KPackage::PackageStructure> >::~QScopedPointer (this=0x5628a2526730, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:107
#7  KPackageTask::~KPackageTask (this=0x5628a25266f0, __in_chrg=<optimized out>) at ./src/core/jobs/kpackagejob.cpp:62
#8  KPackageTask::~KPackageTask (this=0x5628a25266f0, __in_chrg=<optimized out>) at ./src/core/jobs/kpackagejob.cpp:62
#9  0x00007f082f7d6bae in QObjectPrivate::deleteChildren (this=0x5628a27b5b50) at kernel/qobject.cpp:2104
Comment 11 techxgames 2020-10-25 01:59:45 UTC
Created attachment 132703 [details]
New crash information added by DrKonqi

plasma-discover (5.20.1) using Qt 5.15.0

- What I was doing when the application crashed:

I was just updating themes on Discover

Operating System: KDE neon Testing Edition
KDE Plasma Version: 5.20.1
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.0
Kernel Version: 5.8.0-23-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-6500 CPU @ 3.20GHz
Memory: 15.6 GiB of RAM
Graphics Processor: GeForce GTX 1060 6GB/PCIe/SSE2

-- Backtrace (Reduced):
#5  0x00007f96ae0a761e in QScopedPointerDeleter<QObjectData>::cleanup(QObjectData*) (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:52
#6  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer() (this=0x5580805f58e8, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:107
#7  QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:972
#8  0x00007f9634fe25f7 in ComicPackage::~ComicPackage() (this=0x5580805f58e0, __in_chrg=<optimized out>) at ./dataengines/comic/comic_package.h:24
#9  ComicPackage::~ComicPackage() (this=0x5580805f58e0, __in_chrg=<optimized out>) at ./dataengines/comic/comic_package.h:24
Comment 12 Dan Leinir Turthra Jensen 2020-10-26 09:14:25 UTC
It was pointed out to me that the logic i assumed QScopedPointer was using was not incorrect. On Saturday afternoon EU time, i pushed https://invent.kde.org/frameworks/knewstuff/commit/a95e5037b79b648f663f8db7ded6800ec6e49c75 which should hopefully sort it. If it doesn't, i guess we'll just have to leak that pointer and trust KPackage to clean up after itself.

Thank you also to everybody who's been testing this out, since as it happens i have nothing to hand that provokes this crash... (if that sounds like frustration, it's because it kind of is - it's no fun watching something you spent this long on crashing left and right, but it is heartening to have people helping out with the testing of fixes, and seeing the neon dev testing branch working as intended for that purpose!)
Comment 13 Dan Leinir Turthra Jensen 2020-10-26 09:16:32 UTC
(In reply to Dan Leinir Turthra Jensen from comment #12)
> It was pointed out to me that the logic i assumed QScopedPointer was using
> was not incorrect.

(also i can grammar, honest, double negative unintended, though i imagine that's clear from the context anyway ;) )
Comment 14 Nate Graham 2020-10-29 19:14:04 UTC
*** Bug 428370 has been marked as a duplicate of this bug. ***
Comment 15 Nate Graham 2020-11-05 14:06:03 UTC
*** Bug 427786 has been marked as a duplicate of this bug. ***
Comment 16 Nate Graham 2020-11-05 14:06:14 UTC
*** Bug 428505 has been marked as a duplicate of this bug. ***
Comment 17 Nate Graham 2020-11-05 14:06:25 UTC
*** Bug 428576 has been marked as a duplicate of this bug. ***
Comment 18 Nate Graham 2020-11-05 14:06:34 UTC
*** Bug 428622 has been marked as a duplicate of this bug. ***
Comment 19 Nate Graham 2021-03-31 17:35:21 UTC
*** Bug 435153 has been marked as a duplicate of this bug. ***