Bug 389910 - Discover sometimes crashes after completing two searches for apps
Summary: Discover sometimes crashes after completing two searches for apps
Status: RESOLVED DUPLICATE of bug 390114
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.11.95
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-02-05 10:13 UTC by Øystein Steffensen-Alværvik
Modified: 2018-02-09 14:40 UTC (History)
2 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 Øystein Steffensen-Alværvik 2018-02-05 10:13:40 UTC
Application: plasma-discover (5.12.0)

Qt Version: 5.9.3
Frameworks Version: 5.43.0
Operating System: Linux 4.13.0-32-generic x86_64
Distribution: KDE neon Developer Edition

-- Information about the crash:
- What I was doing when the application crashed:

-Opened Discover
-searched for 'vlc' and opened vlc's app info page
-removed 'vlc' from search field  and typed 'kate'
-Discover would crash either right away or after removing 'kate' from search field

-KDE Neon Dev Stable 5.11.95 updates as of 5/2/18

The crash can be reproduced sometimes.

-- Backtrace:
Application: Oppdag (plasma-discover), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4846d4f8c0 (LWP 7186))]

Thread 11 (Thread 0x7f47fd5ed700 (LWP 7214)):
#0  0x00007f48421dc74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f483cf0638c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f483cf0649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4842e0c6cb in QEventDispatcherGlib::processEvents (this=0x7f47f40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f4842db4e2a in QEventLoop::exec (this=this@entry=0x7f47fd5ecd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f4842bdd8f4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#6  0x00007f4842be2709 in QThreadPrivate::start (arg=0x546be00) at thread/qthread_unix.cpp:368
#7  0x00007f483ed8f6ba in start_thread (arg=0x7f47fd5ed700) at pthread_create.c:333
#8  0x00007f48421e841d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7f47fddee700 (LWP 7210)):
#0  0x00007f48421d827d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f483cf496f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f483cf05e74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f483cf06330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f483cf0649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4842e0c6cb in QEventDispatcherGlib::processEvents (this=0x7f47f00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f4842db4e2a in QEventLoop::exec (this=this@entry=0x7f47fddedd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007f4842bdd8f4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#8  0x00007f4842be2709 in QThreadPrivate::start (arg=0x2678190) at thread/qthread_unix.cpp:368
#9  0x00007f483ed8f6ba in start_thread (arg=0x7f47fddee700) at pthread_create.c:333
#10 0x00007f48421e841d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f47fffff700 (LWP 7196)):
#0  0x00007f483cf2d05b in g_thread_self () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f483cf0530c in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f483cf06245 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f483cf0649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4842e0c6cb in QEventDispatcherGlib::processEvents (this=0x7f47f80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f4842db4e2a in QEventLoop::exec (this=this@entry=0x7f47ffffed00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f4842bdd8f4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#7  0x00007f4842be2709 in QThreadPrivate::start (arg=0x2921720) at thread/qthread_unix.cpp:368
#8  0x00007f483ed8f6ba in start_thread (arg=0x7f47fffff700) at pthread_create.c:333
#9  0x00007f48421e841d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f480d896700 (LWP 7195)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007f4842be3596 in QWaitConditionPrivate::wait_relative (time=30000, this=0x7f4800004380) at thread/qwaitcondition_unix.cpp:133
#2  QWaitConditionPrivate::wait (time=30000, this=0x7f4800004380) at thread/qwaitcondition_unix.cpp:141
#3  QWaitCondition::wait (this=this@entry=0x7f4800004090, mutex=mutex@entry=0x7f4800003da0, time=30000) at thread/qwaitcondition_unix.cpp:215
#4  0x00007f4842bdedea in QThreadPoolThread::run (this=0x7f4800004080) at thread/qthreadpool.cpp:144
#5  0x00007f4842be2709 in QThreadPrivate::start (arg=0x7f4800004080) at thread/qthread_unix.cpp:368
#6  0x00007f483ed8f6ba in start_thread (arg=0x7f480d896700) at pthread_create.c:333
#7  0x00007f48421e841d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f480e097700 (LWP 7194)):
#0  0x00007f483cf03434 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f483cf05cea in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f483cf06330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f483cf0649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4842e0c6cb in QEventDispatcherGlib::processEvents (this=0x7f48000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f4842db4e2a in QEventLoop::exec (this=this@entry=0x7f480e096d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f4842bdd8f4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#7  0x00007f4842be2709 in QThreadPrivate::start (arg=0x27d4df0) at thread/qthread_unix.cpp:368
#8  0x00007f483ed8f6ba in start_thread (arg=0x7f480e097700) at pthread_create.c:333
#9  0x00007f48421e841d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f480fe8e700 (LWP 7192)):
#0  0x00007f48421d827d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f483cf496f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f483cf05e74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f483cf06330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f483cf0649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4842e0c6cb in QEventDispatcherGlib::processEvents (this=0x7f48080008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f4842db4e2a in QEventLoop::exec (this=this@entry=0x7f480fe8dd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007f4842bdd8f4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#8  0x00007f4842be2709 in QThreadPrivate::start (arg=0x1a742b0) at thread/qthread_unix.cpp:368
#9  0x00007f483ed8f6ba in start_thread (arg=0x7f480fe8e700) at pthread_create.c:333
#10 0x00007f48421e841d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f4819c15700 (LWP 7191)):
#0  0x00007f48421dc74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f483cf0638c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f483cf0649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4842e0c6cb in QEventDispatcherGlib::processEvents (this=0x7f48140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f4842db4e2a in QEventLoop::exec (this=this@entry=0x7f4819c14c90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f4842bdd8f4 in QThread::exec (this=this@entry=0x1a4e890) at thread/qthread.cpp:515
#6  0x00007f4845fac046 in QQuickPixmapReader::run (this=0x1a4e890) at util/qquickpixmapcache.cpp:868
#7  0x00007f4842be2709 in QThreadPrivate::start (arg=0x1a4e890) at thread/qthread_unix.cpp:368
#8  0x00007f483ed8f6ba in start_thread (arg=0x7f4819c15700) at pthread_create.c:333
#9  0x00007f48421e841d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f48297bd700 (LWP 7190)):
#0  0x00007f4842bd9789 in std::__atomic_base<QMutexData*>::compare_exchange_strong (__m2=std::memory_order_acquire, __m1=std::memory_order_acquire, __p2=<optimized out>, __p1=@0x7f48297bca78: 0x0, this=0x16212a0) 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=@0x7f48297bca78: 0x0, this=0x16212a0) 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/arch/qatomic_cxx11.h:290
#3  QBasicAtomicPointer<QMutexData>::testAndSetAcquire (currentValue=<synthetic pointer>, newValue=<optimized out>, expectedValue=0x0, this=0x16212a0) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:262
#4  QBasicMutex::fastTryLock (current=<synthetic pointer>, this=0x16212a0) at thread/qmutex.h:101
#5  QMutex::lock (this=this@entry=0x16212a0) at thread/qmutex.cpp:224
#6  0x00007f4842e0c5df in QMutexLocker::QMutexLocker (m=0x16212a0, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:200
#7  QThreadData::canWaitLocked (this=0x1621270) at ../../include/QtCore/5.9.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:253
#8  postEventSourcePrepare (s=0x7f481c0012d0, timeout=0x7f48297bcb14) at kernel/qeventdispatcher_glib.cpp:259
#9  0x00007f483cf0591d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f483cf062bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f483cf0649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f4842e0c6cb in QEventDispatcherGlib::processEvents (this=0x7f481c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#13 0x00007f4842db4e2a in QEventLoop::exec (this=this@entry=0x7f48297bcce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#14 0x00007f4842bdd8f4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#15 0x00007f48437dfd25 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#16 0x00007f4842be2709 in QThreadPrivate::start (arg=0x16230d0) at thread/qthread_unix.cpp:368
#17 0x00007f483ed8f6ba in start_thread (arg=0x7f48297bd700) at pthread_create.c:333
#18 0x00007f48421e841d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f482a9ce700 (LWP 7189)):
#0  0x00007f483cf4aa94 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f483cf05910 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f483cf062bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f483cf0649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4842e0c6cb in QEventDispatcherGlib::processEvents (this=0x7f48240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f4842db4e2a in QEventLoop::exec (this=this@entry=0x7f482a9cdcd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f4842bdd8f4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#7  0x00007f4844abe315 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f4842be2709 in QThreadPrivate::start (arg=0x7f4844d32d40) at thread/qthread_unix.cpp:368
#9  0x00007f483ed8f6ba in start_thread (arg=0x7f482a9ce700) at pthread_create.c:333
#10 0x00007f48421e841d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f4833ac1700 (LWP 7188)):
#0  0x00007f48421dc74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f483cca3c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f483cca58d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f48360181f9 in QXcbEventReader::run (this=0x15aae20) at qxcbconnection.cpp:1330
#4  0x00007f4842be2709 in QThreadPrivate::start (arg=0x15aae20) at thread/qthread_unix.cpp:368
#5  0x00007f483ed8f6ba in start_thread (arg=0x7f4833ac1700) at pthread_create.c:333
#6  0x00007f48421e841d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f4846d4f8c0 (LWP 7186)):
[KCrash Handler]
#6  QScopedScopeLevelCounter::QScopedScopeLevelCounter (threadData=0x0, this=<synthetic pointer>) at ../../include/QtCore/5.9.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:304
#7  QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x2ba79d0, event=event@entry=0x7ffc4c16f4d0) at kernel/qcoreapplication.cpp:1015
#8  0x00007f484605dce9 in QCoreApplication::sendEvent (event=0x7ffc4c16f4d0, receiver=0x2ba79d0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:233
#9  QQuickKeysAttached::keyReleased (this=0x47fb590, event=0x7ffc4c16f4d0, post=<optimized out>) at items/qquickitem.cpp:1428
#10 0x00007f4846069dd7 in QQuickItemPrivate::deliverKeyEvent (this=0x4956750, e=0x7ffc4c16f4d0) at items/qquickitem.cpp:5026
#11 0x00007f484606a185 in QQuickItem::event (this=0x49566a0, ev=0x7ffc4c16f4d0) at items/qquickitem.cpp:7738
#12 0x00007f48443a5b9c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x49566a0, e=0x7ffc4c16f4d0) at kernel/qapplication.cpp:3722
#13 0x00007f48443ad5a7 in QApplication::notify (this=0x7ffc4c16f8c0, receiver=0x49566a0, e=0x7ffc4c16f4d0) at kernel/qapplication.cpp:3481
#14 0x00007f4842db6df8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x49566a0, event=event@entry=0x7ffc4c16f4d0) at kernel/qcoreapplication.cpp:1018
#15 0x00007f484607adbd in QCoreApplication::sendEvent (event=0x7ffc4c16f4d0, receiver=0x49566a0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:233
#16 QQuickWindow::sendEvent (this=<optimized out>, item=0x49566a0, e=e@entry=0x7ffc4c16f4d0) at items/qquickwindow.cpp:2835
#17 0x00007f484607af1b in QQuickWindowPrivate::deliverKeyEvent (this=this@entry=0x16ceb60, e=e@entry=0x7ffc4c16f4d0) at items/qquickwindow.cpp:1636
#18 0x00007f484607b07f in QQuickWindow::keyReleaseEvent (this=<optimized out>, e=0x7ffc4c16f4d0) at items/qquickwindow.cpp:1628
#19 0x00007f4843c438e5 in QWindow::event (this=this@entry=0x16cea90, ev=ev@entry=0x7ffc4c16f4d0) at kernel/qwindow.cpp:2267
#20 0x00007f4846082e85 in QQuickWindow::event (this=0x16cea90, e=0x7ffc4c16f4d0) at items/qquickwindow.cpp:1610
#21 0x00007f48443a5b9c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x16cea90, e=0x7ffc4c16f4d0) at kernel/qapplication.cpp:3722
#22 0x00007f48443ad5a7 in QApplication::notify (this=0x7ffc4c16f8c0, receiver=0x16cea90, e=0x7ffc4c16f4d0) at kernel/qapplication.cpp:3481
#23 0x00007f4842db6df8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x16cea90, event=event@entry=0x7ffc4c16f4d0) at kernel/qcoreapplication.cpp:1018
#24 0x00007f4843c33dd8 in QCoreApplication::sendSpontaneousEvent (event=0x7ffc4c16f4d0, receiver=0x16cea90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#25 QGuiApplicationPrivate::processKeyEvent (e=0x29178f0) at kernel/qguiapplication.cpp:2075
#26 0x00007f4843c39175 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x29178f0) at kernel/qguiapplication.cpp:1739
#27 0x00007f4843c127cb in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:939
#28 0x00007f4836077470 in userEventSourceDispatch (source=<optimized out>) at qeventdispatcher_glib.cpp:77
#29 0x00007f483cf06197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f483cf063f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f483cf0649c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f4842e0c6af in QEventDispatcherGlib::processEvents (this=0x15d4250, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#33 0x00007f4842db4e2a in QEventLoop::exec (this=this@entry=0x7ffc4c16f7e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#34 0x00007f4842dbdd64 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1291
#35 0x00007f4843c2ebdc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1679
#36 0x00007f48443a5af5 in QApplication::exec () at kernel/qapplication.cpp:2910
#37 0x0000000000411f9e in main (argc=1, argv=<optimized out>) at /workspace/build/discover/main.cpp:156

The reporter indicates this bug may be a duplicate of or related to bug 385554.

Possible duplicates by query: bug 388978, bug 379478.

Reported using DrKonqi
Comment 1 Nate Graham 2018-02-09 14:40:40 UTC

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