Bug 444354 - Discover crashes after attempting to load updates
Summary: Discover crashes after attempting to load updates
Status: RESOLVED DUPLICATE of bug 443745
Alias: None
Product: Discover
Classification: Applications
Component: Updates (offline) (show other bugs)
Version: 5.23.1
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords: drkonqi
: 444353 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-10-25 03:19 UTC by Jason Playne
Modified: 2021-10-25 21:48 UTC (History)
3 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 Jason Playne 2021-10-25 03:19:20 UTC
Application: plasma-discover-update (5.23.1)

Qt Version: 5.15.3
Frameworks Version: 5.87.0
Operating System: Linux 5.14.14-051414-generic x86_64
Windowing System: Wayland
Distribution: KDE neon User - Plasma 25th Anniversary Edition
DrKonqi: 5.23.1 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
When opening discover, it automatically fetches updates (launched from cli, systray notifier or launched from kickoff) and then crashes

The crash can be reproduced every time.

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

[New LWP 40171]
[New LWP 40172]
[New LWP 40174]
[New LWP 40177]
[New LWP 40178]
[New LWP 40193]
[New LWP 40218]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f68e4304aff in __GI___poll (fds=0x7fffd1eeb7f8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7f68deceab80 (LWP 40170))]

Thread 8 (Thread 0x7f689f7fe700 (LWP 40218)):
#0  0x00007f68e4304aff in __GI___poll (fds=0x5594338919c0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f68e2d3f36e in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f68e2d3f4a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f68d5c8299d in  () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007f68e2d68ad1 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f68e3719609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f68e4311293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f6891ccd700 (LWP 40193)):
#0  __GI___libc_read (nbytes=16, buf=0x7f6891ccc810, fd=96) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=96, buf=0x7f6891ccc810, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f68e2d87b2f in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f68e2d3eebe in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f68e2d3f312 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f68e2d3f4a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f68e48d45eb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f6874000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f68e487887b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f6891ccca20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#8  0x00007f68e4692292 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007f68e469342c in QThreadPrivate::start(void*) (arg=0x5594336b2590) at thread/qthread_unix.cpp:329
#10 0x00007f68e3719609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f68e4311293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f689ccc2700 (LWP 40178)):
#0  __GI___libc_read (nbytes=16, buf=0x7f689ccc1810, fd=39) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=39, buf=0x7f689ccc1810, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f68e2d87b2f in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f68e2d3eebe in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f68e2d3f312 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f68e2d3f4a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f68e48d45eb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f688c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f68e487887b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f689ccc1a20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#8  0x00007f68e4692292 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007f68e469342c in QThreadPrivate::start(void*) (arg=0x5594335babc0) at thread/qthread_unix.cpp:329
#10 0x00007f68e3719609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f68e4311293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f689ffff700 (LWP 40177)):
#0  0x00007f68e4304aff in __GI___poll (fds=0x7f6898003da0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f68e2d3f36e in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f68e2d3f4a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f68e48d45eb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f6898000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f68e487887b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f689fffea20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f68e4692292 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f68e469342c in QThreadPrivate::start(void*) (arg=0x55943356cfa0) at thread/qthread_unix.cpp:329
#7  0x00007f68e3719609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f68e4311293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f68d65ed700 (LWP 40174)):
#0  0x00007f68e4304aff in __GI___poll (fds=0x7f68c800ee10, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f68e2d3f36e in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f68e2d3f6f3 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f68e2b48f8a in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f68e2d68ad1 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f68e3719609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f68e4311293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f68d75ef700 (LWP 40172)):
#0  0x00007f68e4304aff in __GI___poll (fds=0x559433465030, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f68e2d3f36e in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f68e2d3f4a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f68e2d3f4f1 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f68e2d68ad1 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f68e3719609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f68e4311293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f68dcecf700 (LWP 40171)):
#0  0x00007f68e2d8c4dd in g_mutex_lock () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f68e2d3e8fa in g_main_context_prepare () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f68e2d3f29b in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f68e2d3f4a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f68e48d45eb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f68d8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f68e487887b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f68dcece9f0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f68e4692292 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f68e27ccf4b in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f68e469342c in QThreadPrivate::start(void*) (arg=0x7f68e2850d80) at thread/qthread_unix.cpp:329
#9  0x00007f68e3719609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f68e4311293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f68deceab80 (LWP 40170)):
[KCrash Handler]
#4  FlatpakBackend::findSource(_FlatpakInstallation*, QString const&) const (this=this@entry=0x559433535010, installation=installation@entry=0x7f68cc00c640, origin=...) at ./libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:113
#5  0x00007f68dc6ad27e in FlatpakBackend::getAppForInstalledRef(_FlatpakInstallation*, _FlatpakInstalledRef*) const (this=0x559433535010, installation=installation@entry=0x7f68cc00c640, ref=0x5594337e8cc0) at ./libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:371
#6  0x00007f68dc6affb0 in FlatpakBackend::<lambda()>::operator() (__closure=0x559433805600, __closure=0x559433805600) at ./libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:1281
#7  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, FlatpakBackend::search(const AbstractResourcesBackend::Filters&)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#8  QtPrivate::Functor<FlatpakBackend::search(const AbstractResourcesBackend::Filters&)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#9  QtPrivate::QFunctorSlotObject<FlatpakBackend::search(const AbstractResourcesBackend::Filters&)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x5594338055f0, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#10 0x00007f68e48a7919 in QObject::event(QEvent*) (this=0x559433535010, e=0x559433d5ed90) at kernel/qobject.cpp:1314
#11 0x00007f68e4879d7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x559433535010, event=0x559433d5ed90) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#12 0x00007f68e487c681 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x559433472450) at kernel/qcoreapplication.cpp:1821
#13 0x00007f68e48d4f77 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x5594334b1720) at kernel/qeventdispatcher_glib.cpp:277
#14 0x00007f68e2d3f17d in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f68e2d3f400 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f68e2d3f4a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f68e48d45d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x559433460450, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#18 0x00007f68e487887b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffd1eeca40, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#19 0x00007f68e4880a34 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#20 0x0000559431990a7f in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./update/main.cpp:39
[Inferior 1 (process 40170) detached]

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

Possible duplicates by query: bug 444183, bug 443745, bug 422855, bug 419597, bug 418815.

Reported using DrKonqi
Comment 1 Jason Playne 2021-10-25 03:20:02 UTC
Before I was able to get DrKonqi to generate back traces I also created https://bugs.kde.org/show_bug.cgi?id=444353 with more information
Comment 2 Jason Playne 2021-10-25 07:41:14 UTC
*** Bug 444353 has been marked as a duplicate of this bug. ***
Comment 3 Tony 2021-10-25 21:04:53 UTC

*** This bug has been marked as a duplicate of bug 444183 ***
Comment 4 Nate Graham 2021-10-25 21:48:54 UTC

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