Bug 398564

Summary: Software center crash
Product: [Applications] Discover Reporter: Gabriel <gabr0>
Component: discoverAssignee: Aleix Pol <aleixpol>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: 5.13.5   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gabriel 2018-09-13 06:44:46 UTC
Application: plasma-discover (5.13.5)

Qt Version: 5.11.1
Frameworks Version: 5.51.0
Operating System: Linux 4.15.0-34-generic x86_64
Distribution: KDE neon Developer Edition

-- Information about the crash:
Software center crash when started

The crash can be reproduced every time.

-- Backtrace:
Application: Discover (plasma-discover), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe3ae1ec8c0 (LWP 2399))]

Thread 8 (Thread 0x7fe371c06700 (LWP 2415)):
#0  0x00007fe3a94a274d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fe3a40e138c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe3a40e149c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe3aa0c30bb in QEventDispatcherGlib::processEvents (this=0x7fe3680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fe3aa06a5ba in QEventLoop::exec (this=this@entry=0x7fe371c05cf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fe3a9e9f5e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007fe3a9eaa727 in QThreadPrivate::start (arg=0x2b2a6f0) at thread/qthread_unix.cpp:367
#7  0x00007fe3a5f466ba in start_thread (arg=0x7fe371c06700) at pthread_create.c:333
#8  0x00007fe3a94ae41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fe372407700 (LWP 2407)):
#0  0x00007fe3a94a274d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fe3a40e138c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe3a40e1712 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe373ffa9d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fe3a4107bb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe3a5f466ba in start_thread (arg=0x7fe372407700) at pthread_create.c:333
#6  0x00007fe3a94ae41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fe372c08700 (LWP 2406)):
#0  0x00007fe3a949e27d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fe3a41246f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe3a40e0e74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe3a40e1330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe3a40e149c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe3a40e14d9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fe3a4107bb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fe3a5f466ba in start_thread (arg=0x7fe372c08700) at pthread_create.c:333
#8  0x00007fe3a94ae41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fe37cfb1700 (LWP 2405)):
#0  0x00007fe3a4125a94 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fe3a40e0910 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe3a40e12bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe3a40e149c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe3aa0c30bb in QEventDispatcherGlib::processEvents (this=0x7fe3780008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fe3aa06a5ba in QEventLoop::exec (this=this@entry=0x7fe37cfb0c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007fe3a9e9f5e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#7  0x00007fe3ad2eff86 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007fe3a9eaa727 in QThreadPrivate::start (arg=0x2aeb8a0) at thread/qthread_unix.cpp:367
#9  0x00007fe3a5f466ba in start_thread (arg=0x7fe37cfb1700) at pthread_create.c:333
#10 0x00007fe3a94ae41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fe37e3cd700 (LWP 2404)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe38343670b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#2  0x00007fe383436427 in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#3  0x00007fe3a5f466ba in start_thread (arg=0x7fe37e3cd700) at pthread_create.c:333
#4  0x00007fe3a94ae41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fe392540700 (LWP 2403)):
#0  0x00007fe3a94a274d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fe3a40e138c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe3a40e149c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe3aa0c30bb in QEventDispatcherGlib::processEvents (this=0x7fe3840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fe3aa06a5ba in QEventLoop::exec (this=this@entry=0x7fe39253fcd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fe3a9e9f5e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007fe3aaa2a195 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fe3a9eaa727 in QThreadPrivate::start (arg=0x225cd70) at thread/qthread_unix.cpp:367
#8  0x00007fe3a5f466ba in start_thread (arg=0x7fe392540700) at pthread_create.c:333
#9  0x00007fe3a94ae41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fe393751700 (LWP 2402)):
#0  0x00007fe3a9e9b399 in std::__atomic_base<QMutexData*>::compare_exchange_strong (__m2=std::memory_order_acquire, __m1=std::memory_order_acquire, __p2=<optimized out>, __p1=@0x7fe393750a98: 0x0, this=0x222f750) at /usr/include/c++/5/bits/atomic_base.h:752
#1  std::atomic<QMutexData*>::compare_exchange_strong (__m2=std::memory_order_acquire, __m1=std::memory_order_acquire, __p2=<optimized out>, __p1=@0x7fe393750a98: 0x0, this=0x222f750) at /usr/include/c++/5/atomic:462
#2  QAtomicOps<QMutexData*>::testAndSetAcquire<QMutexData*> (currentValue=<synthetic pointer>, newValue=<optimized out>, expectedValue=0x0, _q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:290
#3  QBasicAtomicPointer<QMutexData>::testAndSetAcquire (currentValue=<synthetic pointer>, newValue=<optimized out>, expectedValue=0x0, this=0x222f750) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:263
#4  QBasicMutex::fastTryLock (current=<synthetic pointer>, this=0x222f750) at thread/qmutex.h:107
#5  QMutex::lock (this=this@entry=0x222f750) at thread/qmutex.cpp:224
#6  0x00007fe3aa0c34d9 in QMutexLocker::QMutexLocker (m=0x222f750, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:206
#7  QThreadData::canWaitLocked (this=0x222f720) at ../../include/QtCore/5.11.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:254
#8  postEventSourcePrepare (timeout=<synthetic pointer>, s=0x7fe38c0012d0) at kernel/qeventdispatcher_glib.cpp:259
#9  postEventSourceCheck (source=0x7fe38c0012d0) at kernel/qeventdispatcher_glib.cpp:269
#10 0x00007fe3a40e0dc1 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fe3a40e1330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fe3a40e149c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fe3aa0c30bb in QEventDispatcherGlib::processEvents (this=0x7fe38c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#14 0x00007fe3aa06a5ba in QEventLoop::exec (this=this@entry=0x7fe393750cc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#15 0x00007fe3a9e9f5e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#16 0x00007fe3abde5f35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#17 0x00007fe3a9eaa727 in QThreadPrivate::start (arg=0x7fe3ac05ed60) at thread/qthread_unix.cpp:367
#18 0x00007fe3a5f466ba in start_thread (arg=0x7fe393751700) at pthread_create.c:333
#19 0x00007fe3a94ae41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fe3ae1ec8c0 (LWP 2399)):
[KCrash Handler]
#6  0x00007fe3a93dc428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007fe3a93de02a in __GI_abort () at abort.c:89
#8  0x00007fe3a941e7ea in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7fe3a9537ed8 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007fe3a942737a in malloc_printerr (ar_ptr=<optimized out>, ptr=<optimized out>, str=0x7fe3a9534caf "free(): invalid pointer", action=3) at malloc.c:5006
#10 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3867
#11 0x00007fe3a942b53c in __GI___libc_free (mem=<optimized out>) at malloc.c:2968
#12 0x00007fe3a9ef9a84 in QHashData::free_helper (this=0x4622ab0, node_delete=0x7fe3a9f36190 <QHash<QString, QHashDummyValue>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:573
#13 0x00007fe3a9f35a3f in QHash<QString, QHashDummyValue>::freeData (this=0x7ffcc3a4f350, x=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qhash.h:585
#14 QHash<QString, QHashDummyValue>::~QHash (this=0x7ffcc3a4f350, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qhash.h:254
#15 QSet<QString>::~QSet (this=0x7ffcc3a4f350, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qset.h:54
#16 QtPrivate::QStringList_removeDuplicates (that=that@entry=0x7ffcc3a4f470) at tools/qstringlist.cpp:760
#17 0x00007fe3aa010bee in QListSpecialMethods<QString>::removeDuplicates (this=0x7ffcc3a4f470) at ../../include/QtCore/../../src/corelib/tools/qstringlist.h:193
#18 xdgDataDirs () at io/qstandardpaths_unix.cpp:303
#19 0x00007fe3aa01382a in QStandardPaths::standardLocations (type=type@entry=QStandardPaths::GenericDataLocation) at io/qstandardpaths_unix.cpp:334
#20 0x00007fe3a9fc0a7b in QStandardPaths::locateAll (type=type@entry=QStandardPaths::GenericDataLocation, fileName=..., options=..., options@entry=...) at io/qstandardpaths.cpp:425
#21 0x00007fe3702f68fa in KNSCore::Cache::readKns2MetaFiles (this=this@entry=0x45f8c20) at /workspace/build/src/core/cache.cpp:109
#22 0x00007fe3702f8355 in KNSCore::Cache::readRegistry (this=0x45f8c20) at /workspace/build/src/core/cache.cpp:69
#23 0x00007fe370302ee1 in KNSCore::Engine::init (this=this@entry=0x45f3f90, configfile=...) at /workspace/build/src/core/engine.cpp:149
#24 0x00007fe3705678cd in KNSBackend::KNSBackend (this=0x4631360, parent=<optimized out>, iconName=..., knsrc=...) at /workspace/build/libdiscover/backends/KNSBackend/KNSBackend.cpp:114
#25 0x00007fe37056b1ce in KNSBackendFactory::newInstance (this=this@entry=0x45eae50, parent=0x22e25d0) at /workspace/build/libdiscover/backends/KNSBackend/KNSBackend.cpp:73
#26 0x00007fe3acf90030 in DiscoverBackendsFactory::backendForFile (this=this@entry=0x7ffcc3a4fe8f, libname=..., name=...) at /workspace/build/libdiscover/DiscoverBackendsFactory.cpp:65
#27 0x00007fe3acf906b2 in DiscoverBackendsFactory::backend (this=this@entry=0x7ffcc3a4fe8f, name=...) at /workspace/build/libdiscover/DiscoverBackendsFactory.cpp:51
#28 0x00007fe3acf90b16 in DiscoverBackendsFactory::<lambda(const QString&)>::operator() (name=..., __closure=<synthetic pointer>) at /workspace/build/libdiscover/DiscoverBackendsFactory.cpp:99
#29 kTransform<QVector<AbstractResourcesBackend*>, QStringList, DiscoverBackendsFactory::allBackends() const::<lambda(const QString&)> > (op=..., input=...) at /workspace/build/libdiscover/utils.h:48
#30 DiscoverBackendsFactory::allBackends (this=this@entry=0x7ffcc3a4fe8f) at /workspace/build/libdiscover/DiscoverBackendsFactory.cpp:99
#31 0x00007fe3acf7ad07 in ResourcesModel::registerAllBackends (this=0x22e25d0) at /workspace/build/libdiscover/resources/ResourcesModel.cpp:208
#32 0x00007fe3acf9f635 in ResourcesModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /workspace/build/obj-x86_64-linux-gnu/libdiscover/moc_ResourcesModel.cpp:291
#33 0x00007fe3aa099fb9 in QObject::event (this=0x22e25d0, e=<optimized out>) at kernel/qobject.cpp:1251
#34 0x00007fe3ab6c639c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x22e25d0, e=0x22e28d0) at kernel/qapplication.cpp:3727
#35 0x00007fe3ab6cdab0 in QApplication::notify (this=0x7ffcc3a505a0, receiver=0x22e25d0, e=0x22e28d0) at kernel/qapplication.cpp:3486
#36 0x00007fe3aa06c228 in QCoreApplication::notifyInternal2 (receiver=0x22e25d0, event=event@entry=0x22e28d0) at kernel/qcoreapplication.cpp:1048
#37 0x00007fe3aa06ee2e in QCoreApplication::sendEvent (event=0x22e28d0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x21c09f0) at kernel/qcoreapplication.cpp:1745
#39 0x00007fe3aa06f2a8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1599
#40 0x00007fe3aa0c3a93 in postEventSourceDispatch (s=0x2223330) at kernel/qeventdispatcher_glib.cpp:276
#41 0x00007fe3a40e1197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fe3a40e13f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fe3a40e149c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fe3aa0c309f in QEventDispatcherGlib::processEvents (this=this@entry=0x2222060, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#45 0x00007fe39dd989a1 in QPAEventDispatcherGlib::processEvents (this=0x2222060, flags=...) at qeventdispatcher_glib.cpp:69
#46 0x00007fe3aa06a5ba in QEventLoop::exec (this=this@entry=0x7ffcc3a504c0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#47 0x00007fe3aa0736c4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#48 0x00007fe3aaeb1f8c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1762
#49 0x00007fe3ab6c62f5 in QApplication::exec () at kernel/qapplication.cpp:2901
#50 0x00000000004131ff in main (argc=1, argv=<optimized out>) at /workspace/build/discover/main.cpp:156

Possible duplicates by query: bug 398562, bug 398549, bug 398488, bug 398464, bug 398463.

Reported using DrKonqi
Comment 1 Nate Graham 2018-09-13 16:45:50 UTC

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