| Summary: | Discover | ||
|---|---|---|---|
| Product: | [Applications] Discover | Reporter: | scramble |
| Component: | discover | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | crash | CC: | aleixpol, scramble |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 6.0.2 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
scramble
2024-03-20 02:46:38 UTC
[Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Core was generated by `/usr/bin/plasma-discover'. Program terminated with signal SIGSEGV, Segmentation fault. #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44 44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0; [Current thread is 1 (Thread 0x7dcae13489c0 (LWP 163594))] 0x00007fffc4070d4a in KNSCore::ResultsStream::fetch (this=0x555556e182e0) at /usr/src/debug/knewstuff/knewstuff-6.0.0/src/core/resultsstream.cpp:70
70 if (p->isInitialized()) {
(gdb) bt
#0 0x00007fffc4070d4a in KNSCore::ResultsStream::fetch (this=0x555556e182e0) at /usr/src/debug/knewstuff/knewstuff-6.0.0/src/core/resultsstream.cpp:70
#1 0x00007fffc6f2ed81 in KNSResultsStream::setRequest (this=<optimized out>, request=...) at /usr/src/debug/discover/discover-6.0.2/libdiscover/backends/KNSBackend/KNSBackend.cpp:107
#2 0x00007fffc6f2fb1d in operator() (__closure=0x555556814de0) at /usr/src/debug/discover/discover-6.0.2/libdiscover/backends/KNSBackend/KNSBackend.cpp:479
#3 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KNSBackend::search(const AbstractResourcesBackend::Filters&)::<lambda()> >::call (arg=<optimized out>, f=...)
at /usr/include/qt6/QtCore/qobjectdefs_impl.h:137
#4 QtPrivate::Functor<KNSBackend::search(const AbstractResourcesBackend::Filters&)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...)
at /usr/include/qt6/QtCore/qobjectdefs_impl.h:339
#5 QtPrivate::QCallableObject<KNSBackend::search(const AbstractResourcesBackend::Filters&)::<lambda()>, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x555556814dd0, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:522
#6 0x00007ffff577c2c7 in QObject::event (this=0x555556814950, e=0x555556814e80) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:1437
#7 0x00007ffff76f438b in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x555556814950, e=0x555556814e80)
at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:3296
#8 0x00007ffff5739818 in QCoreApplication::notifyInternal2 (receiver=0x555556814950, event=event@entry=0x555556814e80)
at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1121
#9 0x00007ffff5739b9b in QCoreApplication::sendEvent (event=0x555556814e80, receiver=<optimized out>)
at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1539
#10 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5555555f6890)
at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1901
#11 0x00007ffff59758a4 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1760
#12 postEventSourceDispatch (s=0x5555555fb3c0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:243
#13 0x00007ffff4941f69 in g_main_dispatch (context=0x7fffe8000ef0) at ../glib/glib/gmain.c:3476
#14 0x00007ffff49a03a7 in g_main_context_dispatch_unlocked (context=0x7fffe8000ef0) at ../glib/glib/gmain.c:4284
#15 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fffe8000ef0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#16 0x00007ffff4940162 in g_main_context_iteration (context=0x7fffe8000ef0, may_block=1) at ../glib/glib/gmain.c:4414
#17 0x00007ffff59739c4 in QEventDispatcherGlib::processEvents (this=0x555555613290, flags=...)
at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#18 0x00007ffff5743d6e in QEventLoop::processEvents (flags=..., this=0x7fffffffcb80) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:100
#19 QEventLoop::exec (this=0x7fffffffcb80, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:182
#20 0x00007ffff573c2b8 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qflags.h:74
#21 0x00007ffff76f0f0a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:2574
#22 0x000055555556d89f in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/discover/discover-6.0.2/discover/main.cpp:218
(gdb) info threads
Id Target Id Frame
* 1 Thread 0x7ffff0bca9c0 (LWP 164658) "plasma-discover" 0x00007fffc4070d4a in KNSCore::ResultsStream::fetch (this=0x555556e182e0)
at /usr/src/debug/knewstuff/knewstuff-6.0.0/src/core/resultsstream.cpp:70
2 Thread 0x7ffff06006c0 (LWP 164661) "QDBusConnection" 0x00007ffff65190bf in __GI___poll (fds=0x555555605050, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
3 Thread 0x7fffef4006c0 (LWP 164662) "WaylandEventThr" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0,
futex_word=0x555555678ae4) at futex-internal.c:57
4 Thread 0x7fffeea006c0 (LWP 164663) "WaylandEventThr" 0x00007ffff65190bf in __GI___poll (fds=fds@entry=0x7fffee9ffb70, nfds=nfds@entry=2, timeout=timeout@entry=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
5 Thread 0x7fffed4006c0 (LWP 164664) "plasma-dis:cs0" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0,
futex_word=0x5555557e352c) at futex-internal.c:57
6 Thread 0x7fffeca006c0 (LWP 164665) "plasma-:disk$0" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0,
futex_word=0x5555557653d8) at futex-internal.c:57
7 Thread 0x7fffe60006c0 (LWP 164666) "plasma-dis:sh0" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0,
futex_word=0x5555557e4594) at futex-internal.c:57
8 Thread 0x7fffe56006c0 (LWP 164667) "plasma:sh_opt0" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0,
futex_word=0x5555557e4740) at futex-internal.c:57
9 Thread 0x7fffe4c006c0 (LWP 164668) "plasma:traceq0" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0,
futex_word=0x555555878fd8) at futex-internal.c:57
10 Thread 0x7fffcec006c0 (LWP 164669) "plasma:traceq0" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0,
futex_word=0x5555558cc068) at futex-internal.c:57
17 Thread 0x7fffce2006c0 (LWP 164676) "plasma:traceq0" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0,
futex_word=0x5555559d7df8) at futex-internal.c:57
18 Thread 0x7fffcd8006c0 (LWP 164677) "plasma-d:gdrv0" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0,
futex_word=0x555555924e30) at futex-internal.c:57
19 Thread 0x7fffcce006c0 (LWP 164678) "plasma-dis:gl0" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0,
futex_word=0x555555a33df4) at futex-internal.c:57
20 Thread 0x7fffc7e006c0 (LWP 164679) "plasma:traceq0" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0,
futex_word=0x555555a8e8a8) at futex-internal.c:57
21 Thread 0x7fffaf8006c0 (LWP 164680) "plasma-d:gdrv0" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0,
futex_word=0x555555acfe80) at futex-internal.c:57
22 Thread 0x7fffaee006c0 (LWP 164681) "plasma-dis:gl0" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0,
futex_word=0x555555b042b4) at futex-internal.c:57
29 Thread 0x7fffae4006c0 (LWP 164688) "QQmlThread" 0x00007ffff65190bf in __GI___poll (fds=0x5555559976c0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
30 Thread 0x7fffada006c0 (LWP 164689) "Thread (pooled)" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fffad9ffae0, op=137, expected=0,
futex_word=0x555555be11a0) at futex-internal.c:57
31 Thread 0x7fffad0006c0 (LWP 164690) "Thread (pooled)" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fffacfffae0, op=137, expected=0,
futex_word=0x555555be60b0) at futex-internal.c:57
32 Thread 0x7fffa3e006c0 (LWP 164691) "pool-spawner" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
33 Thread 0x7fffa34006c0 (LWP 164692) "gmain" 0x00007ffff65190bf in __GI___poll (fds=0x7fff6000a820, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
34 Thread 0x7fffa2a006c0 (LWP 164693) "gdbus" 0x00007ffff65190bf in __GI___poll (fds=0x7fff4c000b90, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
35 Thread 0x7fff97e006c0 (LWP 164694) "dconf worker" 0x00007ffff65190bf in __GI___poll (fds=0x7fff48000b90, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
37 Thread 0x7fff96a006c0 (LWP 164696) "Thread (pooled)" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fff969ffae0, op=137, expected=0,
futex_word=0x555555dc02e0) at futex-internal.c:57
38 Thread 0x7fff960006c0 (LWP 164697) "Thread (pooled)" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fff95fffae0, op=137, expected=0,
futex_word=0x555555db8010) at futex-internal.c:57
39 Thread 0x7fff956006c0 (LWP 164698) "Thread (pooled)" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fff955ffae0, op=137, expected=0,
futex_word=0x555555dba6c0) at futex-internal.c:57
40 Thread 0x7fff896006c0 (LWP 164706) "QNetworkAccessM" 0x00007ffff65190bf in __GI___poll (fds=0x7fff2800d330, nfds=8, timeout=115338) at ../sysdeps/unix/sysv/linux/poll.c:29
41 Thread 0x7fff88c006c0 (LWP 164707) "Thread (pooled)" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fff88bffae0, op=137, expected=0,
futex_word=0x7fff280045a0) at futex-internal.c:57
42 Thread 0x7fff71c006c0 (LWP 164708) "Thread (pooled)" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fff71bffae0, op=137, expected=0,
futex_word=0x7fff28006ea4) at futex-internal.c:57
43 Thread 0x7fff712006c0 (LWP 164709) "Thread (pooled)" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fff711ffae0, op=137, expected=0,
futex_word=0x7fff28009db4) at futex-internal.c:57
50 Thread 0x7fff6be006c0 (LWP 164716) "QSGRenderThread" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fff6bdff8a0, op=137, expected=0,
futex_word=0x555556a17a60) at futex-internal.c:57
51 Thread 0x7fff6aa006c0 (LWP 164718) "Thread (pooled)" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fff6a9ffae0, op=137, expected=0,
futex_word=0x5555569a2d14) at futex-internal.c:57
52 Thread 0x7fff6b4006c0 (LWP 164717) "plasma:traceq0" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0,
futex_word=0x7fff100127d8) at futex-internal.c:57
53 Thread 0x7fff6a0006c0 (LWP 164719) "Thread (pooled)" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fff69fffae0, op=137, expected=0,
--Type <RET> for more, q to quit, c to continue without paging--info reg
futex_word=0x5555560482d4) at futex-internal.c:57
54 Thread 0x7fff68c006c0 (LWP 164721) "Thread (pooled)" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fff68bffae0, op=137, expected=0,
futex_word=0x555555fe7aa0) at futex-internal.c:57
55 Thread 0x7fff696006c0 (LWP 164720) "plasma-d:gdrv0" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0,
futex_word=0x7fff100547c0) at futex-internal.c:57
56 Thread 0x7fff5fe006c0 (LWP 164722) "Thread (pooled)" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fff5fdffae0, op=137, expected=0,
futex_word=0x555555f897e4) at futex-internal.c:57
57 Thread 0x7fff5f4006c0 (LWP 164723) "plasma-dis:gl0" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0,
futex_word=0x7fff10088c50) at futex-internal.c:57
58 Thread 0x7fff5ea006c0 (LWP 164724) "plasma:traceq0" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0,
futex_word=0x7fff100f31a8) at futex-internal.c:57
59 Thread 0x7fff5e0006c0 (LWP 164725) "plasma-d:gdrv0" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0,
futex_word=0x7fff10135900) at futex-internal.c:57
60 Thread 0x7fff5d6006c0 (LWP 164726) "plasma-dis:gl0" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0,
futex_word=0x7fff10169d90) at futex-internal.c:57
63 Thread 0x7fff51e006c0 (LWP 164729) "pool" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
65 Thread 0x7fff50a006c0 (LWP 164731) "Thread (pooled)" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fff509ffae0, op=137, expected=0,
futex_word=0x555557803cc4) at futex-internal.c:57
66 Thread 0x7fff47e006c0 (LWP 164732) "Thread (pooled)" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fff47dffae0, op=137, expected=0,
futex_word=0x555556e69f54) at futex-internal.c:57
67 Thread 0x7fff514006c0 (LWP 164737) "QNetworkAccessM" 0x00007ffff65190bf in __GI___poll (fds=0x7ffebc000bd0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
69 Thread 0x7fff5cc006c0 (LWP 164744) "Thread (pooled)" 0x00007ffff64a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7fff5cbffae0, op=137, expected=0,
futex_word=0x55555678cec0) at futex-internal.c:57
In: /usr/src/debug/knewstuff/knewstuff-6.0.0/src/core/resultsstream.cpp:70
(Untested Suggestion)...
void ResultsStream::fetch()
{
if (d->request.filter != Provider::Installed) {
// when asking for installed entries, never use the cache
Entry::List cacheEntries = d->engine->cache()->requestFromCache(d->request);
if (!cacheEntries.isEmpty()) {
Q_EMIT entriesFound(cacheEntries);
return;
}
}
for (const QSharedPointer<KNSCore::Provider> &p : std::as_const(d->providers)) {
// Check if the shared pointer is not null and the provider is initialized
if (p && p->isInitialized()) {
p->loadEntries(d->request);
} else if (p) {
// If p is not null but the provider is not initialized, set up a connection to call loadEntries when the provider is initialized.
connect(p.get(), &KNSCore::Provider::providerInitialized, this, [this, p] {
disconnect(p.get(), &KNSCore::Provider::providerInitialized, this, nullptr);
if (p->isInitialized()) {
p->loadEntries(d->request);
}
});
} else {
qWarning() << "Encountered a null provider in ResultsStream::fetch.";
}
}
}
*** This bug has been marked as a duplicate of bug 473472 *** |