Bug 394294 - Crash after clicking "update" in system tray
Summary: Crash after clicking "update" in system tray
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.12.5
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-05-15 21:27 UTC by wowhellmail
Modified: 2022-01-29 14:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (11.12 KB, text/plain)
2019-09-11 11:38 UTC, Wantoyo
Details
New crash information added by DrKonqi (33.73 KB, text/plain)
2022-01-29 14:04 UTC, clin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wowhellmail 2018-05-15 21:27:27 UTC
Application: plasma-discover (5.12.5)

Qt Version: 5.10.0
Frameworks Version: 5.46.0
Operating System: Linux 4.13.0-41-generic x86_64
Distribution: KDE neon User Edition 5.12

-- Information about the crash:
- What I was doing when the application crashed:
I just tried to update system and discover crashed 2 seconds after clicking "update" button in notification.
Now it immediately crashes every time i try to open it, even if i run it from launcher.
I haven't messed with it any configuration files, everything is by default.

The crash can be reproduced every time.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
[Current thread is 1 (Thread 0x7f18f63fb8c0 (LWP 8122))]

Thread 3 (Thread 0x7f18d934a700 (LWP 8125)):
[KCrash Handler]
#6  QByteArray::~QByteArray (this=<optimized out>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:469
#7  rawStringData (index=<error reading variable: Cannot access memory at address 0xc>, mo=0x7f18f5a530e0 <QQuickAccessibleAttached::staticMetaObject>) at kernel/qmetaobject.cpp:161
#8  QMetaProperty::name (this=this@entry=0x7f18d9348630) at kernel/qmetaobject.cpp:2897
#9  0x00007f18f2cb035a in QQmlPropertyCache::append (this=this@entry=0x7f18cc1925d0, metaObject=metaObject@entry=0x7f18f5a530e0 <QQuickAccessibleAttached::staticMetaObject>, revision=revision@entry=-1, propertyFlags=..., propertyFlags@entry=..., methodFlags=..., methodFlags@entry=..., signalFlags=..., signalFlags@entry=...) at qml/qqmlpropertycache.cpp:620
#10 0x00007f18f2cb1e92 in QQmlPropertyCache::copyAndAppend (this=0x7f18cc05e540, metaObject=0x7f18f5a530e0 <QQuickAccessibleAttached::staticMetaObject>, revision=revision@entry=-1, propertyFlags=..., methodFlags=..., signalFlags=...) at qml/qqmlpropertycache.cpp:470
#11 0x00007f18f2cb1ec2 in QQmlPropertyCache::copyAndAppend (this=<optimized out>, metaObject=<optimized out>, propertyFlags=..., propertyFlags@entry=..., methodFlags=..., methodFlags@entry=..., signalFlags=..., signalFlags@entry=...) at qml/qqmlpropertycache.cpp:451
#12 0x00007f18f2c78e49 in QQmlMetaTypeData::propertyCache (this=0x7f18f30275c0 <(anonymous namespace)::Q_QGS_metaTypeData::innerFunction()::holder>, metaObject=metaObject@entry=0x7f18f5a530e0 <QQuickAccessibleAttached::staticMetaObject>) at qml/qqmlmetatype.cpp:2269
#13 0x00007f18f2c78f22 in QQmlMetaType::propertyCache (metaObject=metaObject@entry=0x7f18f5a530e0 <QQuickAccessibleAttached::staticMetaObject>) at qml/qqmlmetatype.cpp:2278
#14 0x00007f18f2b0d8fc in QJSEnginePrivate::cache (metaObject=0x7f18f5a530e0 <QQuickAccessibleAttached::staticMetaObject>, this=<optimized out>) at ../../include/QtQml/5.10.0/QtQml/private/../../../../../src/qml/jsapi/qjsengine_p.h:187
#15 QQmlPropertyCacheCreator<QQmlTypeCompiler>::propertyCacheForObject (this=<optimized out>, obj=<optimized out>, context=..., error=0x7f18d93488c0) at compiler/qqmlpropertycachecreator_p.h:236
#16 0x00007f18f2b0fd4f in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectRecursively (this=this@entry=0x7f18d9348a70, objectIndex=1, context=...) at compiler/qqmlpropertycachecreator_p.h:151
#17 0x00007f18f2b0fecd in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectRecursively (this=this@entry=0x7f18d9348a70, objectIndex=objectIndex@entry=0, context=...) at compiler/qqmlpropertycachecreator_p.h:172
#18 0x00007f18f2b0be08 in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjects (this=0x7f18d9348a70) at compiler/qqmlpropertycachecreator_p.h:111
#19 QQmlTypeCompiler::compile (this=this@entry=0x7f18d9348c30) at compiler/qqmltypecompiler.cpp:85
#20 0x00007f18f2c8c7b1 in QQmlTypeData::compile(QQmlRefPointer<QQmlTypeNameCache> const&, QV4::CompiledData::ResolvedTypeReferenceMap const&, std::function<bool (QCryptographicHash*)> const&) (this=this@entry=0x7f18cc17bb70, typeNameCache=..., resolvedTypeCache=..., dependencyHasher=...) at qml/qqmltypeloader.cpp:2568
#21 0x00007f18f2c92b66 in QQmlTypeData::done (this=0x7f18cc17bb70) at qml/qqmltypeloader.cpp:2287
#22 0x00007f18f2c89e4c in QQmlDataBlob::tryDone (this=0x7f18cc17bb70) at qml/qqmltypeloader.cpp:659
#23 0x00007f18f2c8a101 in QQmlTypeLoader::setData (this=this@entry=0x19be000, blob=blob@entry=0x7f18cc17bb70, d=...) at qml/qqmltypeloader.cpp:1288
#24 0x00007f18f2c8ab18 in QQmlTypeLoader::setData (this=this@entry=0x19be000, blob=0x7f18cc17bb70, fileName=...) at qml/qqmltypeloader.cpp:1268
#25 0x00007f18f2c8beda in QQmlTypeLoader::loadThread (this=this@entry=0x19be000, blob=blob@entry=0x7f18cc17bb70) at qml/qqmltypeloader.cpp:1143
#26 0x00007f18f2c8c053 in PlainLoader::loadThread (this=<optimized out>, blob=0x7f18cc17bb70, loader=0x19be000) at qml/qqmltypeloader.cpp:988
#27 QQmlTypeLoader::doLoad<PlainLoader> (mode=QQmlTypeLoader::PreferSynchronous, blob=0x7f18cc17bb70, loader=..., this=0x19be000) at qml/qqmltypeloader.cpp:1047
#28 QQmlTypeLoader::load (this=this@entry=0x19be000, blob=blob@entry=0x7f18cc17bb70, mode=mode@entry=QQmlTypeLoader::PreferSynchronous) at qml/qqmltypeloader.cpp:1079
#29 0x00007f18f2c8da4e in QQmlTypeLoader::getType (this=0x19be000, url=..., mode=mode@entry=QQmlTypeLoader::PreferSynchronous) at qml/qqmltypeloader.cpp:1656
#30 0x00007f18f2c8f5e6 in QQmlTypeData::resolveTypes (this=this@entry=0x7f18cc16e300) at qml/qqmltypeloader.cpp:2666
#31 0x00007f18f2c8f7d2 in QQmlTypeData::allDependenciesDone (this=0x7f18cc16e300) at qml/qqmltypeloader.cpp:2539
#32 0x00007f18f2c8a155 in QQmlTypeLoader::setData (this=this@entry=0x19be000, blob=blob@entry=0x7f18cc16e300, d=...) at qml/qqmltypeloader.cpp:1281
#33 0x00007f18f2c8ab18 in QQmlTypeLoader::setData (this=this@entry=0x19be000, blob=0x7f18cc16e300, fileName=...) at qml/qqmltypeloader.cpp:1268
#34 0x00007f18f2c8beda in QQmlTypeLoader::loadThread (this=this@entry=0x19be000, blob=blob@entry=0x7f18cc16e300) at qml/qqmltypeloader.cpp:1143
#35 0x00007f18f2c8c053 in PlainLoader::loadThread (this=<optimized out>, blob=0x7f18cc16e300, loader=0x19be000) at qml/qqmltypeloader.cpp:988
#36 QQmlTypeLoader::doLoad<PlainLoader> (mode=QQmlTypeLoader::PreferSynchronous, blob=0x7f18cc16e300, loader=..., this=0x19be000) at qml/qqmltypeloader.cpp:1047
#37 QQmlTypeLoader::load (this=this@entry=0x19be000, blob=blob@entry=0x7f18cc16e300, mode=mode@entry=QQmlTypeLoader::PreferSynchronous) at qml/qqmltypeloader.cpp:1079
#38 0x00007f18f2c8da4e in QQmlTypeLoader::getType (this=0x19be000, url=..., mode=mode@entry=QQmlTypeLoader::PreferSynchronous) at qml/qqmltypeloader.cpp:1656
#39 0x00007f18f2c8f5e6 in QQmlTypeData::resolveTypes (this=this@entry=0x19d7330) at qml/qqmltypeloader.cpp:2666
#40 0x00007f18f2c8f7d2 in QQmlTypeData::allDependenciesDone (this=0x19d7330) at qml/qqmltypeloader.cpp:2539
#41 0x00007f18f2c8a155 in QQmlTypeLoader::setData (this=this@entry=0x19be000, blob=blob@entry=0x19d7330, d=...) at qml/qqmltypeloader.cpp:1281
#42 0x00007f18f2c8ab18 in QQmlTypeLoader::setData (this=this@entry=0x19be000, blob=0x19d7330, fileName=...) at qml/qqmltypeloader.cpp:1268
#43 0x00007f18f2c8beda in QQmlTypeLoader::loadThread (this=0x19be000, blob=blob@entry=0x19d7330) at qml/qqmltypeloader.cpp:1143
#44 0x00007f18f2c8bf5d in QQmlTypeLoaderThread::loadThread (this=<optimized out>, b=0x19d7330) at qml/qqmltypeloader.cpp:876
#45 0x00007f18f2cfad78 in QQmlThreadPrivate::threadEvent (this=0x1998d50) at qml/ftw/qqmlthread.cpp:196
#46 0x00007f18f2cfb41a in QQmlThreadPrivate::event (this=0x1998d50, e=0x19d7540) at qml/ftw/qqmlthread.cpp:134
#47 0x00007f18f3906acc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1998d50, e=0x19d7540) at kernel/qapplication.cpp:3732
#48 0x00007f18f390e417 in QApplication::notify (this=0x7ffe8e9f5130, receiver=0x1998d50, e=0x19d7540) at kernel/qapplication.cpp:3491
#49 0x00007f18f23013c8 in QCoreApplication::notifyInternal2 (receiver=0x1998d50, event=event@entry=0x19d7540) at kernel/qcoreapplication.cpp:1044
#50 0x00007f18f2303fcb in QCoreApplication::sendEvent (event=0x19d7540, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#51 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1993640) at kernel/qcoreapplication.cpp:1719
#52 0x00007f18f2304438 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1573
#53 0x00007f18f2358fa3 in postEventSourceDispatch (s=0x7f18cc0012d0) at kernel/qeventdispatcher_glib.cpp:276
#54 0x00007f18ec37c197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007f18ec37c3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007f18ec37c49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007f18f23585cb in QEventDispatcherGlib::processEvents (this=0x7f18cc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#58 0x00007f18f22ff64a in QEventLoop::exec (this=this@entry=0x7f18d9349ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#59 0x00007f18f211f554 in QThread::exec (this=this@entry=0x1998d50) at thread/qthread.cpp:522
#60 0x00007f18f2cfaa35 in QQmlThreadPrivate::run (this=0x1998d50) at qml/ftw/qqmlthread.cpp:147
#61 0x00007f18f21246eb in QThreadPrivate::start (arg=0x1998d50) at thread/qthread_unix.cpp:376
#62 0x00007f18ee4736ba in start_thread (arg=0x7f18d934a700) at pthread_create.c:333
#63 0x00007f18f172841d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f18da55b700 (LWP 8124)):
#0  0x00007f18f171827d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f18ec3bf6f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f18ec37be74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f18ec37c330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f18ec37c49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f18f23585cb in QEventDispatcherGlib::processEvents (this=0x7f18d40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f18f22ff64a in QEventLoop::exec (this=this@entry=0x7f18da55acd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007f18f211f554 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#8  0x00007f18f40202c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007f18f21246eb in QThreadPrivate::start (arg=0x7f18f4294d60) at thread/qthread_unix.cpp:376
#10 0x00007f18ee4736ba in start_thread (arg=0x7f18da55b700) at pthread_create.c:333
#11 0x00007f18f172841d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f18f63fb8c0 (LWP 8122)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f18f212567b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x19baed0) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1998dc0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f18f2cfb0d3 in QQmlThreadPrivate::wait (this=<optimized out>) at qml/ftw/qqmlthread.cpp:62
#4  QQmlThread::internalCallMethodInThread (this=0x1999be0, message=<optimized out>) at qml/ftw/qqmlthread.cpp:334
#5  0x00007f18f2c85145 in QQmlThread::callMethodInThread<QQmlDataBlob*, QQmlDataBlob*, QQmlTypeLoaderThread> (arg=<synthetic pointer>, Member=<optimized out>, this=<optimized out>) at ../../include/QtQml/5.10.0/QtQml/private/../../../../../src/qml/qml/ftw/qqmlthread_p.h:165
#6  QQmlTypeLoaderThread::load (this=<optimized out>, b=b@entry=0x19d7330) at qml/qqmltypeloader.cpp:813
#7  0x00007f18f2c8bfc8 in PlainLoader::load (this=<optimized out>, loader=0x19be000, blob=0x19d7330) at qml/qqmltypeloader.cpp:992
#8  QQmlTypeLoader::doLoad<PlainLoader> (mode=QQmlTypeLoader::PreferSynchronous, blob=0x19d7330, loader=..., this=0x19be000) at qml/qqmltypeloader.cpp:1056
#9  QQmlTypeLoader::load (this=this@entry=0x19be000, blob=blob@entry=0x19d7330, mode=mode@entry=QQmlTypeLoader::PreferSynchronous) at qml/qqmltypeloader.cpp:1079
#10 0x00007f18f2c8da4e in QQmlTypeLoader::getType (this=0x19be000, url=..., mode=QQmlTypeLoader::PreferSynchronous) at qml/qqmltypeloader.cpp:1656
#11 0x00007f18f2c6ac59 in QQmlComponentPrivate::loadUrl (this=0x19d7760, newUrl=..., mode=mode@entry=QQmlComponent::PreferSynchronous) at qml/qqmlcomponent.cpp:660
#12 0x00007f18f2c6afcb in QQmlComponent::loadUrl (this=this@entry=0x19d7420, url=...) at qml/qqmlcomponent.cpp:617
#13 0x00007f18f2ce7293 in QQmlApplicationEnginePrivate::startLoad (this=0x19bdeb0, url=..., data=..., dataFlag=dataFlag@entry=false) at qml/qqmlapplicationengine.cpp:115
#14 0x00007f18f2ce72ed in QQmlApplicationEngine::load (this=<optimized out>, url=...) at qml/qqmlapplicationengine.cpp:259
#15 0x00000000004167d2 in DiscoverObject::DiscoverObject (this=0x1996d50, mode=<optimized out>) at /workspace/build/discover/DiscoverObject.cpp:128
#16 0x0000000000411ada in main (argc=1, argv=<optimized out>) at /workspace/build/discover/main.cpp:124

Reported using DrKonqi
Comment 1 wowhellmail 2018-05-18 06:22:56 UTC
Just an update....

After I installed all updates and restarted machine, crash stopped occurring
Comment 2 Wantoyo 2019-09-11 11:38:26 UTC
Created attachment 122596 [details]
New crash information added by DrKonqi

plasma-discover (5.16.80) using Qt 5.13.0

Every time I click on an update notifications, Discover crashes. Every time I open in the launcher the menu also crashes. Even every time I open it in the terminal it also crashes by displaying a line like the following:

$ plasma-discover
KCrash: Application 'plasma-discover' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0

I have updated all packages through zypper dup but Discover is still crashes.
I am trying to disable all the opensuse repositories that are still crashes.

-- Backtrace (Reduced):
#6  0x00007fdba875c5d3 in QQmlPropertyCacheCreator<QQmlTypeCompiler>::propertyCacheForObject (this=this@entry=0x7fdba1abc2c0, obj=obj@entry=0x7fdb9829d600, context=..., error=error@entry=0x7fdba1abc160) at /usr/src/debug/libqt5-qtdeclarative-5.13.0-2.1.x86_64/include/QtQml/5.13.0/QtQml/private/../../../../../src/qml/qml/ftw/qqmlrefcount_p.h:170
#7  0x00007fdba875fd1a in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectRecursively (this=this@entry=0x7fdba1abc2c0, objectIndex=<optimized out>, context=...) at /usr/include/qt5/QtCore/qarraydata.h:257
#8  0x00007fdba8760041 in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectRecursively (this=this@entry=0x7fdba1abc2c0, objectIndex=objectIndex@entry=0, context=...) at /usr/include/c++/9/bits/atomic_base.h:326
#9  0x00007fdba875ae0c in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjects (this=0x7fdba1abc2c0) at /usr/src/debug/libqt5-qtdeclarative-5.13.0-2.1.x86_64/include/QtQml/5.13.0/QtQml/private/../../../../../src/qml/qml/ftw/qqmlrefcount_p.h:143
#10 QQmlTypeCompiler::compile (this=this@entry=0x7fdba1abc450) at /usr/src/debug/libqt5-qtdeclarative-5.13.0-2.1.x86_64/src/qml/compiler/qqmltypecompiler.cpp:86
Comment 3 clin 2022-01-29 14:04:42 UTC
Created attachment 146039 [details]
New crash information added by DrKonqi

plasma-discover (5.24.80) using Qt 5.15.2

- What I was doing when the application crashed:
Every time that I tried clicking on the bottom banes ("Updates", "Search", or "Installed"), Discover crashes.

-- Backtrace (Reduced):
#4  QQmlRefPointer<QQmlTypePrivate const>::QQmlRefPointer (other=..., this=0x7f9ab3ffdb30, this@entry=0x7f9ab3ffdab0) at ../../include/QtQml/5.15.2/QtQml/private/../../../../../../src/qml/qml/ftw/qqmlrefcount_p.h:152
#5  QQmlType::QQmlType (this=this@entry=0x7f9ab3ffdb30) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-ku.1.1.x86_64/src/qml/qml/qqmltype.cpp:121
#6  0x00007f9adac2b76c in QQmlPropertyCacheCreator<QQmlTypeCompiler>::propertyCacheForObject (this=this@entry=0x7f9ab3ffdeb0, obj=obj@entry=0x7f9a883a69d0, context=..., error=error@entry=0x7f9ab3ffdbc8) at ../../include/QtQml/5.15.2/QtQml/private/../../../../../../src/qml/qml/qqmlpropertycachecreator_p.h:310
#7  0x00007f9adac2e361 in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectRecursively (this=this@entry=0x7f9ab3ffdeb0, objectIndex=2, context=..., isVMERequired=isVMERequired@entry=QQmlPropertyCacheCreator<QQmlTypeCompiler>::VMEMetaObjectIsRequired::Maybe) at ../../include/QtQml/5.15.2/QtQml/private/../../../../../../src/qml/qml/qqmlpropertycachecreator_p.h:264
#8  0x00007f9adac2e6ec in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectRecursively (this=this@entry=0x7f9ab3ffdeb0, objectIndex=objectIndex@entry=0, context=..., isVMERequired=isVMERequired@entry=QQmlPropertyCacheCreator<QQmlTypeCompiler>::VMEMetaObjectIsRequired::Maybe) at /usr/include/qt5/QtCore/qendian.h:290