Bug 418153 - DiscoverNotifier crashes while flatpak packages are updated/installed
Summary: DiscoverNotifier crashes while flatpak packages are updated/installed
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: Notifier (show other bugs)
Version: 5.18.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
: 424071 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-02-24 21:56 UTC by Patrick Silva
Modified: 2020-09-18 21:23 UTC (History)
2 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 2020-02-24 21:56:34 UTC
SUMMARY
kde platform runtime was the only update available, DiscoverNotifier crashed
while Discover installed it. Discover shown the error "Aborted due failure"
but apparently the update was installed because it disappeared from "Update"
page. I ran "flatpak update" and 2 updates was found:
org.freedesktop.Platform.openh264/x86_64/19.08 flathub c0f2ca316dfb
org.kde.Platform.Locale/x86_64/5.14 flathub 07ec4c1b4d3f


SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.18.80
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.1


Thread 6 (Thread 0x7f472a9c3700 (LWP 9318)):
#0  0x00007f4750a84bf9 in __GI___poll (fds=0x56427702cde0, nfds=2, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f474bda05c9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f474bda06dc in g_main_context_iteration ()
    at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f474bda0721 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f474bdc8195 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f474df3d6db in start_thread (arg=0x7f472a9c3700) at pthread_create.c:463
#6  0x00007f4750a9188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f473a0fa700 (LWP 9281)):
#0  0x00007f4750a84bf9 in __GI___poll (fds=0x7f473401c660, nfds=5, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f474bda05c9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f474bda06dc in g_main_context_iteration ()
    at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f47513eb0bc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4734000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f475138a63a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f473a0f9d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f475119b317 in QThread::exec() (this=this@entry=0x7f4751d90da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:536
#6  0x00007f4751b18555 in QDBusConnectionManager::run() (this=0x7f4751d90da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#7  0x00007f475119c7ec in QThreadPrivate::start(void*) (arg=0x7f4751d90da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:342
#8  0x00007f474df3d6db in start_thread (arg=0x7f473a0fa700) at pthread_create.c:463
#9  0x00007f4750a9188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f4742ba3700 (LWP 9280)):
#0  0x00007f4750a84bf9 in __GI___poll (fds=0x7f4742ba2ca8, nfds=1, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f474bb37747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f474bb3936a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f4745778cc0 in QXcbEventQueue::run() (this=0x564276f2a770)
    at qxcbeventqueue.cpp:228
#4  0x00007f475119c7ec in QThreadPrivate::start(void*) (arg=0x564276f2a770)
    at thread/qthread_unix.cpp:342
#5  0x00007f474df3d6db in start_thread (arg=0x7f4742ba3700) at pthread_create.c:463
#6  0x00007f4750a9188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f472a1c2700 (LWP 9319)):
#0  0x00007f4750a84bf9 in __GI___poll (fds=0x564277056240, nfds=2, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f474bda05c9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f474bda0962 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4738d270e6 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f474bdc8195 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f474df3d6db in start_thread (arg=0x7f472a1c2700) at pthread_create.c:463
#6  0x00007f4750a9188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f472bcbf700 (LWP 9317)):
#0  0x00007f4750a84bf9 in __GI___poll (fds=0x7f47240029e0, nfds=1, timeout=9985)
    at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f474bda05c9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f474bda06dc in g_main_context_iteration ()
    at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f47513eb0bc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4724000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f475138a63a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f472bcbeda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f475119b317 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:536
#6  0x00007f475119c7ec in QThreadPrivate::start(void*) (arg=0x564276fd9210)
    at thread/qthread_unix.cpp:342
#7  0x00007f474df3d6db in start_thread (arg=0x7f472bcbf700) at pthread_create.c:463
#8  0x00007f4750a9188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f47544b6800 (LWP 9278)):
#0  0x00007f47509aee97 in __GI_raise (sig=sig@entry=7)
    at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007f4753932d33 in KCrash::defaultCrashHandler(int) (sig=7) at ./src/kcrash.cpp:472
#2  0x00007f47509aef20 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6
#3  0x00007f47513ba0f9 in check_parent_thread(QObject*, QThreadData*, QThreadData*) (parent=parent@entry=0x564276f93d78, parentThreadData=<optimized out>, currentThreadData=<optimized out>) at kernel/qobject.cpp:884
#4  0x00007f47513c5408 in check_parent_thread (currentThreadData=<optimized out>, parentThreadData=<optimized out>, parent=0x564276f93d78) at kernel/qobject.cpp:945
#5  0x00007f47513c5408 in QObject::QObject(QObjectPrivate&, QObject*) (this=0x7f473c005f80, dd=..., parent=0x564276f93d78) at kernel/qobject.cpp:949
#6  0x00007f47511a6bfb in QFutureWatcherBase::QFutureWatcherBase(QObject*) (this=0x7f473c005f80, parent=0x564276f93d78) at thread/qfuturewatcher.cpp:106
#7  0x00007f473929d093 in QFutureWatcher<_GPtrArray*>::QFutureWatcher(QObject*) (_parent=0x564276f93d78, this=0x7f473c005f80)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qfuturewatcher.h:118
#8  0x00007f473929d093 in FlatpakNotifier::loadRemoteUpdates(FlatpakNotifier::Installation*) (this=0x564276f93d78, installation=0x564276f93da0)
    at ./libdiscover/backends/FlatpakBackend/FlatpakNotifier.cpp:112
#9  0x00007f473a99edae in ffi_call_unix64 () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#10 0x00007f473a99e71f in ffi_call () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#11 0x00007f4738a14ced in g_cclosure_marshal_generic_va ()
    at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007f4738a14346 in  () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x00007f4738a2f9ff in g_signal_emit_valist ()
    at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007f4738a3012f in g_signal_emit ()
    at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007f4738d41059 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#16 0x00007f474bda0417 in g_main_context_dispatch ()
    at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f474bda0650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f474bda06dc in g_main_context_iteration ()
    at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f47513eb0bc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x564276f7d5f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#20 0x00007f475138a63a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc1aadd8f0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#21 0x00007f4751393db0 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1400
#22 0x000056427690c7ac in main(int, char**) (argc=1, argv=0x7ffc1aaddb68)
    at /home/stalker/discover/notifier/main.cpp:91
Comment 1 Patrick Silva 2020-03-12 13:44:22 UTC
DiscoverNotifier has just crashed on Arch Linux while Discover was updating nightly Elisa player
installed from KDE apps flatpak repo.

Operating System: Arch Linux 
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Comment 2 nash_g5 2020-06-19 05:45:32 UTC
I am encountering same issue on Kubuntu 20.04

KDE plasma: 5.18.5
Comment 3 Patrick Silva 2020-07-10 19:25:45 UTC
*** Bug 424071 has been marked as a duplicate of this bug. ***
Comment 4 Patrick Silva 2020-09-18 21:23:34 UTC
This crash no longer occurs on Arch (Plasma 5.20 beta) and neon unstable.