Bug 493929

Summary: KDE Discover crashing whenever I open the discover for a few seconds
Product: [Applications] Discover Reporter: jexodusmercado
Component: discoverAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: aleixpol, nate
Priority: NOR Keywords: drkonqi
Version: 5.27.5   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description jexodusmercado 2024-10-01 16:44:45 UTC
Application: plasma-discover (5.27.5)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.0-21-amd64 x86_64
Windowing System: X11
Distribution: Debian GNU/Linux 12 (bookworm)
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
Everytime I open settings, it would take about 30 seconds before crashing.

Updates is not fetching properly too

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007fb3ed2cc277 in QMutex::lock() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb3ed4b35f4 in QCoreApplicationPrivate::lockThreadPostEventList(QObject*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fb3ed4b4bc9 in QCoreApplication::postEvent(QObject*, QEvent*, int) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fb3cc1e94d8 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/packagekit-backend.so
#8  0x00007fb3cc1e3588 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/packagekit-backend.so
#9  0x00007fb3ed4dd730 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fb3eef62fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007fb3ed4b1738 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fb3ed4b46c1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fb3ed50a193 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fb3ebd1e7a9 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007fb3ebd1ea38 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007fb3ebd1eacc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007fb3ed509876 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fb3ed4b01bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007fb3ed4b8316 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x0000560b75de02a7 in ?? ()
#21 0x00007fb3ed04624a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#22 0x00007fb3ed046305 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#23 0x0000560b75de0811 in ?? ()
[Inferior 1 (process 2535) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2024-10-01 16:54:23 UTC

*** This bug has been marked as a duplicate of bug 471159 ***
Comment 2 Nate Graham 2024-10-01 17:15:28 UTC
Whoops, that was meant for a different bug report. Sorry about that!
Comment 3 Nate Graham 2024-10-01 17:16:38 UTC
Unfortunately the backtrace is incomplete and missing debug symbols for the following lines that we need to figure out exactly what's going wrong:

> #7  0x00007fb3cc1e94d8 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/packagekit-backend.so
> #8  0x00007fb3cc1e3588 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/packagekit-backend.so

Could you please install debug symbols for Discover's PackageKit backend, and attach a new symbolicated backtrace generated by using `coredumpctl gdb` in a terminal window? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl for details about how to do this.

Thanks!
Comment 4 jexodusmercado 2024-10-02 02:36:51 UTC
(In reply to Nate Graham from comment #3)
> Unfortunately the backtrace is incomplete and missing debug symbols for the
> following lines that we need to figure out exactly what's going wrong:
> 
> > #7  0x00007fb3cc1e94d8 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/packagekit-backend.so
> > #8  0x00007fb3cc1e3588 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/packagekit-backend.so
> 
> Could you please install debug symbols for Discover's PackageKit backend,
> and attach a new symbolicated backtrace generated by using `coredumpctl gdb`
> in a terminal window? See
> https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl
> for details about how to do this.
> 
> Thanks!

Not sure if this is it.

       Message: Process 15106 (plasma-discover) of user 1000 dumped core.

                Module libsystemd.so.0 from deb systemd-252.30-1~deb12u2.amd64
                Module libudev.so.1 from deb systemd-252.30-1~deb12u2.amd64
                Stack trace of thread 15106:
                #0  0x00007fb4bfca9e3c n/a (libc.so.6 + 0x8ae3c)
                #1  0x00007fb4bfc5afb2 raise (libc.so.6 + 0x3bfb2)
                #2  0x00007fb4c21ebb46 _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x5b46)
                #3  0x00007fb4bfc5b050 n/a (libc.so.6 + 0x3c050)
                #4  0x00007fb4bfd71789 n/a (libc.so.6 + 0x152789)
                #5  0x00007fb4c2284244 n/a (libDiscoverCommon.so + 0x3a244)
                #6  0x00007fb4c228304f _ZN8Category14sortCategoriesER7QVectorIPS_E (libDiscoverCommon.so + 0x3904f)
                #7  0x00007fb4c22831c1 _ZN8Category14sortCategoriesER7QVectorIPS_E (libDiscoverCommon.so + 0x391c1)
                #8  0x00007fb4c22831c1 _ZN8Category14sortCategoriesER7QVectorIPS_E (libDiscoverCommon.so + 0x391c1)
                #9  0x00007fb4c22860f9 _ZN16CategoriesReader18loadCategoriesFileEP24AbstractResourcesBackend (libDiscoverCommon.so + 0x3c0f9)
                #10 0x00007fb4c22848a2 _ZN13CategoryModel18populateCategoriesEv (libDiscoverCommon.so + 0x3a8a2)
                #11 0x00007fb4c00e8f8f n/a (libQt5Core.so.5 + 0x2e8f8f)
                #12 0x00007fb4c00ecdaa _ZN6QTimer7timeoutENS_14QPrivateSignalE (libQt5Core.so.5 + 0x2ecdaa)
                #13 0x00007fb4c00dd54d _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2dd54d)
                #14 0x00007fb4c1b62fae _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x162fae)
                #15 0x00007fb4c00b1738 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b1738)
                #16 0x00007fb4c0108c71 _ZN14QTimerInfoList14activateTimersEv (libQt5Core.so.5 + 0x308c71)
                #17 0x00007fb4c010953c n/a (libQt5Core.so.5 + 0x30953c)
                #18 0x00007fb4be8627a9 g_main_context_dispatch (libglib-2.0.so.0 + 0x547a9)
                #19 0x00007fb4be862a38 n/a (libglib-2.0.so.0 + 0x54a38)
                #20 0x00007fb4be862acc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
                #21 0x00007fb4c0109876 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x309876)
                #22 0x00007fb4c00b01bb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b01bb)
                #23 0x00007fb4c00b8316 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2b8316)
                #24 0x000055b0a424b2a7 n/a (plasma-discover + 0x182a7)
                #25 0x00007fb4bfc4624a n/a (libc.so.6 + 0x2724a)
                #26 0x00007fb4bfc46305 __libc_start_main (libc.so.6 + 0x27305)
                #27 0x000055b0a424b811 n/a (plasma-discover + 0x18811)

                Stack trace of thread 15116:
                #0  0x00007ffdb80b39e9 __vdso_clock_gettime (linux-vdso.so.1 + 0x9e9)
                #1  0x00007fb4bfcee379 clock_gettime (libc.so.6 + 0xcf379)
                #2  0x00007fb4c01091d1 n/a (libQt5Core.so.5 + 0x3091d1)
                #3  0x00007fb4c0107af9 _ZN14QTimerInfoList17updateCurrentTimeEv (libQt5Core.so.5 + 0x307af9)
                #4  0x00007fb4c01080f5 _ZN14QTimerInfoList9timerWaitER8timespec (libQt5Core.so.5 + 0x3080f5)
                #5  0x00007fb4c0109bfe n/a (libQt5Core.so.5 + 0x309bfe)
                #6  0x00007fb4be861ede g_main_context_prepare (libglib-2.0.so.0 + 0x53ede)
                #7  0x00007fb4be8628e3 n/a (libglib-2.0.so.0 + 0x548e3)
                #8  0x00007fb4be862acc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
                #9  0x00007fb4c010988e _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x30988e)
                #10 0x00007fb4c00b01bb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b01bb)
                #11 0x00007fb4bfecabc7 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcabc7)
                #12 0x00007fb4c0f28555 n/a (libQt5Qml.so.5 + 0x328555)
                #13 0x00007fb4bfecbd83 n/a (libQt5Core.so.5 + 0xcbd83)
                #14 0x00007fb4bfca8144 n/a (libc.so.6 + 0x89144)
                #15 0x00007fb4bfd287dc n/a (libc.so.6 + 0x1097dc)

                Stack trace of thread 15109:
                #0  0x00007fb4bfd1b15f __poll (libc.so.6 + 0xfc15f)
                #1  0x00007fb4be8629ae n/a (libglib-2.0.so.0 + 0x549ae)
                #2  0x00007fb4be862acc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
                #3  0x00007fb4c010988e _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x30988e)
                #4  0x00007fb4c00b01bb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b01bb)
                #5  0x00007fb4bfecabc7 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcabc7)
                #6  0x00007fb4c1986487 n/a (libQt5DBus.so.5 + 0x17487)
                #7  0x00007fb4bfecbd83 n/a (libQt5Core.so.5 + 0xcbd83)
                #8  0x00007fb4bfca8144 n/a (libc.so.6 + 0x89144)
                #9  0x00007fb4bfd287dc n/a (libc.so.6 + 0x1097dc)

                Stack trace of thread 15120:
                #0  0x00007fb4bfd1b15f __poll (libc.so.6 + 0xfc15f)
                #1  0x00007fb4be8629ae n/a (libglib-2.0.so.0 + 0x549ae)
                #2  0x00007fb4be862acc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
                #3  0x00007fb4be862b11 n/a (libglib-2.0.so.0 + 0x54b11)
                #4  0x00007fb4be88ccfd n/a (libglib-2.0.so.0 + 0x7ecfd)
                #5  0x00007fb4bfca8144 n/a (libc.so.6 + 0x89144)
                #6  0x00007fb4bfd287dc n/a (libc.so.6 + 0x1097dc)

                Stack trace of thread 15124:
                #0  0x00007fb4be8b729b g_mutex_lock (libglib-2.0.so.0 + 0xa929b)
                #1  0x00007fb4be8619f0 g_main_context_acquire (libglib-2.0.so.0 + 0x539f0)
                #2  0x00007fb4be86286d n/a (libglib-2.0.so.0 + 0x5486d)
                #3  0x00007fb4be862acc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
                #4  0x00007fb4983b04bd n/a (libdconfsettings.so + 0xb4bd)
                #5  0x00007fb4be88ccfd n/a (libglib-2.0.so.0 + 0x7ecfd)
                #6  0x00007fb4bfca8144 n/a (libc.so.6 + 0x89144)
                #7  0x00007fb4bfd287dc n/a (libc.so.6 + 0x1097dc)

                Stack trace of thread 15121:
                #0  0x00007fb4bfd171dc read (libc.so.6 + 0xf81dc)
                #1  0x00007fb4be8b1c9f n/a (libglib-2.0.so.0 + 0xa3c9f)
                #2  0x00007fb4be8624c5 g_main_context_check (libglib-2.0.so.0 + 0x544c5)
                #3  0x00007fb4be862958 n/a (libglib-2.0.so.0 + 0x54958)
                #4  0x00007fb4be862cef g_main_loop_run (libglib-2.0.so.0 + 0x54cef)
                #5  0x00007fb4be6b17c6 n/a (libgio-2.0.so.0 + 0x1197c6)
                #6  0x00007fb4be88ccfd n/a (libglib-2.0.so.0 + 0x7ecfd)
                #7  0x00007fb4bfca8144 n/a (libc.so.6 + 0x89144)
                #8  0x00007fb4bfd287dc n/a (libc.so.6 + 0x1097dc)

                Stack trace of thread 15174:
                #0  0x00007fb4bfd1b15f __poll (libc.so.6 + 0xfc15f)
                #1  0x00007fb4b272b617 n/a (libnvidia-glcore.so.535.183.01 + 0x152b617)
                #2  0x00007fb4b2713784 n/a (libnvidia-glcore.so.535.183.01 + 0x1513784)
                #3  0x00007fb4bfca8144 n/a (libc.so.6 + 0x89144)
                #4  0x00007fb4bfd287dc n/a (libc.so.6 + 0x1097dc)

                Stack trace of thread 15175:
                #0  0x00007fb4bfd171dc read (libc.so.6 + 0xf81dc)
                #1  0x00007fb4be8b1c9f n/a (libglib-2.0.so.0 + 0xa3c9f)
                #2  0x00007fb4be8624c5 g_main_context_check (libglib-2.0.so.0 + 0x544c5)
                #3  0x00007fb4be862958 n/a (libglib-2.0.so.0 + 0x54958)
                #4  0x00007fb4be862acc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
                #5  0x00007fb4c010988e _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x30988e)
                #6  0x00007fb4c00b01bb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b01bb)
                #7  0x00007fb4bfecabc7 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcabc7)
                #8  0x00007fb4bfecbd83 n/a (libQt5Core.so.5 + 0xcbd83)
                #9  0x00007fb4bfca8144 n/a (libc.so.6 + 0x89144)
                #10 0x00007fb4bfd287dc n/a (libc.so.6 + 0x1097dc)

                Stack trace of thread 15173:
                #0  0x00007fb4bfca4e96 n/a (libc.so.6 + 0x85e96)
                #1  0x00007fb4bfca7558 pthread_cond_wait (libc.so.6 + 0x88558)
                #2  0x00007fb4bfed1a6b _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd1a6b)
                #3  0x00007fb4c1608085 n/a (libQt5Quick.so.5 + 0x208085)
                #4  0x00007fb4c160a4b1 n/a (libQt5Quick.so.5 + 0x20a4b1)
                #5  0x00007fb4bfecbd83 n/a (libQt5Core.so.5 + 0xcbd83)
                #6  0x00007fb4bfca8144 n/a (libc.so.6 + 0x89144)
                #7  0x00007fb4bfd287dc n/a (libc.so.6 + 0x1097dc)

                Stack trace of thread 15117:
                #0  0x00007ffdb80b36b8 n/a (linux-vdso.so.1 + 0x6b8)
                #1  0x00007ffdb80b39ac __vdso_clock_gettime (linux-vdso.so.1 + 0x9ac)
                #2  0x00007fb4bfcee379 clock_gettime (libc.so.6 + 0xcf379)
                #3  0x00007fb4c01091d1 n/a (libQt5Core.so.5 + 0x3091d1)
                #4  0x00007fb4c0107af9 _ZN14QTimerInfoList17updateCurrentTimeEv (libQt5Core.so.5 + 0x307af9)
                #5  0x00007fb4c0109cf5 n/a (libQt5Core.so.5 + 0x309cf5)
                #6  0x00007fb4be8623d9 g_main_context_check (libglib-2.0.so.0 + 0x543d9)
                #7  0x00007fb4be862958 n/a (libglib-2.0.so.0 + 0x54958)
                #8  0x00007fb4be862acc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
                #9  0x00007fb4c010988e _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x30988e)
                #10 0x00007fb4c00b01bb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b01bb)
                #11 0x00007fb4bfecabc7 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcabc7)
                #12 0x00007fb4bfecbd83 n/a (libQt5Core.so.5 + 0xcbd83)
                #13 0x00007fb4bfca8144 n/a (libc.so.6 + 0x89144)
                #14 0x00007fb4bfd287dc n/a (libc.so.6 + 0x1097dc)

                Stack trace of thread 15108:
                #0  0x00007fb4bfd1b15f __poll (libc.so.6 + 0xfc15f)
                #1  0x00007fb4c10dcd12 n/a (libxcb.so.1 + 0xcd12)
                #2  0x00007fb4c10df07a xcb_wait_for_event (libxcb.so.1 + 0xf07a)
                #3  0x00007fb4ba6faf00 n/a (libQt5XcbQpa.so.5 + 0x6cf00)
                #4  0x00007fb4bfecbd83 n/a (libQt5Core.so.5 + 0xcbd83)
                #5  0x00007fb4bfca8144 n/a (libc.so.6 + 0x89144)
                #6  0x00007fb4bfd287dc n/a (libc.so.6 + 0x1097dc)
                ELF object binary architecture: AMD x86-64


warning: Can't open file /memfd:/.glXXXXXX (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:JSGCHeap:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:JITCode:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:unknown-usage:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:/.nvidia_drv.XXXXXX (deleted) during file-backed mapping note processing

warning: Can't open file /home/exo/.cache/discover/qmlcache/138aae888adfd8fcbd20faeb9f5df730e50639a5.qmlc (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:JSVMStack:QtQml (deleted) during file-backed mapping note processing
[New LWP 15106]
[New LWP 15116]
[New LWP 15109]
[New LWP 15120]
[New LWP 15124]
[New LWP 15121]
[New LWP 15174]
[New LWP 15175]
[New LWP 15173]
[New LWP 15117]
[New LWP 15108]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/plasma-discover'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fb4bfca9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6
[Current thread is 1 (Thread 0x7fb4bb30b0c0 (LWP 15106))]
Comment 5 Nate Graham 2024-10-03 15:09:13 UTC
I'm afraid not. Please follow the instructions exactly.
Comment 6 Bug Janitor Service 2024-10-18 03:47:56 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2024-11-02 03:46:39 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.