Bug 428622

Summary: Discover Crashes while updating Themes KDE Neon
Product: [Frameworks and Libraries] frameworks-kpackage Reporter: soulheir <ucanfindmr.nero>
Component: defaultAssignee: Marco Martin <notmart>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aleixpol, nate
Priority: NOR Keywords: drkonqi
Version: 5.75.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description soulheir 2020-11-03 00:12:05 UTC
Application: plasma-discover (5.20.2)
 (Compiled from sources)
Qt Version: 5.15.0
Frameworks Version: 5.75.0
Operating System: Linux 5.4.0-52-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.20

-- Information about the crash:
- What I was doing when the application crashed: Trying to update Discover. Crashes everytime (I can't even finish inputting my password after I press update). If I unselect themes or icons needing updating, Discover will update the rest. I'm submitting this report again after installing libk5 debug packages as requested and provoking tha crash again. This is not fixed on my system. Is there a way to just not have Discover have themes/icons as part of the updates since trying to update them is apparently the only thing that causes the crash?


- Custom settings of the application:
Application is Discover - I have to unselect all themes in order to update.

The crash can be reproduced every time.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault

[New LWP 10726]
[New LWP 10727]
[New LWP 10728]
[New LWP 10740]
[New LWP 10741]
[New LWP 10742]
[New LWP 10743]
[New LWP 10749]
[New LWP 10750]
[New LWP 10973]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fe70d527aff in __GI___poll (fds=0x7ffe0decd6e8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7fe70922b900 (LWP 10724))]

Thread 11 (Thread 0x7fe57dffb700 (LWP 10973)):
#0  0x00007fe70d527aff in __GI___poll (fds=0x7fe6a0236d40, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe70be9c1ae in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe70be9c2e3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe6c960299d in  () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007fe70bec5931 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe70c808609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fe70d534293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fe6c8d09700 (LWP 10750)):
#0  0x00007fe70d527aff in __GI___poll (fds=0x7fe68c2098b0, nfds=1, timeout=60739) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe70be9c1ae in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe70be9c2e3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe70daf1eab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fe68c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fe70da961bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fe6c8d08ca0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fe70d8b4082 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fe70d8b520c in QThreadPrivate::start(void*) (arg=0x562f0de14fe0) at thread/qthread_unix.cpp:342
#7  0x00007fe70c808609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fe70d534293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fe699637700 (LWP 10749)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562f0d572574) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x562f0d572520, cond=0x562f0d572548) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x562f0d572548, mutex=0x562f0d572520) at pthread_cond_wait.c:638
#3  0x00007fe70d8bb10b in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x562f0d572520) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>, mutex=0x562f0dee5ff0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fe70f6c1154 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fe70f6c15c9 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fe70d8b520c in QThreadPrivate::start(void*) (arg=0x562f0dee5f50) at thread/qthread_unix.cpp:342
#8  0x00007fe70c808609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fe70d534293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fe6d0d23700 (LWP 10743)):
#0  0x00007fe70d527aff in __GI___poll (fds=0x7fe6a4124630, nfds=1, timeout=58739) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe70be9c1ae in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe70be9c2e3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe70daf1eab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fe6a4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fe70da961bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fe6d0d22ca0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fe70d8b4082 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fe70d8b520c in QThreadPrivate::start(void*) (arg=0x562f0dfa0af0) at thread/qthread_unix.cpp:342
#7  0x00007fe70c808609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fe70d534293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fe6d17fa700 (LWP 10742)):
#0  __GI___libc_read (nbytes=16, buf=0x7fe6d17f9bd0, fd=46) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=46, buf=0x7fe6d17f9bd0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007fe70bee489f in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe70be9bcfe in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe70be9c152 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe70be9c533 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fe70bbf7eda in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7  0x00007fe70bec5931 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fe70c808609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fe70d534293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fe6d1ffb700 (LWP 10741)):
#0  0x00007fe70d527aff in __GI___poll (fds=0x562f0df27420, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe70be9c1ae in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe70be9c2e3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe70be9c331 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe70bec5931 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe70c808609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fe70d534293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fe6d27fc700 (LWP 10740)):
#0  0x00007fe70d527aff in __GI___poll (fds=0x7fe6b8004630, nfds=1, timeout=9739) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe70be9c1ae in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe70be9c2e3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe70daf1eab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fe6b8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fe70da961bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fe6d27fbca0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fe70d8b4082 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fe70d8b520c in QThreadPrivate::start(void*) (arg=0x562f0d574100) at thread/qthread_unix.cpp:342
#7  0x00007fe70c808609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fe70d534293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fe6f44d6700 (LWP 10728)):
#0  0x00007fe70d527aff in __GI___poll (fds=0x7fe6ec004e80, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe70be9c1ae in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe70be9c2e3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe70daf1eab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fe6ec000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fe70da961bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fe6f44d5c60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fe70d8b4082 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fe70f5fc30a in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fe70d8b520c in QThreadPrivate::start(void*) (arg=0x562f0ddb1810) at thread/qthread_unix.cpp:342
#8  0x00007fe70c808609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fe70d534293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fe705246700 (LWP 10727)):
#0  0x00007fe70d527aff in __GI___poll (fds=0x7fe6fc004a60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe70be9c1ae in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe70be9c2e3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe70daf1eab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fe6fc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fe70da961bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fe705245c80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fe70d8b4082 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fe70e7c26c9 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fe70d8b520c in QThreadPrivate::start(void*) (arg=0x562f0d52b0b0) at thread/qthread_unix.cpp:342
#8  0x00007fe70c808609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fe70d534293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fe706457700 (LWP 10726)):
#0  0x00007fe70d527aff in __GI___poll (fds=0x7fe6f800d030, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe70be9c1ae in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe70be9c2e3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe70daf1eab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fe6f8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fe70da961bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fe706456c70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fe70d8b4082 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fe70f094f2b in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fe70d8b520c in QThreadPrivate::start(void*) (arg=0x7fe70f117d80) at thread/qthread_unix.cpp:342
#8  0x00007fe70c808609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fe70d534293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fe70922b900 (LWP 10724)):
[KCrash Handler]
#4  0x0000000000000000 in  ()
#5  0x00007fe6f03c9d67 in QScopedPointerDeleter<KPackage::PackageStructure>::cleanup(KPackage::PackageStructure*) (pointer=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:52
#6  QScopedPointer<KPackage::PackageStructure, QScopedPointerDeleter<KPackage::PackageStructure> >::~QScopedPointer() (this=0x562f0fb0dc40, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:107
#7  KPackageTask::~KPackageTask() (this=0x562f0fb0dc00, __in_chrg=<optimized out>) at ./src/core/jobs/kpackagejob.cpp:62
#8  KPackageTask::~KPackageTask() (this=0x562f0fb0dc00, __in_chrg=<optimized out>) at ./src/core/jobs/kpackagejob.cpp:62
#9  0x00007fe70dac1bae in QObjectPrivate::deleteChildren() (this=0x562f0fba6f70) at kernel/qobject.cpp:2104
#10 0x00007fe70dacc5d6 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#11 0x00007fe6f03c960d in KNSCore::KPackageJob::~KPackageJob() (this=0x562f0fdb7200, __in_chrg=<optimized out>) at ./src/core/jobs/kpackagejob.cpp:131
#12 0x00007fe70dac4ec3 in QObject::event(QEvent*) (this=0x562f0fdb7200, e=0x562f0fc552b0) at kernel/qobject.cpp:1301
#13 0x00007fe70eb3bcc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x562f0d227980, receiver=receiver@entry=0x562f0fdb7200, e=e@entry=0x562f0fc552b0) at kernel/qapplication.cpp:3671
#14 0x00007fe70eb44c70 in QApplication::notify(QObject*, QEvent*) (this=0x7ffe0dece610, receiver=0x562f0fdb7200, e=0x562f0fc552b0) at kernel/qapplication.cpp:3417
#15 0x00007fe70da976aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x562f0fdb7200, event=0x562f0fc552b0) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#16 0x00007fe70da99fa1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x562f0d220980) at kernel/qcoreapplication.cpp:1815
#17 0x00007fe70daf2837 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x562f0d2e7860) at kernel/qeventdispatcher_glib.cpp:277
#18 0x00007fe70be9bfbd in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007fe70be9c240 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fe70be9c2e3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fe70daf1e92 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x562f0d2f13e0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#22 0x00007fe70da961bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe0dece530, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#23 0x00007fe70da9e354 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#24 0x0000562f0c96b5c7 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./discover/main.cpp:171
[Inferior 1 (process 10724) detached]

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

Possible duplicates by query: bug 428505, bug 427821, bug 426732, bug 410786, bug 400198.

Reported using DrKonqi
Comment 1 Nate Graham 2020-11-04 19:31:24 UTC
QScopedPointerDeleter<KPackage::PackageStructure>::cleanup(KPackage::PackageStructure*) (pointer=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:52
#6  QScopedPointer<KPackage::PackageStructure, QScopedPointerDeleter<KPackage::PackageStructure> >::~QScopedPointer() (this=0x562f0fb0dc40, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:107
#7  KPackageTask::~KPackageTask() (this=0x562f0fb0dc00, __in_chrg=<optimized out>) at ./src/core/jobs/kpackagejob.cpp:62
#8  KPackageTask::~KPackageTask() (this=0x562f0fb0dc00, __in_chrg=<optimized out>) at ./src/core/jobs/kpackagejob.cpp:62
#
Comment 2 Nate Graham 2020-11-04 19:32:43 UTC

*** This bug has been marked as a duplicate of bug 427786 ***
Comment 3 Nate Graham 2020-11-05 14:06:34 UTC

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