Bug 425944 - Crash on open
Summary: Crash on open
Status: RESOLVED DUPLICATE of bug 418148
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-08-29 14:42 UTC by Thiago Sueto
Modified: 2021-07-15 13:25 UTC (History)
3 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 Thiago Sueto 2020-08-29 14:42:04 UTC
Application: plasma-discover (5.19.80)

Qt Version: 5.15.0
Frameworks Version: 5.74.0
Operating System: Linux 5.8.0-1-default x86_64
Windowing system: Wayland
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
Discover crashes when you attempt to open it on current Plasma master branch.
The interface doesn't even show up before crashing.

The crash can be reproduced every time.

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

[New LWP 15418]
[New LWP 15419]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f00c01377e2 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
[Current thread is 1 (Thread 0x7f00be2fa900 (LWP 15417))]

Thread 3 (Thread 0x7f00baa17700 (LWP 15419)):
[KCrash Handler]
#4  QQmlRefPointer<QQmlTypePrivate const>::QQmlRefPointer(QQmlRefPointer<QQmlTypePrivate const> const&) (other=..., this=0x7f00baa15fa0) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/include/QtQml/5.15.0/QtQml/private/../../../../../src/qml/qml/ftw/qqmlrefcount_p.h:152
#5  QQmlType::QQmlType(QQmlType const&) (this=0x7f00baa15fa0) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/include/QtQml/5.15.0/QtQml/private/../../../../../src/qml/qml/qqmltype_p.h:79
#6  0x00007f00c1f7ade3 in QQmlPropertyCacheCreator<QQmlTypeCompiler>::propertyCacheForObject(QmlIR::Object const*, QQmlBindingInstantiationContext const&, QQmlError*) const (this=this@entry=0x7f00baa16460, obj=obj@entry=0x7f00ac360d50, context=..., error=error@entry=0x7f00baa16038) at /usr/include/qt5/QtCore/qstring.h:1065
#7  0x00007f00c1f7e044 in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectRecursively(int, QQmlBindingInstantiationContext const&, QQmlPropertyCacheCreator<QQmlTypeCompiler>::VMEMetaObjectIsRequired) (this=this@entry=0x7f00baa16460, objectIndex=27, context=..., isVMERequired=isVMERequired@entry=QQmlPropertyCacheCreator<QQmlTypeCompiler>::VMEMetaObjectIsRequired::Maybe) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/include/QtQml/5.15.0/QtQml/private/../../../../../src/qml/qml/ftw/qqmlrefcount_p.h:138
#8  0x00007f00c1f7e454 in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectRecursively(int, QQmlBindingInstantiationContext const&, QQmlPropertyCacheCreator<QQmlTypeCompiler>::VMEMetaObjectIsRequired) (this=this@entry=0x7f00baa16460, objectIndex=22, context=..., isVMERequired=isVMERequired@entry=QQmlPropertyCacheCreator<QQmlTypeCompiler>::VMEMetaObjectIsRequired::Maybe) at /usr/include/c++/9/bits/atomic_base.h:326
#9  0x00007f00c1f7e454 in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectRecursively(int, QQmlBindingInstantiationContext const&, QQmlPropertyCacheCreator<QQmlTypeCompiler>::VMEMetaObjectIsRequired) (this=this@entry=0x7f00baa16460, objectIndex=21, context=..., isVMERequired=isVMERequired@entry=QQmlPropertyCacheCreator<QQmlTypeCompiler>::VMEMetaObjectIsRequired::Maybe) at /usr/include/c++/9/bits/atomic_base.h:326
#10 0x00007f00c1f7e454 in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectRecursively(int, QQmlBindingInstantiationContext const&, QQmlPropertyCacheCreator<QQmlTypeCompiler>::VMEMetaObjectIsRequired) (this=this@entry=0x7f00baa16460, objectIndex=objectIndex@entry=0, context=..., isVMERequired=isVMERequired@entry=QQmlPropertyCacheCreator<QQmlTypeCompiler>::VMEMetaObjectIsRequired::Maybe) at /usr/include/c++/9/bits/atomic_base.h:326
#11 0x00007f00c1f7ed91 in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjects() (this=this@entry=0x7f00baa16460) at /usr/include/c++/9/bits/stl_iterator.h:806
#12 0x00007f00c1f797aa in QQmlTypeCompiler::compile() (this=this@entry=0x7f00baa165c0) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/src/qml/qml/qqmltypecompiler.cpp:85
#13 0x00007f00c1eb4be7 in QQmlTypeData::compile(QQmlRefPointer<QQmlTypeNameCache> const&, QV4::ResolvedTypeReferenceMap*, std::function<QByteArray ()> const&) (this=this@entry=0x55dbf59ab3b0, typeNameCache=..., resolvedTypeCache=resolvedTypeCache@entry=0x7f00baa166b0, dependencyHasher=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/src/qml/qml/qqmltypedata.cpp:776
#14 0x00007f00c1ebb247 in QQmlTypeData::done() (this=<optimized out>) at /usr/include/c++/9/bits/std_function.h:87
#15 0x00007f00c1ea4c45 in QQmlDataBlob::tryDone() (this=0x55dbf59ab3b0) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/include/QtQml/5.15.0/QtQml/private/../../../../../src/qml/qml/ftw/qqmlrefcount_p.h:116
#16 QQmlDataBlob::tryDone() (this=0x55dbf59ab3b0) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/src/qml/qml/qqmldatablob.cpp:509
#17 0x00007f00c1f101c3 in QQmlTypeLoader::setData(QQmlDataBlob*, QQmlDataBlob::SourceCodeData const&) (this=this@entry=0x55dbf5a80918, blob=blob@entry=0x55dbf59ab3b0, d=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/src/qml/qml/qqmltypeloader.cpp:457
#18 0x00007f00c1f10524 in QQmlTypeLoader::setData(QQmlDataBlob*, QString const&) (this=this@entry=0x55dbf5a80918, blob=blob@entry=0x55dbf59ab3b0, fileName=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/src/qml/qml/qqmltypeloader.cpp:437
#19 0x00007f00c1f10b10 in QQmlTypeLoader::loadThread(QQmlDataBlob*) (this=0x55dbf5a80918, blob=blob@entry=0x55dbf59ab3b0) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/src/qml/qml/qqmltypeloader.cpp:299
#20 0x00007f00c1ec4aed in QQmlTypeLoaderThread::loadThread(QQmlDataBlob*) (this=<optimized out>, b=0x55dbf59ab3b0) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/src/qml/qml/qqmltypeloaderthread.cpp:162
#21 0x00007f00c1f98428 in QQmlThreadPrivate::threadEvent() (this=this@entry=0x55dbf5a5cae0) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/src/qml/qml/ftw/qqmlthread.cpp:204
#22 0x00007f00c1f98b32 in QQmlThreadPrivate::event(QEvent*) (this=0x55dbf5a5cae0, e=0x55dbf5ab51e0) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/src/qml/qml/ftw/qqmlthread.cpp:142
#23 0x00007f00c22fe0cf in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55dbf5a5cae0, e=0x55dbf5ab51e0) at kernel/qapplication.cpp:3671
#24 0x00007f00c125fc1a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55dbf5a5cae0, event=0x55dbf5ab51e0) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#25 0x00007f00c1262641 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x55dbf5a82b90) at kernel/qcoreapplication.cpp:1815
#26 0x00007f00c12b79d3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x7f00ac004bb0) at kernel/qeventdispatcher_glib.cpp:277
#27 0x00007f00bf6f62b7 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#28 0x00007f00bf6f6638 in  () at /usr/lib64/libglib-2.0.so.0
#29 0x00007f00bf6f66ef in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#30 0x00007f00c12b705f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f00ac000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#31 0x00007f00c125e5db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f00baa16c80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#32 0x00007f00c108073e in QThread::exec() (this=this@entry=0x55dbf5a5cae0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#33 0x00007f00c1f980e5 in QQmlThreadPrivate::run() (this=0x55dbf5a5cae0) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/src/qml/qml/ftw/qqmlthread.cpp:155
#34 0x00007f00c1081871 in QThreadPrivate::start(void*) (arg=0x55dbf5a5cae0) at thread/qthread_unix.cpp:342
#35 0x00007f00c0130eaa in start_thread () at /lib64/libpthread.so.0
#36 0x00007f00c0d02aff in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f00bbc28700 (LWP 15418)):
#0  0x00007f00c1081ddf in QMutex::unlock() (this=this@entry=0x55dbf59dfd10) at /usr/include/c++/10/bits/atomic_base.h:776
#1  0x00007f00c12b6f7e in QMutexLocker::unlock() (this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:270
#2  QMutexLocker::~QMutexLocker() (this=<synthetic pointer>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:243
#3  QThreadData::canWaitLocked() (this=0x55dbf59dfce0) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:272
#4  postEventSourcePrepare(GSource*, gint*) (s=0x7f00b4004fe0, timeout=0x7f00bbc27a84) at kernel/qeventdispatcher_glib.cpp:260
#5  0x00007f00bf6f5af2 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#6  0x00007f00bf6f64fb in  () at /usr/lib64/libglib-2.0.so.0
#7  0x00007f00bf6f66ef in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#8  0x00007f00c12b707b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f00b4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#9  0x00007f00c125e5db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f00bbc27c50, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#10 0x00007f00c108073e in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#11 0x00007f00c283da17 in  () at /usr/lib64/libQt5DBus.so.5
#12 0x00007f00c1081871 in QThreadPrivate::start(void*) (arg=0x7f00c28aad80) at thread/qthread_unix.cpp:342
#13 0x00007f00c0130eaa in start_thread () at /lib64/libpthread.so.0
#14 0x00007f00c0d02aff in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f00be2fa900 (LWP 15417)):
#0  0x00007f00c01377e2 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f00c10876db in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., deadline=..., this=0x55dbf5a842d0) at thread/qwaitcondition_unix.cpp:146
#2  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>, mutex=0x55dbf5a5cb50, deadline=...) at thread/qwaitcondition_unix.cpp:225
#3  0x00007f00c1f987ed in QQmlThreadPrivate::wait() (this=<optimized out>) at /usr/include/qt5/QtCore/qdeadlinetimer.h:68
#4  QQmlThread::internalCallMethodInThread(QQmlThread::Message*) (this=0x55dbf5a80b20, message=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/src/qml/qml/ftw/qqmlthread.cpp:353
#5  0x00007f00c1ec4d25 in QQmlThread::callMethodInThread<QQmlDataBlob*, QQmlDataBlob*, QQmlTypeLoaderThread>(void (QQmlTypeLoaderThread::*)(QQmlDataBlob*), QQmlDataBlob* const&) (arg=<synthetic pointer>: <optimized out>, Member=<optimized out>, this=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/include/QtQml/5.15.0/QtQml/private/../../../../../src/qml/qml/ftw/qqmlthread_p.h:161
#6  QQmlTypeLoaderThread::load(QQmlDataBlob*) (this=<optimized out>, b=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/src/qml/qml/qqmltypeloaderthread.cpp:83
#7  0x000055dbf5a80918 in  ()
#8  0x000055dbf59ab3b0 in  ()
#9  0x00007ffc38e60bb0 in  ()
#10 0x00007f00c1f10e76 in QQmlTypeLoader::load(QQmlDataBlob*, QQmlTypeLoader::Mode) (this=this@entry=0x0, blob=blob@entry=0x7f00c1f16f75 <QQmlTypeLoader::doLoad<PlainLoader>(PlainLoader const&, QQmlDataBlob*, QQmlTypeLoader::Mode)+133>, mode=mode@entry=QQmlTypeLoader::PreferSynchronous) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/src/qml/qml/qqmltypeloader.cpp:237
#11 0x00007f00c1f129c8 in QQmlTypeLoader::getType(QUrl const&, QQmlTypeLoader::Mode) (this=0x0, unNormalizedUrl=..., mode=mode@entry=QQmlTypeLoader::PreferSynchronous) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/src/qml/qml/qqmltypeloader.cpp:825
#12 0x00007f00c1ee4e0d in QQmlComponentPrivate::loadUrl(QUrl const&, QQmlComponent::CompilationMode) (this=0x55dbf5aae660, newUrl=..., mode=mode@entry=QQmlComponent::PreferSynchronous) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/src/qml/qml/qqmlengine.h:172
#13 0x00007f00c1ee526b in QQmlComponent::loadUrl(QUrl const&) (this=this@entry=0x55dbf5a8a310, url=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/src/qml/qml/qqmlcomponent.cpp:663
#14 0x00007f00c1f5a0f3 in QQmlApplicationEnginePrivate::startLoad(QUrl const&, QByteArray const&, bool) (this=0x55dbf5a807e0, url=..., data=..., dataFlag=dataFlag@entry=false) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-ku.1.1.x86_64/src/qml/qml/qqmlapplicationengine.cpp:129
#15 0x00007f00c1f5a1bd in QQmlApplicationEngine::load(QUrl const&) (this=<optimized out>, url=...) at /usr/include/qt5/QtCore/qarraydata.h:257
#16 0x000055dbf5519490 in  ()
#17 0x000055dbf5511cf6 in  ()
#18 0x00007f00c0c29cca in __libc_start_main () at /lib64/libc.so.6
#19 0x000055dbf551299a in _start ()
[Inferior 1 (process 15417) detached]

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

Reported using DrKonqi
Comment 1 David Edmundson 2021-07-15 13:25:53 UTC

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