Bug 380376 - Discover crash when searching
Summary: Discover crash when searching
Status: RESOLVED DUPLICATE of bug 380371
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.10.0
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-05-31 01:20 UTC by Nathan
Modified: 2017-05-31 23:19 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan 2017-05-31 01:20:26 UTC
Application: plasma-discover (5.10.0)

Qt Version: 5.7.1
Frameworks Version: 5.34.0
Operating System: Linux 4.4.0-78-generic x86_64
Distribution: KDE neon User Edition 5.10

-- Information about the crash:
- What I was doing when the application crashed:
I searched for 'Krita' tried several times, crashed everytime

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".
[Current thread is 1 (Thread 0x7f784063b8c0 (LWP 1758))]

Thread 8 (Thread 0x7f77d9ffb700 (LWP 1782)):
#0  0x00007f783c95eb5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f7837d3638c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7837d3649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f783d58775b in QEventDispatcherGlib::processEvents (this=0x7f77c80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f783d5320ba in QEventLoop::exec (this=this@entry=0x7f77d9ffad00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f783d361f64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f783d366b48 in QThreadPrivate::start (arg=0x2ebe170) at thread/qthread_unix.cpp:368
#7  0x00007f7839def6ba in start_thread (arg=0x7f77d9ffb700) at pthread_create.c:333
#8  0x00007f783c96a82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f77feffd700 (LWP 1773)):
#0  0x00007f783d35e329 in std::__atomic_base<QMutexData*>::compare_exchange_strong (__m2=<optimized out>, __m1=std::memory_order_release, __p2=0x0, __p1=@0x7f77feffcae8: 0x1, this=0x2e7ad80) at /usr/include/c++/5/bits/atomic_base.h:752
#1  std::atomic<QMutexData*>::compare_exchange_strong (__m=std::memory_order_release, __p2=0x0, __p1=@0x7f77feffcae8: 0x1, this=0x2e7ad80) at /usr/include/c++/5/atomic:475
#2  QAtomicOps<QMutexData*>::testAndSetRelease<QMutexData*> (currentValue=<synthetic pointer>, newValue=0x0, expectedValue=0x1, _q_value=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:299
#3  QBasicAtomicPointer<QMutexData>::testAndSetRelease (currentValue=<synthetic pointer>, newValue=0x0, expectedValue=<optimized out>, this=0x2e7ad80) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:261
#4  QBasicMutex::fastTryUnlock (current=<synthetic pointer>, this=0x2e7ad80) at thread/qmutex.h:92
#5  QMutex::unlock (this=this@entry=0x2e7ad80) at thread/qmutex.cpp:277
#6  0x00007f783d587035 in QMutexLocker::unlock (this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:147
#7  QMutexLocker::~QMutexLocker (this=<synthetic pointer>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:141
#8  QThreadData::canWaitLocked (this=<optimized out>) at ../../include/QtCore/5.7.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:253
#9  postEventSourcePrepare (timeout=<synthetic pointer>, s=0x7f77f0001700) at kernel/qeventdispatcher_glib.cpp:259
#10 postEventSourceCheck (source=0x7f77f0001700) at kernel/qeventdispatcher_glib.cpp:269
#11 0x00007f7837d35dc1 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f7837d36330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007f7837d3649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007f783d58775b in QEventDispatcherGlib::processEvents (this=0x7f77f00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#15 0x00007f783d5320ba in QEventLoop::exec (this=this@entry=0x7f77feffcd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#16 0x00007f783d361f64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#17 0x00007f783d366b48 in QThreadPrivate::start (arg=0x2e36bc0) at thread/qthread_unix.cpp:368
#18 0x00007f7839def6ba in start_thread (arg=0x7f77feffd700) at pthread_create.c:333
#19 0x00007f783c96a82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f780f0d6700 (LWP 1767)):
#0  0x00007f7837d7aa79 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f7837d35929 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7837d362bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7837d3649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f783d58775b in QEventDispatcherGlib::processEvents (this=0x7f78080008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f783d5320ba in QEventLoop::exec (this=this@entry=0x7f780f0d5d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f783d361f64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#7  0x00007f783d366b48 in QThreadPrivate::start (arg=0x262dd90) at thread/qthread_unix.cpp:368
#8  0x00007f7839def6ba in start_thread (arg=0x7f780f0d6700) at pthread_create.c:333
#9  0x00007f783c96a82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f781e98d700 (LWP 1764)):
#0  0x00007f783c95eb5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f7837d3638c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7837d3649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f783d58775b in QEventDispatcherGlib::processEvents (this=0x7f7814002e00, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f783d5320ba in QEventLoop::exec (this=this@entry=0x7f781e98cc90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f783d361f64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f783fcbafc6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f783d366b48 in QThreadPrivate::start (arg=0x24fcbb0) at thread/qthread_unix.cpp:368
#8  0x00007f7839def6ba in start_thread (arg=0x7f781e98d700) at pthread_create.c:333
#9  0x00007f783c96a82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f7825761700 (LWP 1762)):
#0  0x00007f783c95eb5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f7837d3638c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7837d3649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f783d58775b in QEventDispatcherGlib::processEvents (this=0x7f78180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f783d5320ba in QEventLoop::exec (this=this@entry=0x7f7825760ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f783d361f64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f783dcd8bf5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f783d366b48 in QThreadPrivate::start (arg=0x2167720) at thread/qthread_unix.cpp:368
#8  0x00007f7839def6ba in start_thread (arg=0x7f7825761700) at pthread_create.c:333
#9  0x00007f783c96a82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f7826972700 (LWP 1761)):
#0  0x00007f783c95eb5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f7837d3638c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7837d3649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f783d58775b in QEventDispatcherGlib::processEvents (this=0x7f78200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f783d5320ba in QEventLoop::exec (this=this@entry=0x7f7826971cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f783d361f64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f7840781735 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f783d366b48 in QThreadPrivate::start (arg=0x7f78407f5d60) at thread/qthread_unix.cpp:368
#8  0x00007f7839def6ba in start_thread (arg=0x7f7826972700) at pthread_create.c:333
#9  0x00007f783c96a82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f782f009700 (LWP 1760)):
#0  0x00007f783c95eb5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f78378cbc62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f78378cd8d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f7831561d79 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f783d366b48 in QThreadPrivate::start (arg=0x20bd370) at thread/qthread_unix.cpp:368
#5  0x00007f7839def6ba in start_thread (arg=0x7f782f009700) at pthread_create.c:333
#6  0x00007f783c96a82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f784063b8c0 (LWP 1758)):
[KCrash Handler]
#6  0x0000000005171410 in ?? ()
#7  0x00007f780f52400e in KNSCore::Engine::doRequest (this=0x2e92790) at /workspace/build/src/core/engine.cpp:429
#8  0x00007f780f5242fb in KNSCore::Engine::requestData (this=<optimized out>, page=page@entry=0, pageSize=pageSize@entry=100) at /workspace/build/src/core/engine.cpp:423
#9  0x00007f780f77cbda in KNSBackend::<lambda()>::operator() (__closure=0x55120b0) at /workspace/build/libdiscover/backends/KNSBackend/KNSBackend.cpp:327
#10 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KNSBackend::searchStream(const QString&)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:135
#11 QtPrivate::Functor<KNSBackend::searchStream(const QString&)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:192
#12 QtPrivate::QFunctorSlotObject<KNSBackend::searchStream(const QString&)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55120a0, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:169
#13 0x00007f783d55fd99 in QObject::event (this=0x5511e10, e=<optimized out>) at kernel/qobject.cpp:1263
#14 0x00007f783e496ecc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5511e10, e=0x2e8f4a0) at kernel/qapplication.cpp:3799
#15 0x00007f783e49e8c6 in QApplication::notify (this=0x7ffeb0a20310, receiver=0x5511e10, e=0x2e8f4a0) at kernel/qapplication.cpp:3556
#16 0x00007f783d5340c8 in QCoreApplication::notifyInternal2 (receiver=0x5511e10, event=event@entry=0x2e8f4a0) at kernel/qcoreapplication.cpp:988
#17 0x00007f783d53678b in QCoreApplication::sendEvent (event=0x2e8f4a0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x20a34f0) at kernel/qcoreapplication.cpp:1649
#19 0x00007f783d536bf8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1503
#20 0x00007f783d587333 in postEventSourceDispatch (s=0x20d8750) at kernel/qeventdispatcher_glib.cpp:276
#21 0x00007f7837d36197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f7837d363f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f7837d3649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f783d58773f in QEventDispatcherGlib::processEvents (this=0x20ee9f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#25 0x00007f783d5320ba in QEventLoop::exec (this=this@entry=0x7ffeb0a20230, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#26 0x00007f783d53a6cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#27 0x000000000040d487 in main (argc=1, argv=<optimized out>) at /workspace/build/discover/main.cpp:151

Possible duplicates by query: bug 380371.

Reported using DrKonqi
Comment 1 Aleix Pol 2017-05-31 23:19:24 UTC
*** This bug has been marked as a duplicate of bug 380371 ***