Bug 380813 - Search causes crash
Summary: Search causes crash
Status: RESOLVED DUPLICATE of bug 380371
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: 5.10.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-06-04 13:38 UTC by akarshan.biswas
Modified: 2017-06-06 19:36 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description akarshan.biswas 2017-06-04 13:38:23 UTC
Application: plasma-discover (5.10.0)

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

-- Information about the crash:
- What I was doing when the application crashed: Searching for an application in the search bar, the application stopped responding and crashed

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 0x7f35f738b8c0 (LWP 3951))]

Thread 8 (Thread 0x7f359affd700 (LWP 4004)):
#0  0x00007f35f36becaa in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7f359affca60) at ../sysdeps/unix/clock_gettime.c:134
#1  0x00007f35f4152241 in qt_clock_gettime (ts=0x7f359affca60, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:109
#2  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:164
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:173
#4  0x00007f35f42cb3d9 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f3590001120) at kernel/qtimerinfo_unix.cpp:91
#5  0x00007f35f42cb945 in QTimerInfoList::timerWait (this=0x7f3590001120, tm=...) at kernel/qtimerinfo_unix.cpp:388
#6  0x00007f35f42ccd0e in timerSourcePrepareHelper (timeout=0x7f359affcb34, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:132
#7  timerSourcePrepare (source=<optimized out>, timeout=0x7f359affcb34) at kernel/qeventdispatcher_glib.cpp:165
#8  0x00007f35eea7991d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f35eea7a2bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f35eea7a49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f35f42cd75b in QEventDispatcherGlib::processEvents (this=0x7f359001b800, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#12 0x00007f35f42780ba in QEventLoop::exec (this=this@entry=0x7f359affcd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#13 0x00007f35f40a7f64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#14 0x00007f35f40acb48 in QThreadPrivate::start (arg=0x2d5c3d0) at thread/qthread_unix.cpp:368
#15 0x00007f35f0b356ba in start_thread (arg=0x7f359affd700) at pthread_create.c:333
#16 0x00007f35f36b082d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f35bddf4700 (LWP 3966)):
#0  0x00007f35f36a069d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f35eeabd6f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f35eea79e74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f35eea7a330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f35eea7a49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f35f42cd75b in QEventDispatcherGlib::processEvents (this=0x7f35a80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f35f42780ba in QEventLoop::exec (this=this@entry=0x7f35bddf3d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007f35f40a7f64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#8  0x00007f35f40acb48 in QThreadPrivate::start (arg=0x217eb70) at thread/qthread_unix.cpp:368
#9  0x00007f35f0b356ba in start_thread (arg=0x7f35bddf4700) at pthread_create.c:333
#10 0x00007f35f36b082d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f35c5c50700 (LWP 3960)):
#0  0x00007f35eeabea79 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f35eea797f7 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f35eea7a2bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f35eea7a49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f35f42cd75b in QEventDispatcherGlib::processEvents (this=0x7f35c00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f35f42780ba in QEventLoop::exec (this=this@entry=0x7f35c5c4fd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f35f40a7f64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#7  0x00007f35f40acb48 in QThreadPrivate::start (arg=0x32ed640) at thread/qthread_unix.cpp:368
#8  0x00007f35f0b356ba in start_thread (arg=0x7f35c5c50700) at pthread_create.c:333
#9  0x00007f35f36b082d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f35d6dec700 (LWP 3957)):
#0  0x00007f35f36a4b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f35eea7a38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f35eea7a49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f35f42cd75b in QEventDispatcherGlib::processEvents (this=0x7f35c8002e00, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f35f42780ba in QEventLoop::exec (this=this@entry=0x7f35d6debc90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f35f40a7f64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f35f6a00fc6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f35f40acb48 in QThreadPrivate::start (arg=0x1789ed0) at thread/qthread_unix.cpp:368
#8  0x00007f35f0b356ba in start_thread (arg=0x7f35d6dec700) at pthread_create.c:333
#9  0x00007f35f36b082d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f35d7fff700 (LWP 3955)):
#0  0x00007f35f36a069d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f35eeabd6f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f35eea79e74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f35eea7a330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f35eea7a49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f35f42cd75b in QEventDispatcherGlib::processEvents (this=0x7f35d00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f35f42780ba in QEventLoop::exec (this=this@entry=0x7f35d7ffece0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007f35f40a7f64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#8  0x00007f35f4a1ebf5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f35f40acb48 in QThreadPrivate::start (arg=0x13b05d0) at thread/qthread_unix.cpp:368
#10 0x00007f35f0b356ba in start_thread (arg=0x7f35d7fff700) at pthread_create.c:333
#11 0x00007f35f36b082d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f35dd5ca700 (LWP 3954)):
#0  0x00007f35f36a4b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f35eea7a38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f35eea7a49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f35f42cd75b in QEventDispatcherGlib::processEvents (this=0x7f35d80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f35f42780ba in QEventLoop::exec (this=this@entry=0x7f35dd5c9cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f35f40a7f64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007f35f74d1735 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f35f40acb48 in QThreadPrivate::start (arg=0x7f35f7545d60) at thread/qthread_unix.cpp:368
#8  0x00007f35f0b356ba in start_thread (arg=0x7f35dd5ca700) at pthread_create.c:333
#9  0x00007f35f36b082d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f35e5d72700 (LWP 3953)):
#0  0x00007f35f36a4b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f35ee60fc62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f35ee6118d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f35e82cad79 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f35f40acb48 in QThreadPrivate::start (arg=0x133b060) at thread/qthread_unix.cpp:368
#5  0x00007f35f0b356ba in start_thread (arg=0x7f35e5d72700) at pthread_create.c:333
#6  0x00007f35f36b082d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f35f738b8c0 (LWP 3951)):
[KCrash Handler]
#6  0x00007f35f44bc610 in typeinfo for QObject () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f35c609e00e in KNSCore::Engine::doRequest (this=0x216e260) at /workspace/build/src/core/engine.cpp:429
#8  0x00007f35c609e2fb in KNSCore::Engine::requestData (this=<optimized out>, page=page@entry=0, pageSize=pageSize@entry=100) at /workspace/build/src/core/engine.cpp:423
#9  0x00007f35c62f6bda in KNSBackend::<lambda()>::operator() (__closure=0x48b57a0) 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_=0x48b5790, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:169
#13 0x00007f35f42a5d99 in QObject::event (this=0x48ae610, e=<optimized out>) at kernel/qobject.cpp:1263
#14 0x00007f35f51dcecc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x48ae610, e=0x18d21c0) at kernel/qapplication.cpp:3799
#15 0x00007f35f51e48c6 in QApplication::notify (this=0x7fff5d607cf0, receiver=0x48ae610, e=0x18d21c0) at kernel/qapplication.cpp:3556
#16 0x00007f35f427a0c8 in QCoreApplication::notifyInternal2 (receiver=0x48ae610, event=event@entry=0x18d21c0) at kernel/qcoreapplication.cpp:988
#17 0x00007f35f427c78b in QCoreApplication::sendEvent (event=0x18d21c0, 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=0x13214f0) at kernel/qcoreapplication.cpp:1649
#19 0x00007f35f427cbf8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1503
#20 0x00007f35f42cd333 in postEventSourceDispatch (s=0x1367b70) at kernel/qeventdispatcher_glib.cpp:276
#21 0x00007f35eea7a197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f35eea7a3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f35eea7a49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f35f42cd73f in QEventDispatcherGlib::processEvents (this=0x13805e0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#25 0x00007f35f42780ba in QEventLoop::exec (this=this@entry=0x7fff5d607c10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#26 0x00007f35f42806cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#27 0x000000000040d487 in main (argc=1, argv=<optimized out>) at /workspace/build/discover/main.cpp:151

Reported using DrKonqi
Comment 1 Christoph Feck 2017-06-06 19:36:16 UTC

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