Bug 451321

Summary: Discover crashed in KNSCore::Provider::setTagFilter() when searching
Product: [Frameworks and Libraries] frameworks-knewstuff Reporter: T. Shalom Amutenya <t.shalom89>
Component: generalAssignee: Dan Leinir Turthra Jensen <admin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aleixpol, alexander.lohnau, kdelibs-bugs, nate, nicolas.fella
Priority: NOR Keywords: drkonqi
Version: 5.91.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description T. Shalom Amutenya 2022-03-09 15:59:38 UTC
Application: plasma-discover (5.24.2)

Qt Version: 5.15.2
Frameworks Version: 5.91.0
Operating System: Linux 5.16.11-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.24.2 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
i was busy searching for an application when it crashed. at this point im not sure if the crash is time related but everytime i open discover it lasts about the same time before it crashes. im never able to complete any search or run any application from discover recently.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x2f0065006c0067) at /usr/include/c++/11/bits/atomic_base.h:479
#7  QAtomicOps<int>::loadRelaxed<int> (_q_value=...) at /usr/include/qt5/QtCore/qatomic_cxx11.h:239
#8  QBasicAtomicInteger<int>::loadRelaxed (this=0x2f0065006c0067) at /usr/include/qt5/QtCore/qbasicatomic.h:107
#9  QtPrivate::RefCount::ref (this=0x2f0065006c0067) at /usr/include/qt5/QtCore/qrefcount.h:55
#10 QList<QString>::QList (l=..., this=0x7fff9ecceb60) at /usr/include/qt5/QtCore/qlist.h:856
#11 QList<QString>::operator= (l=..., this=0x7f546809c4b8) at /usr/include/qt5/QtCore/qlist.h:533
#12 QList<QString>::operator= (l=..., this=0x7f546809c4b8) at /usr/include/qt5/QtCore/qlist.h:530
#13 QStringList::operator= (this=0x7f546809c4b8) at /usr/include/qt5/QtCore/qstringlist.h:111
#14 KNSCore::Provider::setTagFilter (this=<optimized out>, tagFilter=...) at /usr/src/debug/knewstuff-5.91.0-1.1.x86_64/src/core/provider.cpp:102
#15 0x00007f548ba753fc in KNSCore::Engine::addProvider (this=0x5606c86dee20, provider=...) at /usr/src/debug/knewstuff-5.91.0-1.1.x86_64/src/core/engine.cpp:474
#16 0x00007f548ba77f83 in KNSCore::Engine::slotProviderFileLoaded (this=<optimized out>, doc=...) at /usr/src/debug/knewstuff-5.91.0-1.1.x86_64/src/core/engine.cpp:446
#17 0x00007f54aa1f9503 in QtPrivate::QSlotObjectBase::call (a=0x7fff9ecceec0, r=0x5606c86dee20, this=0x5606c8723d30) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#18 doActivate<false> (sender=0x5606c83b4ef0, signal_index=3, argv=0x7fff9ecceec0) at kernel/qobject.cpp:3886
#19 0x00007f54aa1f29cf in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f548badbd00 <KNSCore::XmlLoader::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff9ecceec0) at kernel/qobject.cpp:3946
#20 0x00007f548ba629a2 in KNSCore::XmlLoader::signalLoaded (this=<optimized out>, _t1=...) at /usr/src/debug/knewstuff-5.91.0-1.1.x86_64/build/src/core/KF5NewStuffCore_autogen/EWIEGA46WW/moc_xmlloader.cpp:186
#21 0x00007f548ba9654c in KNSCore::handleData (q=0x5606c83b4ef0, data=...) at /usr/src/debug/knewstuff-5.91.0-1.1.x86_64/src/core/xmlloader.cpp:31
#22 0x00007f54aa1f9503 in QtPrivate::QSlotObjectBase::call (a=0x7fff9eccf040, r=0x5606c83b4ef0, this=0x5606c7dcb130) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#23 doActivate<false> (sender=0x7f5498007960, signal_index=6, argv=0x7fff9eccf040) at kernel/qobject.cpp:3886
#24 0x00007f54aa1f29cf in QMetaObject::activate (sender=sender@entry=0x7f5498007960, m=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff9eccf040) at kernel/qobject.cpp:3946
#25 0x00007f54ab0b789c in KJob::result (this=this@entry=0x7f5498007960, _t1=<optimized out>, _t1@entry=0x7f5498007960, _t2=...) at /usr/src/debug/kcoreaddons-5.91.0-1.1.x86_64/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#26 0x00007f54ab0bb9bb in KJob::finishJob (this=0x7f5498007960, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.91.0-1.1.x86_64/src/lib/jobs/kjob.cpp:98
#27 0x00007f54aa1f9503 in QtPrivate::QSlotObjectBase::call (a=0x7fff9eccf110, r=0x7f5498007960, this=0x5606c8f2d730) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#28 doActivate<false> (sender=0x5606c910e830, signal_index=5, argv=0x7fff9eccf110) at kernel/qobject.cpp:3886
#29 0x00007f54aa1f29cf in QMetaObject::activate (sender=sender@entry=0x5606c910e830, m=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#30 0x00007f548ba9c21f in KNSCore::HTTPWorker::completed (this=0x5606c910e830) at /usr/src/debug/knewstuff-5.91.0-1.1.x86_64/build/src/core/KF5NewStuffCore_autogen/AJN4HOEG3V/moc_httpworker.cpp:214
#31 KNSCore::HTTPWorker::handleFinished (this=0x5606c910e830) at /usr/src/debug/knewstuff-5.91.0-1.1.x86_64/src/core/jobs/httpworker.cpp:185
#32 0x00007f54aa1f9503 in QtPrivate::QSlotObjectBase::call (a=0x7fff9eccf2f0, r=0x5606c910e830, this=0x5606c85b40c0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#33 doActivate<false> (sender=0x5606c83f6240, signal_index=10, argv=0x7fff9eccf2f0) at kernel/qobject.cpp:3886
#34 0x00007f54aa1f29cf in QMetaObject::activate (sender=sender@entry=0x5606c83f6240, m=m@entry=0x7f54a99d3780 <QNetworkReply::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#35 0x00007f54a9972c53 in QNetworkReply::finished (this=this@entry=0x5606c83f6240) at .moc/moc_qnetworkreply.cpp:404
#36 0x00007f54a98e64e8 in QNetworkReplyHttpImplPrivate::finished (this=0x5606c83d2a60) at access/qnetworkreplyhttpimpl.cpp:2280
#37 0x00007f54aa1ef4ae in QObject::event (this=0x5606c83f6240, e=0x7f546803d0c0) at kernel/qobject.cpp:1314
#38 0x00007f54ab41aa7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5606c83f6240, e=0x7f546803d0c0) at kernel/qapplication.cpp:3632
#39 0x00007f54aa1c2e3a in QCoreApplication::notifyInternal2 (receiver=0x5606c83f6240, event=0x7f546803d0c0) at kernel/qcoreapplication.cpp:1064
#40 0x00007f54aa1c5e77 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5606c7a1ae90) at kernel/qcoreapplication.cpp:1821
#41 0x00007f54aa21ad03 in postEventSourceDispatch (s=s@entry=0x5606c7ae9000) at kernel/qeventdispatcher_glib.cpp:277
#42 0x00007f54a89b9e22 in g_main_dispatch (context=0x7f54a0005010) at ../glib/gmain.c:3381
#43 g_main_context_dispatch (context=0x7f54a0005010) at ../glib/gmain.c:4099
#44 0x00007f54a89ba1b8 in g_main_context_iterate (context=context@entry=0x7f54a0005010, block=block@entry=0, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#45 0x00007f54a89ba26f in g_main_context_iteration (context=0x7f54a0005010, may_block=0) at ../glib/gmain.c:4240
#46 0x00007f54aa21a3da in QEventDispatcherGlib::processEvents (this=0x5606c7aeb960, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#47 0x00007f548baeb267 in Attica::KdePlatformDependent::getAccessToken (this=<optimized out>) at /usr/src/debug/plasma5-desktop-5.24.2-2.1.x86_64/attica-kde/kdeplugin/kdeplatformdependent.cpp:86
#48 0x00007f548baec115 in Attica::KdePlatformDependent::hasCredentials (this=<optimized out>, baseUrl=...) at /usr/src/debug/plasma5-desktop-5.24.2-2.1.x86_64/attica-kde/kdeplugin/kdeplatformdependent.cpp:191
#49 0x00007f548b9fbe71 in Attica::Provider::Private::Private (this=<optimized out>, internals=<optimized out>, baseUrl=..., name=..., icon=..., person=..., friendV=..., message=..., achievement=..., activity=..., content=..., fan=..., forum=..., knowledgebase=..., event=..., comment=..., registerUrl=..., additionalAgentInformation=..., this=<optimized out>, internals=<optimized out>, baseUrl=..., name=..., icon=..., person=..., friendV=..., message=..., achievement=..., activity=..., content=..., fan=..., forum=..., knowledgebase=..., event=..., comment=..., registerUrl=..., additionalAgentInformation=...) at /usr/src/debug/attica-qt5-5.91.0-1.1.x86_64/src/provider.cpp:163
#50 0x00007f548b9fe374 in Attica::Provider::Provider (this=<optimized out>, internals=<optimized out>, baseUrl=..., name=..., icon=..., person=..., friendV=..., message=..., achievement=..., activity=..., content=..., fan=..., forum=..., knowledgebase=..., event=..., comment=..., registerUrl=..., this=<optimized out>, internals=<optimized out>, baseUrl=..., name=..., icon=..., person=..., friendV=..., message=..., achievement=..., activity=..., content=..., fan=..., forum=..., knowledgebase=..., event=..., comment=..., registerUrl=...) at /usr/src/debug/attica-qt5-5.91.0-1.1.x86_64/src/provider.cpp:251
#51 0x00007f548ba1255f in Attica::ProviderManager::parseProviderFile (this=this@entry=0x7f548bb15890 <_ZZN12_GLOBAL__N_114Q_QGS_s_shared13innerFunctionEvE6holder.lto_priv.0+16>, xmlString=..., url=...) at /usr/src/debug/attica-qt5-5.91.0-1.1.x86_64/src/providermanager.cpp:223
#52 0x00007f548ba1392f in Attica::ProviderManager::fileFinished (this=0x7f548bb15890 <_ZZN12_GLOBAL__N_114Q_QGS_s_shared13innerFunctionEvE6holder.lto_priv.0+16>, url=...) at /usr/src/debug/attica-qt5-5.91.0-1.1.x86_64/src/providermanager.cpp:149
#53 0x00007f548ba139c5 in operator() (__closure=0x5606c7dd4560) at /usr/src/debug/attica-qt5-5.91.0-1.1.x86_64/src/providermanager.cpp:135
#54 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Attica::ProviderManager::addProviderFile(const QUrl&)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#55 QtPrivate::Functor<Attica::ProviderManager::addProviderFile(const QUrl&)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#56 QtPrivate::QFunctorSlotObject<Attica::ProviderManager::addProviderFile(const QUrl&)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x5606c7dd4550, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#57 0x00007f54aa1f9503 in QtPrivate::QSlotObjectBase::call (a=0x7fff9eccfd20, r=0x7f548bb15890 <_ZZN12_GLOBAL__N_114Q_QGS_s_shared13innerFunctionEvE6holder.lto_priv.0+16>, this=0x5606c7dd4550) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#58 doActivate<false> (sender=0x5606c83bb9b0, signal_index=10, argv=0x7fff9eccfd20) at kernel/qobject.cpp:3886
#59 0x00007f54aa1f29cf in QMetaObject::activate (sender=sender@entry=0x5606c83bb9b0, m=m@entry=0x7f54a99d3780 <QNetworkReply::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#60 0x00007f54a9972c53 in QNetworkReply::finished (this=this@entry=0x5606c83bb9b0) at .moc/moc_qnetworkreply.cpp:404
#61 0x00007f54a98e64e8 in QNetworkReplyHttpImplPrivate::finished (this=0x5606c8335bc0) at access/qnetworkreplyhttpimpl.cpp:2280
#62 0x00007f54aa1ef4ae in QObject::event (this=0x5606c83bb9b0, e=0x5606c879ab90) at kernel/qobject.cpp:1314
#63 0x00007f54ab41aa7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5606c83bb9b0, e=0x5606c879ab90) at kernel/qapplication.cpp:3632
#64 0x00007f54aa1c2e3a in QCoreApplication::notifyInternal2 (receiver=0x5606c83bb9b0, event=0x5606c879ab90) at kernel/qcoreapplication.cpp:1064
#65 0x00007f54aa1c5e77 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5606c7a1ae90) at kernel/qcoreapplication.cpp:1821
#66 0x00007f54aa21ad03 in postEventSourceDispatch (s=s@entry=0x5606c7ae9000) at kernel/qeventdispatcher_glib.cpp:277
#67 0x00007f54a89b9e22 in g_main_dispatch (context=0x7f54a0005010) at ../glib/gmain.c:3381
#68 g_main_context_dispatch (context=0x7f54a0005010) at ../glib/gmain.c:4099
#69 0x00007f54a89ba1b8 in g_main_context_iterate (context=context@entry=0x7f54a0005010, block=block@entry=0, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#70 0x00007f54a89ba26f in g_main_context_iteration (context=0x7f54a0005010, may_block=0) at ../glib/gmain.c:4240
#71 0x00007f54aa21a3da in QEventDispatcherGlib::processEvents (this=0x5606c7aeb960, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#72 0x00007f548baeb267 in Attica::KdePlatformDependent::getAccessToken (this=<optimized out>) at /usr/src/debug/plasma5-desktop-5.24.2-2.1.x86_64/attica-kde/kdeplugin/kdeplatformdependent.cpp:86
#73 0x00007f548baeb9c6 in Attica::KdePlatformDependent::addOAuthToRequest (this=this@entry=0x5606c7dc0810, request=...) at /usr/src/debug/plasma5-desktop-5.24.2-2.1.x86_64/attica-kde/kdeplugin/kdeplatformdependent.cpp:122
#74 0x00007f548baec082 in Attica::KdePlatformDependent::get (this=0x5606c7dc0810, request=...) at /usr/src/debug/plasma5-desktop-5.24.2-2.1.x86_64/attica-kde/kdeplugin/kdeplatformdependent.cpp:163
#75 0x00007f548ba134e5 in Attica::ProviderManager::addProviderFile (this=this@entry=0x5606c8749fc0, url=...) at /usr/src/debug/attica-qt5-5.91.0-1.1.x86_64/src/providermanager.cpp:132
#76 0x00007f548ba1358f in Attica::ProviderManager::slotLoadDefaultProvidersInternal (this=0x5606c8749fc0) at /usr/src/debug/attica-qt5-5.91.0-1.1.x86_64/src/providermanager.cpp:91
#77 0x00007f54aa1ef4ae in QObject::event (this=0x5606c8749fc0, e=0x5606c8749df0) at kernel/qobject.cpp:1314
#78 0x00007f54ab41aa7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5606c8749fc0, e=0x5606c8749df0) at kernel/qapplication.cpp:3632
#79 0x00007f54aa1c2e3a in QCoreApplication::notifyInternal2 (receiver=0x5606c8749fc0, event=0x5606c8749df0) at kernel/qcoreapplication.cpp:1064
#80 0x00007f54aa1c5e77 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5606c7a1ae90) at kernel/qcoreapplication.cpp:1821
#81 0x00007f54aa21ad03 in postEventSourceDispatch (s=s@entry=0x5606c7ae9000) at kernel/qeventdispatcher_glib.cpp:277
#82 0x00007f54a89b9e22 in g_main_dispatch (context=0x7f54a0005010) at ../glib/gmain.c:3381
#83 g_main_context_dispatch (context=0x7f54a0005010) at ../glib/gmain.c:4099
#84 0x00007f54a89ba1b8 in g_main_context_iterate (context=context@entry=0x7f54a0005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#85 0x00007f54a89ba26f in g_main_context_iteration (context=0x7f54a0005010, may_block=1) at ../glib/gmain.c:4240
#86 0x00007f54aa21a384 in QEventDispatcherGlib::processEvents (this=0x5606c7aeb960, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#87 0x00007f54aa1c183b in QEventLoop::exec (this=this@entry=0x7fff9ecd0800, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#88 0x00007f54aa1c9b10 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#89 0x00007f54aa61325c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#90 0x00007f54ab41a9f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#91 0x00005606c5cdefbc in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/discover-5.24.2.1-1.1.x86_64/discover/main.cpp:217
[Inferior 1 (process 23582) detached]

Possible duplicates by query: bug 443040, bug 426732, bug 408526, bug 407271, bug 399874.

Reported using DrKonqi
Comment 1 Nate Graham 2022-03-23 04:38:34 UTC
#14 KNSCore::Provider::setTagFilter (this=<optimized out>, tagFilter=...) at /usr/src/debug/knewstuff-5.91.0-1.1.x86_64/src/core/provider.cpp:102
#15 0x00007f548ba753fc in KNSCore::Engine::addProvider (this=0x5606c86dee20, provider=...) at /usr/src/debug/knewstuff-5.91.0-1.1.x86_64/src/core/engine.cpp:474
#16 0x00007f548ba77f83 in KNSCore::Engine::slotProviderFileLoaded (this=<optimized out>, doc=...) at /usr/src/debug/knewstuff-5.91.0-1.1.x86_64/src/core/engine.cpp:446
#17 0x00007f54aa1f9503 in QtPrivate::QSlotObjectBase::call (a=0x7fff9ecceec0, r=0x5606c86dee20, this=0x5606c8723d30) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#18 doActivate<false> (sender=0x5606c83b4ef0, signal_index=3, argv=0x7fff9ecceec0) at kernel/qobject.cpp:3886
#19 0x00007f54aa1f29cf in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f548badbd00 <KNSCore::XmlLoader::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff9ecceec0) at kernel/qobject.cpp:3946
#20 0x00007f548ba629a2 in KNSCore::XmlLoader::signalLoaded (this=<optimized out>, _t1=...) at /usr/src/debug/knewstuff-5.91.0-1.1.x86_64/build/src/core/KF5NewStuffCore_autogen/EWIEGA46WW/moc_xmlloader.cpp:186
#21 0x00007f548ba9654c in KNSCore::handleData (q=0x5606c83b4ef0, data=...) at /usr/src/debug/knewstuff-5.91.0-1.1.x86_64/src/core/xmlloader.cpp:31
Comment 2 Nicolas Fella 2022-09-06 21:22:14 UTC

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