Bug 481303 - Discover asserts in Category::sortCategories
Summary: Discover asserts in Category::sortCategories
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: HI crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, qt6
: 482046 483043 484331 486797 487070 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-02-14 00:57 UTC by Miste Lee
Modified: 2024-05-16 09:34 UTC (History)
10 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 Miste Lee 2024-02-14 00:57:39 UTC
Application: plasma-discover (6.0.80)
 (Compiled from sources)
Qt Version: 6.6.1
Frameworks Version: 6.0.0
Operating System: Linux 6.5.0-17-generic x86_64
Windowing System: Wayland
Distribution: KDE neon Unstable Edition
DrKonqi: 6.0.80 [CoredumpBackend]

-- Information about the crash:
like title: Discover is only one package that can't start after new installation of unstable KDE Neon

The crash can be reproduced every time.

-- Backtrace:
Application: Discover (plasma-discover), signal: Aborted

[New LWP 10163]
[New LWP 10165]
[New LWP 10166]
[New LWP 10184]
[New LWP 10170]
[New LWP 10164]
[New LWP 10175]
[New LWP 10167]
[New LWP 10176]
[New LWP 10168]
[New LWP 10177]
[New LWP 10169]
[New LWP 10178]
[New LWP 10188]
[New LWP 10183]
[New LWP 10189]
[New LWP 10186]
[New LWP 10185]
[New LWP 10187]

This GDB supports auto-downloading debuginfo from the following URLs:
https://debuginfod.neon.kde.org/:
Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[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 SIGABRT, Aborted.
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140305928752320) at ./nptl/pthread_kill.c:44
[Current thread is 1 (Thread 0x7f9b850b0cc0 (LWP 10163))]
Cannot QML trace cores :(
[Current thread is 1 (Thread 0x7f9b850b0cc0 (LWP 10163))]

Thread 19 (Thread 0x7f9b353ff640 (LWP 10187)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f9b88ac904c in g_cond_wait_until () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9b88a493e1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9b88aab80a in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9b88aa8a51 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9b89094ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6  0x00007f9b89126850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 18 (Thread 0x7f9b5e7fc640 (LWP 10185)):
#0  0x00007f9b89118bcf in __GI___poll (fds=0x7f9b30029460, nfds=1, timeout=6860) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9b88acf1f6 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9b88a773e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9b88a77431 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9b88aa8a51 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9b89094ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6  0x00007f9b89126850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 17 (Thread 0x7f9b5dffb640 (LWP 10186)):
#0  0x00007f9b89118bcf in __GI___poll (fds=0x55e391a42970, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9b88acf1f6 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9b88a773e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9b6419e33d in  () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007f9b88aa8a51 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9b89094ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6  0x00007f9b89126850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 16 (Thread 0x7f9b1ffff640 (LWP 10189)):
#0  0x00007f9b850e6fe7 in asn1_der_decoding2 () at /lib/x86_64-linux-gnu/libtasn1.so.6
#1  0x00007f9b854e0772 in gnutls_x509_crt_import () at /lib/x86_64-linux-gnu/libgnutls.so.30
#2  0x00007f9b854e119c in gnutls_x509_crt_list_import () at /lib/x86_64-linux-gnu/libgnutls.so.30
#3  0x00007f9b854e1422 in gnutls_x509_crt_list_import2 () at /lib/x86_64-linux-gnu/libgnutls.so.30
#4  0x00007f9b854ee82a in gnutls_x509_trust_list_add_trust_mem () at /lib/x86_64-linux-gnu/libgnutls.so.30
#5  0x00007f9b854eec2c in gnutls_x509_trust_list_add_trust_file () at /lib/x86_64-linux-gnu/libgnutls.so.30
#6  0x00007f9b85470304 in gnutls_x509_trust_list_add_system_trust () at /lib/x86_64-linux-gnu/libgnutls.so.30
#7  0x00007f9b5ce09c7d in  () at /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so
#8  0x00007f9b5ce0a1c7 in  () at /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so
#9  0x00007f9b5ce0a3df in  () at /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so
#10 0x00007f9b87e05fda in g_initable_new_valist () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#11 0x00007f9b87e0608d in g_initable_new () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#12 0x00007f9b5ce087d6 in  () at /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so
#13 0x00007f9b87e37a12 in g_tls_backend_get_default_database () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#14 0x00007f9b5c42979a in  () at /lib/x86_64-linux-gnu/libsoup-2.4.so.1
#15 0x00007f9b87f88d86 in  () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007f9b87f890b0 in  () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007f9b87f8a8f8 in g_object_new_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007f9b5c42225c in soup_session_new_with_options () at /lib/x86_64-linux-gnu/libsoup-2.4.so.1
#19 0x00007f9b5cf192e1 in  () at /lib/x86_64-linux-gnu/libflatpak.so.0
#20 0x00007f9b5cec0dad in  () at /lib/x86_64-linux-gnu/libflatpak.so.0
#21 0x00007f9b5cf0ce00 in  () at /lib/x86_64-linux-gnu/libflatpak.so.0
#22 0x00007f9b5ced94d7 in flatpak_installation_update_appstream_full_sync () at /lib/x86_64-linux-gnu/libflatpak.so.0
#23 0x00007f9b5cf93e23 in  () at /usr/lib/x86_64-linux-gnu/qt6/plugins/discover/flatpak-backend.so
#24 0x00007f9b89b63f4d in  () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#25 0x00007f9b89094ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#26 0x00007f9b89126850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 15 (Thread 0x7f9b5f7fe640 (LWP 10183)):
#0  0x00007f9b89118bcf in __GI___poll (fds=0x55e391a0b500, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9b88acf1f6 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9b88a773e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9b89b082c0 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#4  0x00007f9b89c6a01b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#5  0x00007f9b89ba1068 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#6  0x00007f9b89b63f4d in  () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#7  0x00007f9b89094ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#8  0x00007f9b89126850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 14 (Thread 0x7f9b34bfe640 (LWP 10188)):
#0  0x00007f9b89118bcf in __GI___poll (fds=0x7f9b2c013d70, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9b88acf1f6 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9b88a792b3 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9b87ea007a in  () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f9b88aa8a51 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9b89094ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6  0x00007f9b89126850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 13 (Thread 0x7f9b5ffff640 (LWP 10178)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55e39196ad68) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55e39196ad68) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55e39196ad68, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f9b89093a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e39196ad18, cond=0x55e39196ad40) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55e39196ad40, mutex=0x55e39196ad18) at ./nptl/pthread_cond_wait.c:627
#5  0x00007f9b7a10f89d in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#6  0x00007f9b7a0bfb0b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#7  0x00007f9b7a10f7cb in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#8  0x00007f9b89094ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f9b89126850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 12 (Thread 0x7f9b80855640 (LWP 10169)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55e391837e68) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55e391837e68) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55e391837e68, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f9b89093a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e391837e18, cond=0x55e391837e40) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55e391837e40, mutex=0x55e391837e18) at ./nptl/pthread_cond_wait.c:627
#5  0x00007f9b7a10f89d in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#6  0x00007f9b7a0bfb0b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#7  0x00007f9b7a10f7cb in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#8  0x00007f9b89094ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f9b89126850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 11 (Thread 0x7f9b64fff640 (LWP 10177)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55e391959070) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55e391959070) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55e391959070, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f9b89093a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e391959020, cond=0x55e391959048) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55e391959048, mutex=0x55e391959020) at ./nptl/pthread_cond_wait.c:627
#5  0x00007f9b7a10f89d in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#6  0x00007f9b7a0bfb0b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#7  0x00007f9b7a10f7cb in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#8  0x00007f9b89094ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f9b89126850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 10 (Thread 0x7f9b81056640 (LWP 10168)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55e391837e68) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55e391837e68) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55e391837e68, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f9b89093a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e391837e18, cond=0x55e391837e40) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55e391837e40, mutex=0x55e391837e18) at ./nptl/pthread_cond_wait.c:627
#5  0x00007f9b7a10f89d in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#6  0x00007f9b7a0bfb0b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#7  0x00007f9b7a10f7cb in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#8  0x00007f9b89094ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f9b89126850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 9 (Thread 0x7f9b78ffd640 (LWP 10176)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55e3918e1578) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55e3918e1578) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55e3918e1578, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f9b89093a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e3918e1528, cond=0x55e3918e1550) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55e3918e1550, mutex=0x55e3918e1528) at ./nptl/pthread_cond_wait.c:627
#5  0x00007f9b7a10f89d in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#6  0x00007f9b7a0bfb0b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#7  0x00007f9b7a10f7cb in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#8  0x00007f9b89094ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f9b89126850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 8 (Thread 0x7f9b81857640 (LWP 10167)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55e3917417b8) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55e3917417b8) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55e3917417b8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f9b89093a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e391741768, cond=0x55e391741790) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55e391741790, mutex=0x55e391741768) at ./nptl/pthread_cond_wait.c:627
#5  0x00007f9b7a10f89d in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#6  0x00007f9b7a0bfb0b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#7  0x00007f9b7a10f7cb in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#8  0x00007f9b89094ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f9b89126850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 7 (Thread 0x7f9b797fe640 (LWP 10175)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55e3918bf1e0) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55e3918bf1e0) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55e3918bf1e0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f9b89093a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e3918bf190, cond=0x55e3918bf1b8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55e3918bf1b8, mutex=0x55e3918bf190) at ./nptl/pthread_cond_wait.c:627
#5  0x00007f9b7a10f89d in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#6  0x00007f9b7a0bfb0b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#7  0x00007f9b7a10f7cb in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#8  0x00007f9b89094ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f9b89126850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7f9b84108640 (LWP 10164)):
#0  0x00007f9b89118bcf in __GI___poll (fds=0x7f9b7c0183e0, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9b88acf1f6 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9b88a773e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9b89b082c0 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#4  0x00007f9b89c6a01b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#5  0x00007f9b89ba1068 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#6  0x00007f9b8add2dbe in  () at /lib/x86_64-linux-gnu/libQt6DBus.so.6
#7  0x00007f9b89b63f4d in  () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#8  0x00007f9b89094ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f9b89126850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7f9b79fff640 (LWP 10170)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55e391837e68) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55e391837e68) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55e391837e68, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f9b89093a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e391837e18, cond=0x55e391837e40) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55e391837e40, mutex=0x55e391837e18) at ./nptl/pthread_cond_wait.c:627
#5  0x00007f9b7a10f89d in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#6  0x00007f9b7a0bfb0b in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#7  0x00007f9b7a10f7cb in  () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#8  0x00007f9b89094ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f9b89126850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7f9b5effd640 (LWP 10184)):
#0  0x00007f9b88a96de0 in g_str_has_suffix () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9b87ff9526 in as_desktop_entry_parse_data () at /lib/x86_64-linux-gnu/libappstream.so.5
#2  0x00007f9b88011f0b in as_metadata_parse_desktop_data () at /lib/x86_64-linux-gnu/libappstream.so.5
#3  0x00007f9b88012317 in as_metadata_parse_file () at /lib/x86_64-linux-gnu/libappstream.so.5
#4  0x00007f9b880182dd in  () at /lib/x86_64-linux-gnu/libappstream.so.5
#5  0x00007f9b88029be7 in  () at /lib/x86_64-linux-gnu/libappstream.so.5
#6  0x00007f9b8a7d167e in AppStream::Pool::load() () at /lib/x86_64-linux-gnu/libAppStreamQt.so.3
#7  0x00007f9b64696839 in loadAppStream(AppStream::Pool*) (appdata=0x55e391a2c9d0) at ./libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp:304
#8  0x00007f9b646a8949 in std::__invoke_impl<bool, bool (*&)(AppStream::Pool*), AppStream::Pool*&>(std::__invoke_other, bool (*&)(AppStream::Pool*), AppStream::Pool*&) (__f=<synthetic pointer>: <optimized out>) at /usr/include/x86_64-linux-gnu/qt6/QtConcurrent/qtconcurrentstoredfunctioncall.h:112
#9  std::__invoke<bool (*&)(AppStream::Pool*), AppStream::Pool*&>(bool (*&)(AppStream::Pool*), AppStream::Pool*&) (__fn=<synthetic pointer>: <optimized out>) at /usr/include/c++/11/bits/invoke.h:96
#10 std::invoke<bool (*&)(AppStream::Pool*), AppStream::Pool*&>(bool (*&)(AppStream::Pool*), AppStream::Pool*&) (__fn=<synthetic pointer>: <optimized out>) at /usr/include/c++/11/functional:97
#11 QtConcurrent::StoredFunctionCall<bool (*)(AppStream::Pool*), AppStream::Pool*>::runFunctor()::{lambda(bool (*)(AppStream::Pool*), AppStream::Pool*)#1}::operator()(bool (*)(AppStream::Pool*), AppStream::Pool*) const (args#0=<optimized out>, function=<optimized out>, __closure=<synthetic pointer>) at /usr/include/x86_64-linux-gnu/qt6/QtConcurrent/qtconcurrentstoredfunctioncall.h:116
#12 std::__invoke_impl<bool, QtConcurrent::StoredFunctionCall<bool (*)(AppStream::Pool*), AppStream::Pool*>::runFunctor()::{lambda(bool (* const&)(AppStream::Pool*), AppStream::Pool*)#1}, bool (*)(AppStream::Pool*), AppStream::Pool*>(std::__invoke_other, QtConcurrent::StoredFunctionCall<bool (*)(AppStream::Pool*), AppStream::Pool*>::runFunctor()::{lambda(bool (* const&)(AppStream::Pool*), AppStream::Pool*)#1}, bool (*&&)(AppStream::Pool*), AppStream::Pool*&&) (__f=<synthetic pointer>...) at /usr/include/c++/11/bits/invoke.h:61
#13 std::__invoke<QtConcurrent::StoredFunctionCall<bool (*)(AppStream::Pool*), AppStream::Pool*>::runFunctor()::{lambda(bool (* const&)(AppStream::Pool*), AppStream::Pool*)#1}, bool (*)(AppStream::Pool*), AppStream::Pool*>(QtConcurrent::StoredFunctionCall<bool (*)(AppStream::Pool*), AppStream::Pool*>::runFunctor()::{lambda(bool (* const&)(AppStream::Pool*), AppStream::Pool*)#1}, bool (*&&)(AppStream::Pool*), AppStream::Pool*&&) (__fn=<synthetic pointer>...) at /usr/include/c++/11/bits/invoke.h:96
#14 std::__apply_impl<QtConcurrent::StoredFunctionCall<bool (*)(AppStream::Pool*), AppStream::Pool*>::runFunctor()::{lambda(bool (* const&)(AppStream::Pool*), AppStream::Pool*)#1}, std::tuple<bool (*)(AppStream::Pool*), AppStream::Pool*>, 0ul, 1ul>(QtConcurrent::StoredFunctionCall<bool (*)(AppStream::Pool*), AppStream::Pool*>::runFunctor()::{lambda(bool (* const&)(AppStream::Pool*), AppStream::Pool*)#1}, std::tuple<bool (*)(AppStream::Pool*), AppStream::Pool*>&&, std::integer_sequence<unsigned long, 0ul, 1ul>) (__t=..., __f=<synthetic pointer>...) at /usr/include/c++/11/tuple:1854
#15 std::apply<QtConcurrent::StoredFunctionCall<bool (*)(AppStream::Pool*), AppStream::Pool*>::runFunctor()::{lambda(bool (* const&)(AppStream::Pool*), AppStream::Pool*)#1}, std::tuple<bool (*)(AppStream::Pool*), AppStream::Pool*> >(QtConcurrent::StoredFunctionCall<bool (*)(AppStream::Pool*), AppStream::Pool*>::runFunctor()::{lambda(bool (* const&)(AppStream::Pool*), AppStream::Pool*)#1}, std::tuple<bool (*)(AppStream::Pool*), AppStream::Pool*>&&) (__t=..., __f=<synthetic pointer>...) at /usr/include/c++/11/tuple:1865
#16 QtConcurrent::StoredFunctionCall<bool (*)(AppStream::Pool*), AppStream::Pool*>::runFunctor() (this=0x55e391b4e000) at /usr/include/x86_64-linux-gnu/qt6/QtConcurrent/qtconcurrentstoredfunctioncall.h:122
#17 QtConcurrent::RunFunctionTaskBase<bool>::run() (this=0x55e391b4e000) at /usr/include/x86_64-linux-gnu/qt6/QtConcurrent/qtconcurrentrunbase.h:83
#18 0x00007f9b89b6430d in  () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#19 0x00007f9b89b63f4d in  () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#20 0x00007f9b89094ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#21 0x00007f9b89126850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7f9b8247a640 (LWP 10166)):
#0  0x00007f9b89118bcf in __GI___poll (fds=0x7f9b82479810, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f9b841b9221 in  () at /lib/x86_64-linux-gnu/libQt6WaylandClient.so.6
#2  0x00007f9b89b63f4d in  () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#3  0x00007f9b89094ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#4  0x00007f9b89126850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7f9b82c7b640 (LWP 10165)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55e391766710) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55e391766710) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55e391766710, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f9b89093a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e3917666c0, cond=0x55e3917666e8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55e3917666e8, mutex=0x55e3917666c0) at ./nptl/pthread_cond_wait.c:627
#5  0x00007f9b89b68f9b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#6  0x00007f9b841b91b7 in  () at /lib/x86_64-linux-gnu/libQt6WaylandClient.so.6
#7  0x00007f9b89b63f4d in  () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#8  0x00007f9b89094ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f9b89126850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7f9b850b0cc0 (LWP 10163)):
[KCrash Handler]
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140305928752320) at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=140305928752320) at ./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=140305928752320, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#9  0x00007f9b89042476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x00007f9b890287f3 in __GI_abort () at ./stdlib/abort.c:79
#11 0x00007f9b89cd86f3 in  () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#12 0x00007f9b89cd4055 in  () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#13 0x00007f9b89cd909f in  () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#14 0x00007f9b89ca9261 in qt_assert_x(char const*, char const*, char const*, int) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#15 0x00007f9b8c143736 in Category::sortCategories(QList<Category*>&) (cats=...) at ./libdiscover/Category/Category.cpp:240
#16 0x00007f9b8c15a41f in Category::sortCategories(QList<Category*>&) (cats=...) at ./libdiscover/Category/Category.cpp:238
#17 0x00007f9b8c165830 in CategoriesReader::loadCategoriesPath(QString const&) (this=<optimized out>, path=<optimized out>) at ./libdiscover/Category/CategoriesReader.cpp:58
#18 0x00007f9b8c165e4f in CategoriesReader::loadCategoriesFile(AbstractResourcesBackend*) (this=this@entry=0x7ffd9691b47f, backend=backend@entry=0x55e391b4bf10) at ./libdiscover/Category/CategoriesReader.cpp:30
#19 0x00007f9b8c16603e in CategoryModel::populateCategories() (this=0x55e391b48320) at ./libdiscover/Category/CategoryModel.cpp:54
#20 0x00007f9b8c166545 in CategoryModel::global() () at ./libdiscover/Category/CategoryModel.cpp:39
#21 0x000055e39013569d in DiscoverDeclarativePlugin::registerTypes(char const*) (this=<optimized out>) at ./discover/DiscoverDeclarativePlugin.cpp:63
#22 0x000055e39011e282 in DiscoverObject::DiscoverObject(QMap<QString, QVariant> const&) (initialProperties=..., this=0x55e391b67fc0) at ./discover/DiscoverObject.cpp:145
#23 main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./discover/main.cpp:173

Reported using DrKonqi
Comment 1 Nicolas Fella 2024-03-03 10:22:20 UTC
https://discuss.kde.org/t/plasma6-discover-crashed-when-startup-in-simplified-chinese-locale/11337 suggests this happens only when the locale is set to chinese, but even with that I can't reproduce
Comment 2 Nicolas Fella 2024-03-10 13:25:39 UTC
*** Bug 482046 has been marked as a duplicate of this bug. ***
Comment 3 Nicolas Fella 2024-03-10 13:25:50 UTC
*** Bug 483043 has been marked as a duplicate of this bug. ***
Comment 4 4sfvnla7 2024-03-20 14:59:36 UTC
I think I have encountered the same bug (ASSERT: "isSorted(cats)" in file ./libdiscover/Category/Category.cpp, line 240). Some of my observations:

1) the KDE neon was installed in Simplified Chinese. At this moment Discover could be opened normally (if I correctly recall).
2) after at most one day (with many things like update packages, install nvidia driver, etc.), Discover started to crash with the error above. At this moment I could circumvent it with LC_ALL=en_US.utf8.
3) after several days, the workaround in 2) stopped working (crash with the same error). I can still circumvent it with LC_ALL=POSIX or LC_ALL=C (C.utf8 or ja_JP.utf8 crash with the same error); the workaround does not affect display of CJK characters in Discover. I installed Japanese as 2nd language in system settings in the meantime; idk if that's relevant.

KDE neon 6.0, Plasma 6.0.2, Framework 6.0.0, Qt 6.6.2, Linux 6.5.0-25-generic x86-64, wayland.
Comment 5 Nicolas Fella 2024-03-23 20:07:17 UTC
*** Bug 484331 has been marked as a duplicate of this bug. ***
Comment 6 Harald Sitter 2024-05-06 10:31:15 UTC
I find it suspicious that this only happens on neon.

Sentry trace also only has neon https://crash-reports.kde.org/organizations/kde/issues/3676
Comment 7 Harald Sitter 2024-05-06 12:53:07 UTC
Found the problem. The hints about only some languages being affected was incredibly helpful!

What happens is that some languages have ambiguous translations of category names 

e.g.

msgctxt "Category"
msgid "Simulation"
msgstr "模拟"

vs.

msgctxt "Category"
msgid "Emulators"
msgstr "模拟"

which then trips up implicit uniqueness requirements we have in our assertions. It also plain makes no sense to have the same translation used for different categories. They need to be disambiguated one way or another or the user won't be able to differentiate what they are.

The reason only neon is affected is probably because it builds with assertions on.
Comment 8 Bug Janitor Service 2024-05-06 13:09:52 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/830
Comment 9 Harald Sitter 2024-05-09 12:05:48 UTC
*** Bug 486797 has been marked as a duplicate of this bug. ***
Comment 10 Harald Sitter 2024-05-16 09:05:23 UTC
*** Bug 487070 has been marked as a duplicate of this bug. ***