Bug 428053

Summary: Discover crashes when started, every time
Product: [Applications] Discover Reporter: Robert Griffiths <r.griff444>
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED FIXED    
Severity: crash CC: aleixpol, nate, r.griff444
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Robert Griffiths 2020-10-21 10:29:04 UTC
Application: plasma-discover (5.20.80)

Qt Version: 5.15.1
Frameworks Version: 5.76.0
Operating System: Linux 5.8.14-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed: Clicked Discover icon on panel. Tried clicking again > same result, tried restarting from crash notification > same result. Started happening yesterday, Oct 20th after TW Jrypton update, no success after last nights update.

The crash can be reproduced every time.

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

[New LWP 11438]
[New LWP 11439]
[New LWP 11440]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007fd14650b082 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
[Current thread is 1 (Thread 0x7fd1446d8940 (LWP 11436))]

Thread 4 (Thread 0x7fd13bfff640 (LWP 11440)):
[KCrash Handler]
#4  QQmlRefPointer<QQmlTypePrivate const>::QQmlRefPointer (other=..., this=0x7fd13bffdb60) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/qml/ftw/qqmlrefcount_p.h:152
#5  QQmlType::QQmlType (this=0x7fd13bffdb60) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmltype.cpp:121
#6  0x00007fd148301d9d in QQmlPropertyCacheCreator<QQmlTypeCompiler>::propertyCacheForObject (this=this@entry=0x7fd13bffdf00, obj=obj@entry=0x7fd1302fb180, context=..., error=error@entry=0x7fd13bffdbf8) at /usr/include/c++/10/bits/atomic_base.h:325
#7  0x00007fd148303ef4 in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectRecursively (this=this@entry=0x7fd13bffdf00, objectIndex=2, context=..., isVMERequired=isVMERequired@entry=QQmlPropertyCacheCreator<QQmlTypeCompiler>::VMEMetaObjectIsRequired::Maybe) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/qml/ftw/qqmlrefcount_p.h:138
#8  0x00007fd148304299 in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectRecursively (this=this@entry=0x7fd13bffdf00, objectIndex=objectIndex@entry=0, context=..., isVMERequired=isVMERequired@entry=QQmlPropertyCacheCreator<QQmlTypeCompiler>::VMEMetaObjectIsRequired::Maybe) at /usr/include/qt5/QtCore/qendian.h:288
#9  0x00007fd148304da5 in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjects (this=this@entry=0x7fd13bffdf00) at /usr/include/c++/10/bits/stl_iterator.h:953
#10 0x00007fd14830064f in QQmlTypeCompiler::compile (this=this@entry=0x7fd13bffe070) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmltypecompiler.cpp:85
#11 0x00007fd148257825 in QQmlTypeData::compile(QQmlRefPointer<QQmlTypeNameCache> const&, QV4::ResolvedTypeReferenceMap*, std::function<QByteArray ()> const&) (this=this@entry=0x7fd130228070, typeNameCache=..., resolvedTypeCache=resolvedTypeCache@entry=0x7fd13bffe170, dependencyHasher=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmltypedata.cpp:776
#12 0x00007fd14825df30 in QQmlTypeData::done (this=0x7fd130228070) at /usr/include/c++/10/bits/std_function.h:87
#13 0x00007fd14824ce05 in QQmlDataBlob::tryDone (this=0x7fd130228070) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/qml/ftw/qqmlrefcount_p.h:116
#14 QQmlDataBlob::tryDone (this=0x7fd130228070) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmldatablob.cpp:515
#15 0x00007fd1482a6b85 in QQmlTypeLoader::setData (this=this@entry=0x55da1743d938, blob=blob@entry=0x7fd130228070, d=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmltypeloader.cpp:457
#16 0x00007fd1482a7242 in QQmlTypeLoader::setData (this=this@entry=0x55da1743d938, blob=blob@entry=0x7fd130228070, fileName=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmltypeloader.cpp:437
#17 0x00007fd1482a84bc in QQmlTypeLoader::loadThread (this=this@entry=0x55da1743d938, blob=blob@entry=0x7fd130228070) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmltypeloader.cpp:299
#18 0x00007fd1482a887c in PlainLoader::loadThread (blob=0x7fd130228070, loader=0x55da1743d938, this=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmltypeloader.cpp:146
#19 QQmlTypeLoader::doLoad<PlainLoader> (loader=..., mode=QQmlTypeLoader::PreferSynchronous, blob=0x7fd130228070, this=0x55da1743d938) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmltypeloader.cpp:205
#20 QQmlTypeLoader::load (this=this@entry=0x55da1743d938, blob=blob@entry=0x7fd130228070, mode=mode@entry=QQmlTypeLoader::PreferSynchronous) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmltypeloader.cpp:237
#21 0x00007fd1482a9050 in QQmlTypeLoader::getType (this=this@entry=0x55da1743d938, unNormalizedUrl=..., mode=mode@entry=QQmlTypeLoader::PreferSynchronous) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmltypeloader.cpp:825
#22 0x00007fd14825cdf6 in QQmlTypeData::resolveTypes (this=this@entry=0x55da175f71d0) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/qml/qqmldatablob_p.h:95
#23 0x00007fd14825fa8d in QQmlTypeData::allDependenciesDone (this=0x55da175f71d0) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmltypedata.cpp:745
#24 0x00007fd1482a6e0a in QQmlTypeLoader::setData (this=this@entry=0x55da1743d938, blob=blob@entry=0x55da175f71d0, d=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmltypeloader.cpp:450
#25 0x00007fd1482a7242 in QQmlTypeLoader::setData (this=this@entry=0x55da1743d938, blob=blob@entry=0x55da175f71d0, fileName=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmltypeloader.cpp:437
#26 0x00007fd1482a84bc in QQmlTypeLoader::loadThread (this=0x55da1743d938, blob=blob@entry=0x55da175f71d0) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmltypeloader.cpp:299
#27 0x00007fd14826755d in QQmlTypeLoaderThread::loadThread (this=<optimized out>, b=0x55da175f71d0) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmltypeloaderthread.cpp:162
#28 0x00007fd14831a628 in QQmlThreadPrivate::threadEvent (this=this@entry=0x55da175a3a60) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/ftw/qqmlthread.cpp:204
#29 0x00007fd14831ae22 in QQmlThreadPrivate::event (this=0x55da175a3a60, e=0x55da175f6d00) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/ftw/qqmlthread.cpp:142
#30 0x00007fd14867a14f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55da175a3a60, e=0x55da175f6d00) at kernel/qapplication.cpp:3630
#31 0x00007fd14763005a in QCoreApplication::notifyInternal2 (receiver=0x55da175a3a60, event=0x55da175f6d00) at ../../include/QtCore/5.15.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#32 0x00007fd147632a91 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55da1759d440) at kernel/qcoreapplication.cpp:1817
#33 0x00007fd147687f23 in postEventSourceDispatch (s=0x7fd1300047b0) at kernel/qeventdispatcher_glib.cpp:277
#34 0x00007fd145ad22d7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#35 0x00007fd145ad2658 in ?? () from /usr/lib64/libglib-2.0.so.0
#36 0x00007fd145ad270f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#37 0x00007fd1476875af in QEventDispatcherGlib::processEvents (this=0x7fd130000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#38 0x00007fd14762ea1b in QEventLoop::exec (this=this@entry=0x7fd13bffeba0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#39 0x00007fd14744f7ce in QThread::exec (this=this@entry=0x55da175a3a60) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#40 0x00007fd14831a2d5 in QQmlThreadPrivate::run (this=0x55da175a3a60) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/ftw/qqmlthread.cpp:155
#41 0x00007fd147450911 in QThreadPrivate::start (arg=0x55da175a3a60) at thread/qthread_unix.cpp:329
#42 0x00007fd146504eb1 in start_thread () from /lib64/libpthread.so.0
#43 0x00007fd1470cfccf in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fd141752640 (LWP 11439)):
#0  0x00007fd1470c4e7f in poll () from /lib64/libc.so.6
#1  0x00007fd145ad25ee in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd145ad270f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd1476875cb in QEventDispatcherGlib::processEvents (this=0x7fd134000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fd14762ea1b in QEventLoop::exec (this=this@entry=0x7fd141751b70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fd14744f7ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fd148bbaa27 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007fd147450911 in QThreadPrivate::start (arg=0x7fd148c27d80) at thread/qthread_unix.cpp:329
#8  0x00007fd146504eb1 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fd1470cfccf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fd1425f8640 (LWP 11438)):
#0  0x00007fd1470c4e7f in poll () from /lib64/libc.so.6
#1  0x00007fd1459cd862 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fd1459cf26c in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fd142803270 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fd147450911 in QThreadPrivate::start (arg=0x55da17469620) at thread/qthread_unix.cpp:329
#5  0x00007fd146504eb1 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fd1470cfccf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fd1446d8940 (LWP 11436)):
#0  0x00007fd14650b082 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd14745692b in QWaitConditionPrivate::wait (deadline=..., deadline=..., this=0x55da175879a0) at thread/qwaitcondition_unix.cpp:146
#2  QWaitCondition::wait (this=this@entry=0x55da175a3ad8, mutex=0x55da175a3ad0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#3  0x00007fd14831aa2b in QQmlThreadPrivate::wait (this=<optimized out>) at /usr/include/qt5/QtCore/qdeadlinetimer.h:68
#4  QQmlThread::internalCallMethodInThread (this=0x55da175cf120, message=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/ftw/qqmlthread.cpp:353
#5  0x00007fd148267795 in QQmlThread::callMethodInThread<QQmlDataBlob*, QQmlDataBlob*, QQmlTypeLoaderThread> (arg=<synthetic pointer>: <optimized out>, Member=<optimized out>, this=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/include/QtQml/5.15.1/QtQml/private/../../../../../src/qml/qml/ftw/qqmlthread_p.h:161
#6  QQmlTypeLoaderThread::load (this=<optimized out>, b=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmltypeloaderthread.cpp:83
#7  0x000055da1743d938 in ?? ()
#8  0x000055da175f71d0 in ?? ()
#9  0x00007ffcee044af8 in ?? ()
#10 0x00007fd1482a9050 in QQmlTypeLoader::getType (this=0x7ffcee044b80, unNormalizedUrl=..., mode=mode@entry=QQmlTypeLoader::PreferSynchronous) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmltypeloader.cpp:825
#11 0x00007fd148283cdf in QQmlComponentPrivate::loadUrl (this=0x55da175fc290, newUrl=..., mode=mode@entry=QQmlComponent::PreferSynchronous) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmlengine.h:172
#12 0x00007fd1482840db in QQmlComponent::loadUrl (this=this@entry=0x55da175f67b0, url=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmlcomponent.cpp:663
#13 0x00007fd1482e4d63 in QQmlApplicationEnginePrivate::startLoad (this=0x55da1743d800, url=..., data=..., dataFlag=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.1-ku.2.1.x86_64/src/qml/qml/qqmlapplicationengine.cpp:129
#14 0x00007fd1482e4e61 in QQmlApplicationEngine::load (this=<optimized out>, url=...) at /usr/include/qt5/QtCore/qarraydata.h:257
#15 0x000055da158ce4f0 in ?? ()
#16 0x000055da158c6d84 in ?? ()
#17 0x00007fd146ff7e0a in __libc_start_main () from /lib64/libc.so.6
#18 0x000055da158c79fa in _start ()
[Inferior 1 (process 11436) detached]

Possible duplicates by query: bug 425944, bug 420877, bug 412649, bug 394294.

Reported using DrKonqi
Comment 1 Robert Griffiths 2020-10-21 10:31:48 UTC
typo > Opensuse Krypton
Comment 2 Nate Graham 2020-10-26 17:35:57 UTC
Oh my goodness, what a scary backtrace.
Comment 3 Robert Griffiths 2020-10-26 17:37:55 UTC
That was dr konqi not me
Comment 4 Robert Griffiths 2020-11-01 23:23:06 UTC
Works now.
Comment 5 Robert Griffiths 2020-11-02 11:53:32 UTC
Sorry, it was late... I had many problems with KDE updates and Discover started working sometime after 3 unstable updates (because I was rolling back to a working instance each time) so I don't know which one fixed it.

But I also deleted my .cache folder due to the updates leaving my plasmashell unable to start (seems like something to do with digital clock because it won't start now at all) so maybe the cache was the cause? I can't rollback to test and as no-one else has commented I have marked this resolved.