Bug 427786 - Discover application crash while updating
Summary: Discover application crash while updating
Status: RESOLVED DUPLICATE of bug 427910
Alias: None
Product: frameworks-kpackage
Classification: Frameworks and Libraries
Component: default (show other bugs)
Version: 5.75.0
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-10-16 00:40 UTC by admin
Modified: 2020-11-05 14:06 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description admin 2020-10-16 00:40:03 UTC
Application: plasma-discover (5.20.0)

Qt Version: 5.15.0
Frameworks Version: 5.75.0
Operating System: Linux 5.8.15-xanmod1 x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.20

-- Information about the crash:
- What I was doing when the application crashed:
I was just trying to update the addons from the Discover application, like themes fonts and cursors.
It suddently crashed in the middle process of the update. Also maybe relevant to the situation, I don't know why really but I had previously notifications errors by saying some files were not found while updating before this update.
- Custom settings of the application:
No custom settings for the application.

The crash can be reproduced every time.

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

[New LWP 68178]
[New LWP 68179]
[New LWP 68180]
[New LWP 68187]
[New LWP 68197]
[New LWP 68198]
[New LWP 68199]
[New LWP 68200]
[New LWP 68254]
[New LWP 68256]
[New LWP 68432]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f96480f6aff in __GI___poll (fds=0x7fff3f2470a8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f9643dfa900 (LWP 68177))]

Thread 12 (Thread 0x7f94e77ee700 (LWP 68432)):
#0  0x00007f96480f6b0e in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9646a6b1ae in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9646a6b2e3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f95fc5d499d in  () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007f9646a94931 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f96473d7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f9648103293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f95e35ff700 (LWP 68256)):
#0  __GI___libc_read (nbytes=16, buf=0x7f95e35fea90, fd=118) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=118, buf=0x7f95e35fea90, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f9646ab389f in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9646a6acfe in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9646a6b152 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9646a6b2e3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f96486c0eab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f95cc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f96486651bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f95e35feca0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#8  0x00007f9648483082 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007f964848420c in QThreadPrivate::start(void*) (arg=0x55d3b41c86f0) at thread/qthread_unix.cpp:342
#10 0x00007f96473d7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f9648103293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f95fcdea700 (LWP 68254)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d3b3a5f374) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d3b3a5f320, cond=0x55d3b3a5f348) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55d3b3a5f348, mutex=0x55d3b3a5f320) at pthread_cond_wait.c:638
#3  0x00007f964848a10b in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55d3b3a5f320) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>, mutex=0x55d3b3a5f290, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f964a290154 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f964a2905c9 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f964848420c in QThreadPrivate::start(void*) (arg=0x55d3b3a5f1f0) at thread/qthread_unix.cpp:342
#8  0x00007f96473d7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f9648103293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f95fe7fc700 (LWP 68200)):
#0  __GI___libc_read (nbytes=16, buf=0x7f95fe7fba90, fd=59) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=59, buf=0x7f95fe7fba90, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f9646ab389f in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9646a6acfe in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9646a6b152 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9646a6b2e3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f96486c0eab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f95f0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f96486651bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f95fe7fbca0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#8  0x00007f9648483082 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007f964848420c in QThreadPrivate::start(void*) (arg=0x55d3b2e7ed80) at thread/qthread_unix.cpp:342
#10 0x00007f96473d7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f9648103293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f95feffd700 (LWP 68199)):
#0  __GI___libc_read (nbytes=16, buf=0x7f95feffcbd0, fd=56) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=56, buf=0x7f95feffcbd0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f9646ab389f in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9646a6acfe in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9646a6b152 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9646a6b533 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f96467c6eda in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7  0x00007f9646a94931 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f96473d7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f9648103293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f95ff7fe700 (LWP 68198)):
#0  0x00007f96480f6aff in __GI___poll (fds=0x55d3b2ecc890, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9646a6b1ae in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9646a6b2e3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9646a6b331 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9646a94931 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f96473d7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f9648103293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f961ceb3700 (LWP 68197)):
#0  0x00007f9646ab8378 in g_mutex_unlock () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9646a6ad7d in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9646a6b240 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9646a6b2e3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f96486c0eab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f95f8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f96486651bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f961ceb2ca0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f9648483082 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f964848420c in QThreadPrivate::start(void*) (arg=0x55d3b2dfe420) at thread/qthread_unix.cpp:342
#8  0x00007f96473d7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f9648103293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f962f71b700 (LWP 68187)):
#0  0x00007f9646ab8368 in g_mutex_unlock () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9646a6a721 in g_main_context_prepare () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9646a6b0db in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9646a6b2e3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f96486c0eab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f9628000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f96486651bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f962f71ac60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f9648483082 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f964a1cb30a in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f964848420c in QThreadPrivate::start(void*) (arg=0x55d3b2e34730) at thread/qthread_unix.cpp:342
#9  0x00007f96473d7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f9648103293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f9640da5700 (LWP 68180)):
#0  0x00007f9646a6a666 in g_main_context_prepare () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9646a6b0db in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9646a6b2e3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f96486c0eab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f9638000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f96486651bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f9640da4c80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f9648483082 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f96493916c9 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f964848420c in QThreadPrivate::start(void*) (arg=0x55d3b29e6010) at thread/qthread_unix.cpp:342
#8  0x00007f96473d7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f9648103293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f9641fb6700 (LWP 68179)):
#0  0x00007f9646a3aaf8 in g_ptr_array_set_size () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9646a6a62e in g_main_context_prepare () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9646a6b0db in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9646a6b2e3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f96486c0eab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f9634000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f96486651bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f9641fb5c70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f9648483082 in QThread::exec() (this=this@entry=0x7f9649ce6d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f9649c63f2b in QDBusConnectionManager::run() (this=0x7f9649ce6d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#8  0x00007f964848420c in QThreadPrivate::start(void*) (arg=0x7f9649ce6d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:342
#9  0x00007f96473d7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f9648103293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f9643179700 (LWP 68178)):
#0  0x00007f96480f6aff in __GI___poll (fds=fds@entry=0x7f9643178ba8, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f964695cc1a in poll (__timeout=-1, __nfds=1, __fds=0x7f9643178ba8) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x55d3b289b0a0, cond=cond@entry=0x55d3b289b0e0, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:480
#3  0x00007f964695e90a in xcb_wait_for_event (c=c@entry=0x55d3b289b0a0) at ../../src/xcb_in.c:697
#4  0x00007f964373e978 in QXcbEventQueue::run() (this=0x55d3b2892f40) at qxcbeventqueue.cpp:228
#5  0x00007f964848420c in QThreadPrivate::start(void*) (arg=0x55d3b2892f40) at thread/qthread_unix.cpp:342
#6  0x00007f96473d7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f9648103293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f9643dfa900 (LWP 68177)):
[KCrash Handler]
#4  0x00007f9500000031 in  ()
#5  0x00007f961cfc8d67 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=0x55d3b58a7ac0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:107
#7  KPackageTask::~KPackageTask() (this=0x55d3b58a7a80, __in_chrg=<optimized out>) at ./src/core/jobs/kpackagejob.cpp:62
#8  KPackageTask::~KPackageTask() (this=0x55d3b58a7a80, __in_chrg=<optimized out>) at ./src/core/jobs/kpackagejob.cpp:62
#9  0x00007f9648690bae in QObjectPrivate::deleteChildren() (this=0x55d3b58aa400) at kernel/qobject.cpp:2104
#10 0x00007f964869b5d6 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#11 0x00007f961cfc860d in KNSCore::KPackageJob::~KPackageJob() (this=0x55d3b361b120, __in_chrg=<optimized out>) at ./src/core/jobs/kpackagejob.cpp:131
#12 0x00007f9648693ec3 in QObject::event(QEvent*) (this=0x55d3b361b120, e=0x55d3b58cb150) at kernel/qobject.cpp:1301
#13 0x00007f964970acc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55d3b2887980, receiver=receiver@entry=0x55d3b361b120, e=e@entry=0x55d3b58cb150) at kernel/qapplication.cpp:3671
#14 0x00007f9649713c70 in QApplication::notify(QObject*, QEvent*) (this=0x7fff3f2480c0, receiver=0x55d3b361b120, e=0x55d3b58cb150) at kernel/qapplication.cpp:3417
#15 0x00007f96486666aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55d3b361b120, event=0x55d3b58cb150) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#16 0x00007f9648668fa1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x55d3b2880980) at kernel/qcoreapplication.cpp:1815
#17 0x00007f96486c1837 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55d3b2949b10) at kernel/qeventdispatcher_glib.cpp:277
#18 0x00007f9646a6afbd in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f9646a6b240 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f9646a6b2e3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f96486c0e92 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55d3b2953400, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#22 0x00007f96486651bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff3f247fe0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#23 0x00007f964866d354 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#24 0x000055d3b19495c7 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./discover/main.cpp:171
[Inferior 1 (process 68177) detached]

Possible duplicates by query: bug 426732, bug 410786, bug 400198, bug 379388, bug 224229.

Reported using DrKonqi
Comment 1 Nate Graham 2020-10-16 18:31:50 UTC
Crashing in KPackage, from KNS.
Comment 2 admin 2020-10-16 18:53:10 UTC
I'm not able to reproduce the crash anymore since the last upgrade, I think it has been fixed.
Thanks.
Comment 3 admin 2020-10-16 18:56:15 UTC
Ops sorry, apparently it is still crashing after the next upgrade.
The crash comes from the framework as you said, but I'll need to get a deeper look with gdb to give more details for fixing it.
Comment 4 Nate Graham 2020-11-04 19:32:28 UTC
*** Bug 428576 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2020-11-04 19:32:34 UTC
*** Bug 428505 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2020-11-04 19:32:43 UTC
*** Bug 428622 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2020-11-04 19:34:44 UTC
Might be a thing we fixed in the upcoming 5.76; let me find out...
Comment 8 Nate Graham 2020-11-05 14:06:03 UTC

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