Bug 444183

Summary: Discover crash on loading updates
Product: [Applications] Discover Reporter: bart.sen
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aleixpol, jason, nate
Priority: NOR    
Version: 5.23.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description bart.sen 2021-10-21 10:13:38 UTC
SUMMARY
Auto-generated bug report:
Application: plasma-discover (5.23.1)

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

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

The crash can be reproduced every time.

-- Backtrace:
A useful backtrace could not be generated


STEPS TO REPRODUCE
1. Open Discover, either as an application or from the Update Notifier.

OBSERVED RESULT
1. Discover will start loading information about new updates.
   The GUI freezes, Dr Konqi is started, and the application closes.
2. When offline, Discover will open, attempt loading updates, then freeze.

EXPECTED RESULT
Discover opens normally, showing the available updates when done refreshing them.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.23.1
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Logs shown when running `plasma-discover` from a terminal:
kf.kirigami: Units.devicePixelRatio is deprecated (since 5.86 ): This returns 1 when using Qt HiDPI scaling.
do not add a source twice QSharedPointer(0x55651ce5a8f0) 0x55651c5152d0
adding empty sources model QStandardItemModel(0x55651d16cdb0)
org.kde.plasma.libdiscover: Couldn't find a category for  "fwupd-backend"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/PrivateActionToolButton.qml:74:5: QML Binding: Binding loop detected for property "value"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/RefreshableScrollView.qml:175:13: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

took really long to fetch KNSBackend(0x55651cd42650, name = "/usr/share/knsrcfiles/systemmonitor-presets.knsrc")
took really long to fetch KNSBackend(0x55651cd40f60, name = "/usr/share/knsrcfiles/window-decorations.knsrc")
took really long to fetch KNSBackend(0x55651cdd5060, name = "/usr/share/knsrcfiles/kwineffect.knsrc")
took really long to fetch KNSBackend(0x55651cdd47d0, name = "/usr/share/knsrcfiles/kwinswitcher.knsrc")
took really long to fetch KNSBackend(0x55651cddd5a0, name = "/usr/share/knsrcfiles/krunner.knsrc")
took really long to fetch KNSBackend(0x55651cdcd170, name = "/usr/share/knsrcfiles/comic.knsrc")
took really long to fetch KNSBackend(0x55651cddc4a0, name = "/usr/share/knsrcfiles/icons.knsrc")
took really long to fetch KNSBackend(0x55651cdd6690, name = "/usr/share/knsrcfiles/systemmonitor-faces.knsrc")
took really long to fetch KNSBackend(0x55651cde16a0, name = "/usr/share/knsrcfiles/plasmoids.knsrc")
took really long to fetch KNSBackend(0x55651cde6d20, name = "/usr/share/knsrcfiles/wallpaper-mobile.knsrc")
took really long to fetch KNSBackend(0x55651cde75d0, name = "/usr/share/knsrcfiles/xcursor.knsrc")
took really long to fetch KNSBackend(0x55651cdecef0, name = "/usr/share/knsrcfiles/colorschemes.knsrc")
took really long to fetch KNSBackend(0x55651cdff520, name = "/usr/share/knsrcfiles/sddmtheme.knsrc")
took really long to fetch KNSBackend(0x55651cdf62d0, name = "/usr/share/knsrcfiles/wallpaper.knsrc")
took really long to fetch KNSBackend(0x55651cdfb3a0, name = "/usr/share/knsrcfiles/wallpaperplugin.knsrc")
took really long to fetch KNSBackend(0x55651ce0a170, name = "/usr/share/knsrcfiles/gtk_themes.knsrc")
took really long to fetch KNSBackend(0x55651cdffc70, name = "/usr/share/knsrcfiles/kwinscripts.knsrc")
took really long to fetch KNSBackend(0x55651ce08d70, name = "/usr/share/knsrcfiles/konsole.knsrc")
took really long to fetch KNSBackend(0x55651ce0f600, name = "/usr/share/knsrcfiles/ksplash.knsrc")
took really long to fetch KNSBackend(0x55651ce14eb0, name = "/usr/share/knsrcfiles/plasma-systemmonitor.knsrc")
took really long to fetch KNSBackend(0x55651ce11530, name = "/usr/share/knsrcfiles/plymouth.knsrc")
took really long to fetch KNSBackend(0x55651ce17920, name = "/usr/share/knsrcfiles/lookandfeel.knsrc")
took really long to fetch KNSBackend(0x55651ce11610, name = "/usr/share/knsrcfiles/servicemenu.knsrc")
took really long to fetch KNSBackend(0x55651ce19020, name = "/usr/share/knsrcfiles/plasma-themes.knsrc")
took really long to fetch KNSBackend(0x55651ce28250, name = "/usr/share/knsrcfiles/aurorae.knsrc")
took really long to fetch FlatpakBackend(0x55651ce344c0)
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = plasma-discover path = /usr/bin pid = 6797
KCrash: Arguments: /usr/bin/plasma-discover 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi

[1]+  Stopped                 plasma-discover
Comment 1 Nate Graham 2021-10-21 14:27:24 UTC
Can you please attach a backtrace of the crash? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Comment 2 bart.sen 2021-10-21 14:30:30 UTC
Generated backtrace:

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

[New LWP 26954]
[New LWP 26955]
[New LWP 26956]
[New LWP 26957]
[New LWP 26958]
[New LWP 26959]
[New LWP 26960]
[New LWP 26965]
[New LWP 26966]
[New LWP 26967]
[New LWP 26968]
[New LWP 26983]
[New LWP 26987]
[New LWP 28091]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fba997b4aff in __GI___poll (fds=0x7ffcdb4fe578, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7fba946e0bc0 (LWP 26953))]

Thread 15 (Thread 0x7fb9e3fff700 (LWP 28091)):
#0  0x00007fba997b4aff in __GI___poll (fds=0x561df3bf3fe0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fba984cd36e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fba984cd4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fba7409399d in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007fba984f6ad1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fba98edd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fba997c1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7fba0ccde700 (LWP 26987)):
#0  0x00007fba9851a4dd in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fba984cc8fa in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fba984cd29b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fba984cd4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fba99d845eb in QEventDispatcherGlib::processEvents (this=0x7fb9dc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fba99d2887b in QEventLoop::exec (this=this@entry=0x7fba0ccdd9e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007fba99b42292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fba99b4342c in QThreadPrivate::start (arg=0x561df35f0650) at thread/qthread_unix.cpp:329
#8  0x00007fba98edd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fba997c1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7fba3d3f9700 (LWP 26983)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561df2f0e3b0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561df2f0e360, cond=0x561df2f0e388) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x561df2f0e388, mutex=0x561df2f0e360) at pthread_cond_wait.c:638
#3  0x00007fba99b4959b in QWaitConditionPrivate::wait (deadline=..., this=0x561df2f0e360) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x561df2e2ff00, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fba9b90fbe4 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fba9b910059 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fba99b4342c in QThreadPrivate::start (arg=0x561df2e2fe60) at thread/qthread_unix.cpp:329
#8  0x00007fba98edd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fba997c1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7fba75ffb700 (LWP 26968)):
#0  0x00007fba997b4aff in __GI___poll (fds=0x7fba400228f0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fba984cd36e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fba984cd4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fba99d845eb in QEventDispatcherGlib::processEvents (this=0x7fba40000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fba99d2887b in QEventLoop::exec (this=this@entry=0x7fba75ffa9e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fba99b42292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fba99b4342c in QThreadPrivate::start (arg=0x561df2bbc340) at thread/qthread_unix.cpp:329
#7  0x00007fba98edd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fba997c1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7fba767fc700 (LWP 26967)):
#0  __GI___libc_read (nbytes=16, buf=0x7fba767fb910, fd=24) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=24, buf=0x7fba767fb910, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007fba98515b2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fba984ccebe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fba984cd312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fba984cd6f3 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fba980e0f8a in ?? () from /lib/x86_64-linux-gnu/libgio-2.0.so.0
#7  0x00007fba984f6ad1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fba98edd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fba997c1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fba76ffd700 (LWP 26966)):
#0  0x00007fba997b4aff in __GI___poll (fds=0x561df2b80880, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fba984cd36e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fba984cd4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fba984cd4f1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fba984f6ad1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fba98edd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fba997c1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fba777fe700 (LWP 26965)):
#0  0x00007fba997b4aff in __GI___poll (fds=0x7fba54004a30, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fba984cd36e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fba984cd4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fba99d845eb in QEventDispatcherGlib::processEvents (this=0x7fba54000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fba99d2887b in QEventLoop::exec (this=this@entry=0x7fba777fd9e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fba99b42292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fba99b4342c in QThreadPrivate::start (arg=0x561df2b47b70) at thread/qthread_unix.cpp:329
#7  0x00007fba98edd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fba997c1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fba896e9700 (LWP 26960)):
#0  0x00007fba984c98ed in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fba984cb345 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fba984cc82b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fba984cd29b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fba984cd4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fba99d845eb in QEventDispatcherGlib::processEvents (this=0x7fba60000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007fba99d2887b in QEventLoop::exec (this=this@entry=0x7fba896e89c0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007fba99b42292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007fba9a9f5549 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007fba99b4342c in QThreadPrivate::start (arg=0x561df24ee0c0) at thread/qthread_unix.cpp:329
#10 0x00007fba98edd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007fba997c1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fba89eea700 (LWP 26959)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561df2575cf8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561df2575ca8, cond=0x561df2575cd0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x561df2575cd0, mutex=0x561df2575ca8) at pthread_cond_wait.c:638
#3  0x00007fba8a833e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fba8a833a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fba98edd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fba997c1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fba8a6eb700 (LWP 26958)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561df2575cf8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561df2575ca8, cond=0x561df2575cd0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x561df2575cd0, mutex=0x561df2575ca8) at pthread_cond_wait.c:638
#3  0x00007fba8a833e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fba8a833a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fba98edd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fba997c1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fba90b5e700 (LWP 26957)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561df2575cf8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561df2575ca8, cond=0x561df2575cd0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x561df2575cd0, mutex=0x561df2575ca8) at pthread_cond_wait.c:638
#3  0x00007fba8a833e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fba8a833a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fba98edd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fba997c1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fba9135f700 (LWP 26956)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561df2575cf8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561df2575ca8, cond=0x561df2575cd0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x561df2575cd0, mutex=0x561df2575ca8) at pthread_cond_wait.c:638
#3  0x00007fba8a833e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fba8a833a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fba98edd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fba997c1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fba92b09700 (LWP 26955)):
#0  0x00007fba9851a4dd in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fba984cc8fa in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fba984cd29b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fba984cd4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fba99d845eb in QEventDispatcherGlib::processEvents (this=0x7fba84000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fba99d2887b in QEventLoop::exec (this=this@entry=0x7fba92b089b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007fba99b42292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fba9ac2af4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fba99b4342c in QThreadPrivate::start (arg=0x7fba9acaed80) at thread/qthread_unix.cpp:329
#9  0x00007fba98edd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007fba997c1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fba93b70700 (LWP 26954)):
#0  0x00007fba997b4aff in __GI___poll (fds=0x7fba93b6f8e8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fba98f24c1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fba98f2690a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fba942b9e88 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fba99b4342c in QThreadPrivate::start (arg=0x561df2224470) at thread/qthread_unix.cpp:329
#5  0x00007fba98edd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fba997c1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fba946e0bc0 (LWP 26953)):
[KCrash Handler]
#4  0x00007fba7470a358 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/flatpak-backend.so
#5  0x00007fba7471027e in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/flatpak-backend.so
#6  0x00007fba74712fb0 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/flatpak-backend.so
#7  0x00007fba99d57919 in QObject::event (this=0x561df2c3eb90, e=0x561df328fc50) at kernel/qobject.cpp:1314
#8  0x00007fba9af1cdc3 in QApplicationPrivate::notify_helper (this=this@entry=0x561df2211290, receiver=receiver@entry=0x561df2c3eb90, e=e@entry=0x561df328fc50) at kernel/qapplication.cpp:3632
#9  0x00007fba9af25bb8 in QApplication::notify (this=0x7ffcdb5001c0, receiver=0x561df2c3eb90, e=0x561df328fc50) at kernel/qapplication.cpp:3156
#10 0x00007fba99d29d7a in QCoreApplication::notifyInternal2 (receiver=0x561df2c3eb90, event=0x561df328fc50) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#11 0x00007fba99d2c681 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x561df221d6d0) at kernel/qcoreapplication.cpp:1821
#12 0x00007fba99d84f77 in postEventSourceDispatch (s=0x561df22fc1a0) at kernel/qeventdispatcher_glib.cpp:277
#13 0x00007fba984cd17d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007fba984cd400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007fba984cd4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007fba99d845d2 in QEventDispatcherGlib::processEvents (this=0x561df22fb9a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#17 0x00007fba99d2887b in QEventLoop::exec (this=this@entry=0x7ffcdb5000e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#18 0x00007fba99d30a34 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#19 0x0000561df09035b4 in main (argc=<optimized out>, argv=<optimized out>) at ./discover/main.cpp:213
[Inferior 1 (process 26953) detached]
Comment 3 Nate Graham 2021-10-21 14:35:33 UTC
Thanks! Unfortunately the backtrace is incomplete and missing debug symbols that we need to figure out exactly what's going wrong:


#4  0x00007fba7470a358 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/flatpak-backend.so
#5  0x00007fba7471027e in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/flatpak-backend.so
#6  0x00007fba74712fb0 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/flatpak-backend.so


Could you please install debug symbols for Discover's flatpak backend backage, reproduce it, and attach a new symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Thanks again!
Comment 4 bart.sen 2021-10-21 15:01:10 UTC
Before I generated the backtrace, I have installed Debug Symbols using KDE Bugtracker's Debug Symbols Installer. When trying again, it displays an error saying either something went wrong, or the Debug Symbols were already installed.

By searching through some APT packages, I was able to find Debug Symbols for most of the blanks in the backtrace. Here is the new backtrace:

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

[New LWP 29332]
[New LWP 29333]
[New LWP 29334]
[New LWP 29335]
[New LWP 29336]
[New LWP 29337]
[New LWP 29338]
[New LWP 29343]
[New LWP 29344]
[New LWP 29345]
[New LWP 29346]
[New LWP 29361]
[New LWP 29363]
[New LWP 29377]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fdf796cfaff in __GI___poll (fds=0x7ffe246383f8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7fdf745fbbc0 (LWP 29331))]

Thread 15 (Thread 0x7fdefdffc700 (LWP 29377)):
#0  0x00007fdf796cfaff in __GI___poll (fds=0x55ee73b74dc0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fdf783e836e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x55ee73b74dc0, timeout=<optimized out>, context=0x55ee73b6cd20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x55ee73b6cd20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fdf783e84a3 in g_main_context_iteration (context=0x55ee73b6cd20, may_block=1) at ../../../glib/gmain.c:4108
#4  0x00007fdf4c04799d in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#5  0x00007fdf78411ad1 in g_thread_proxy (data=0x7fdec3ed4920) at ../../../glib/gthread.c:807
#6  0x00007fdf78df8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fdf796dc293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7fdf34ffd700 (LWP 29363)):
#0  0x00007fdf796cfaff in __GI___poll (fds=0x7fdeb800b190, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fdf783e836e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fdeb800b190, timeout=<optimized out>, context=0x7fdeb8000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fdeb8000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fdf783e84a3 in g_main_context_iteration (context=0x7fdeb8000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fdf79c9f5eb in QEventDispatcherGlib::processEvents (this=0x7fdeb8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fdf79c4387b in QEventLoop::exec (this=this@entry=0x7fdf34ffc9e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007fdf79a5d292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fdf79a5e42c in QThreadPrivate::start (arg=0x55ee72855910) at thread/qthread_unix.cpp:329
#8  0x00007fdf78df8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fdf796dc293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7fdf3d530700 (LWP 29361)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55ee72ef3c34) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55ee72ef3be0, cond=0x55ee72ef3c08) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55ee72ef3c08, mutex=0x55ee72ef3be0) at pthread_cond_wait.c:638
#3  0x00007fdf79a6459b in QWaitConditionPrivate::wait (deadline=..., this=0x55ee72ef3be0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55ee72e15a80, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fdf7b82abe4 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fdf7b82b059 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fdf79a5e42c in QThreadPrivate::start (arg=0x55ee72e159e0) at thread/qthread_unix.cpp:329
#8  0x00007fdf78df8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fdf796dc293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7fdf4dffb700 (LWP 29346)):
#0  0x00007fdf784354dd in g_mutex_lock (mutex=mutex@entry=0x7fdf18000c20) at ../../../glib/gthread-posix.c:1481
#1  0x00007fdf783e8270 in g_main_context_iterate (context=context@entry=0x7fdf18000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4014
#2  0x00007fdf783e84a3 in g_main_context_iteration (context=0x7fdf18000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#3  0x00007fdf79c9f5eb in QEventDispatcherGlib::processEvents (this=0x7fdf18000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fdf79c4387b in QEventLoop::exec (this=this@entry=0x7fdf4dffa9e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fdf79a5d292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fdf79a5e42c in QThreadPrivate::start (arg=0x55ee72ba75c0) at thread/qthread_unix.cpp:329
#7  0x00007fdf78df8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007fdf796dc293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7fdf4e7fc700 (LWP 29345)):
#0  0x00007fdf796cfaff in __GI___poll (fds=0x55ee72b80cf0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fdf783e836e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x55ee72b80cf0, timeout=<optimized out>, context=0x55ee72b7e1b0) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=0x55ee72b7e1b0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fdf783e86f3 in g_main_loop_run (loop=0x55ee72b7e2a0) at ../../../glib/gmain.c:4241
#4  0x00007fdf77ffbf8a in gdbus_shared_thread_func (user_data=0x55ee72b80fd0) at ../../../gio/gdbusprivate.c:279
#5  0x00007fdf78411ad1 in g_thread_proxy (data=0x55ee72b78240) at ../../../glib/gthread.c:807
#6  0x00007fdf78df8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fdf796dc293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fdf4effd700 (LWP 29344)):
#0  0x00007fdf796cfaff in __GI___poll (fds=0x55ee72b6b930, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fdf783e836e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x55ee72b6b930, timeout=<optimized out>, context=0x55ee72b6e530) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x55ee72b6e530, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fdf783e84a3 in g_main_context_iteration (context=0x55ee72b6e530, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fdf783e84f1 in glib_worker_main (data=<optimized out>) at ../../../glib/gmain.c:5996
#5  0x00007fdf78411ad1 in g_thread_proxy (data=0x55ee721fbc00) at ../../../glib/gthread.c:807
#6  0x00007fdf78df8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fdf796dc293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fdf4f7fe700 (LWP 29343)):
#0  0x00007fdf796cfaff in __GI___poll (fds=0x7fdf2c004a30, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fdf783e836e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fdf2c004a30, timeout=<optimized out>, context=0x7fdf2c000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fdf2c000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fdf783e84a3 in g_main_context_iteration (context=0x7fdf2c000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fdf79c9f5eb in QEventDispatcherGlib::processEvents (this=0x7fdf2c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fdf79c4387b in QEventLoop::exec (this=this@entry=0x7fdf4f7fd9e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007fdf79a5d292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fdf79a5e42c in QThreadPrivate::start (arg=0x55ee72b34d60) at thread/qthread_unix.cpp:329
#8  0x00007fdf78df8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fdf796dc293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fdf696e9700 (LWP 29338)):
#0  0x00007fdf783e7b24 in g_main_context_query (context=context@entry=0x7fdf40000c20, max_priority=2147483647, timeout=timeout@entry=0x7fdf696e8884, fds=fds@entry=0x7fdf40004a60, n_fds=n_fds@entry=1) at ../../../glib/gmain.c:3751
#1  0x00007fdf783e82e8 in g_main_context_iterate (context=context@entry=0x7fdf40000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4029
#2  0x00007fdf783e84a3 in g_main_context_iteration (context=0x7fdf40000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#3  0x00007fdf79c9f5eb in QEventDispatcherGlib::processEvents (this=0x7fdf40000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fdf79c4387b in QEventLoop::exec (this=this@entry=0x7fdf696e89c0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fdf79a5d292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fdf7a910549 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fdf79a5e42c in QThreadPrivate::start (arg=0x55ee723726d0) at thread/qthread_unix.cpp:329
#8  0x00007fdf78df8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fdf796dc293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fdf69eea700 (LWP 29337)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55ee72561458) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55ee72561408, cond=0x55ee72561430) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55ee72561430, mutex=0x55ee72561408) at pthread_cond_wait.c:638
#3  0x00007fdf6a833e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fdf6a833a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fdf78df8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fdf796dc293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fdf6a6eb700 (LWP 29336)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55ee72561458) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55ee72561408, cond=0x55ee72561430) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55ee72561430, mutex=0x55ee72561408) at pthread_cond_wait.c:638
#3  0x00007fdf6a833e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fdf6a833a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fdf78df8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fdf796dc293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fdf70a79700 (LWP 29335)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55ee72561458) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55ee72561408, cond=0x55ee72561430) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55ee72561430, mutex=0x55ee72561408) at pthread_cond_wait.c:638
#3  0x00007fdf6a833e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fdf6a833a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fdf78df8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fdf796dc293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fdf7127a700 (LWP 29334)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55ee72561458) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55ee72561408, cond=0x55ee72561430) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55ee72561430, mutex=0x55ee72561408) at pthread_cond_wait.c:638
#3  0x00007fdf6a833e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fdf6a833a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fdf78df8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fdf796dc293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fdf72a24700 (LWP 29333)):
#0  0x00007fdf796cfaff in __GI___poll (fds=0x7fdf64012310, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fdf783e836e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fdf64012310, timeout=<optimized out>, context=0x7fdf64000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fdf64000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fdf783e84a3 in g_main_context_iteration (context=0x7fdf64000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fdf79c9f5eb in QEventDispatcherGlib::processEvents (this=0x7fdf64000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fdf79c4387b in QEventLoop::exec (this=this@entry=0x7fdf72a239b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007fdf79a5d292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fdf7ab45f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fdf79a5e42c in QThreadPrivate::start (arg=0x7fdf7abc9d80) at thread/qthread_unix.cpp:329
#9  0x00007fdf78df8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007fdf796dc293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fdf73a8b700 (LWP 29332)):
#0  0x00007fdf796cfaff in __GI___poll (fds=0x7fdf73a8a8e8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fdf78e3fc1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fdf78e4190a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fdf741d4e88 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fdf79a5e42c in QThreadPrivate::start (arg=0x55ee7220e470) at thread/qthread_unix.cpp:329
#5  0x00007fdf78df8609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fdf796dc293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fdf745fbbc0 (LWP 29331)):
[KCrash Handler]
#4  FlatpakBackend::findSource (this=this@entry=0x55ee72c29390, installation=installation@entry=0x7fdf24011810, origin=...) at ./libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:113
#5  0x00007fdf4c51a27e in FlatpakBackend::getAppForInstalledRef (this=0x55ee72c29390, installation=installation@entry=0x7fdf24011810, ref=0x55ee73b609f0) at ./libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:371
#6  0x00007fdf4c51cfb0 in FlatpakBackend::<lambda()>::operator() (__closure=0x55ee72ee90f0, __closure=0x55ee72ee90f0) 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_=0x55ee72ee90e0, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#10 0x00007fdf79c72919 in QObject::event (this=0x55ee72c29390, e=0x55ee72c76e90) at kernel/qobject.cpp:1314
#11 0x00007fdf7ae37dc3 in QApplicationPrivate::notify_helper (this=this@entry=0x55ee721fb290, receiver=receiver@entry=0x55ee72c29390, e=e@entry=0x55ee72c76e90) at kernel/qapplication.cpp:3632
#12 0x00007fdf7ae40bb8 in QApplication::notify (this=0x7ffe2463a060, receiver=0x55ee72c29390, e=0x55ee72c76e90) at kernel/qapplication.cpp:3156
#13 0x00007fdf79c44d7a in QCoreApplication::notifyInternal2 (receiver=0x55ee72c29390, event=0x55ee72c76e90) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#14 0x00007fdf79c47681 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55ee722076d0) at kernel/qcoreapplication.cpp:1821
#15 0x00007fdf79c9ff77 in postEventSourceDispatch (s=0x55ee722e66f0) at kernel/qeventdispatcher_glib.cpp:277
#16 0x00007fdf783e817d in g_main_dispatch (context=0x7fdf6c005000) at ../../../glib/gmain.c:3309
#17 g_main_context_dispatch (context=context@entry=0x7fdf6c005000) at ../../../glib/gmain.c:3974
#18 0x00007fdf783e8400 in g_main_context_iterate (context=context@entry=0x7fdf6c005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#19 0x00007fdf783e84a3 in g_main_context_iteration (context=0x7fdf6c005000, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#20 0x00007fdf79c9f5d2 in QEventDispatcherGlib::processEvents (this=0x55ee722e5ef0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#21 0x00007fdf79c4387b in QEventLoop::exec (this=this@entry=0x7ffe24639f80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#22 0x00007fdf79c4ba34 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#23 0x000055ee7173a5b4 in main (argc=<optimized out>, argv=<optimized out>) at ./discover/main.cpp:213
[Inferior 1 (process 29331) detached]
Comment 5 bart.sen 2021-10-21 15:03:50 UTC
Also this might be useful information: it seems to me that Discover fails when updating its repository information. I have installed some extra repositories, but these are mainstream and should not interfere with the update process. If they did, I would have immediately noticed after adding them.
Comment 6 Aleix Pol 2021-10-21 15:07:57 UTC
Would you be able to test if there's a specific repository that might be at fault?
If that was the case maybe we'd be able to reproduce and getting a fix would be much easier.
Comment 7 bart.sen 2021-10-21 15:27:52 UTC
For one reason or another, when opening Discover, no errors occur anymore.

I have not disabled any repositories, but was trying to. My guess is installing Debug Symbols packages helped solve the issue.

When searching for a solution before posting this bug report, I noticed more users had issues with Discover, also crashing on startup. Sometimes it would work again after an update, then come back after another update.

Is there anything I can help you with to figure out why this strange behaviour occurs?
Comment 8 Tony 2021-10-25 21:04:53 UTC
*** Bug 444354 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2021-10-25 21:48:50 UTC

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