Bug 397907 - Discover occasionally crashes whenever clicking through menus
Summary: Discover occasionally crashes whenever clicking through menus
Status: RESOLVED DUPLICATE of bug 397863
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-08-27 00:35 UTC by Christopher Cormier
Modified: 2018-08-31 15:51 UTC (History)
1 user (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 Christopher Cormier 2018-08-27 00:35:59 UTC
Application: plasma-discover (5.13.80)

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

-- Information about the crash:
- What I was doing when the application crashed:
I had just clicked on the "Applications" categorical button on the left-hand side

----

This crash seems randomly reproducible. The only consistent thing that causes it to crash, is that it's simultaneous with me clicking on one of the buttons from the left-hand side (Such as "Applications" or "Settings"). This also seems to only happen on Wayland, as I haven't encountered it in a Plasma on Xorg session, however I can't confirm this for sure.

-- 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 0x7fa0fa9f6c80 (LWP 2514))]

Thread 10 (Thread 0x7fa0b4dd9700 (LWP 2542)):
#0  0x00007fa0f5f64bf9 in __GI___poll (fds=0x7fa0a007f630, nfds=1, timeout=690) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa0f04d5439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa0f04d554c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa0f68a4a9b in QEventDispatcherGlib::processEvents (this=0x7fa0a0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fa0f6848dea in QEventLoop::exec (this=this@entry=0x7fa0b4dd8da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fa0f6673b8a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007fa0f667eaab in QThreadPrivate::start (arg=0x55c79e180c00) at thread/qthread_unix.cpp:367
#7  0x00007fa0f26706db in start_thread (arg=0x7fa0b4dd9700) at pthread_create.c:463
#8  0x00007fa0f5f7188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fa0b5a9a700 (LWP 2540)):
#0  0x00007fa0f26769f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55c79de2c940) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55c79de2c8f0, cond=0x55c79de2c918) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55c79de2c918, mutex=0x55c79de2c8f0) at pthread_cond_wait.c:655
#3  0x00007fa0f667f91b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x55c79de2c8f0) at thread/qwaitcondition_unix.cpp:143
#4  QWaitCondition::wait (this=this@entry=0x55c79de2c7e8, mutex=mutex@entry=0x55c79de2c7e0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#5  0x00007fa0f9aedbe8 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x55c79de2c7d8) at scenegraph/qsgthreadedrenderloop.cpp:245
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x55c79de2c760) at scenegraph/qsgthreadedrenderloop.cpp:709
#7  0x00007fa0f9aee01a in QSGRenderThread::run (this=0x55c79de2c760) at scenegraph/qsgthreadedrenderloop.cpp:738
#8  0x00007fa0f667eaab in QThreadPrivate::start (arg=0x55c79de2c760) at thread/qthread_unix.cpp:367
#9  0x00007fa0f26706db in start_thread (arg=0x7fa0b5a9a700) at pthread_create.c:463
#10 0x00007fa0f5f7188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fa0c4906700 (LWP 2530)):
#0  0x00007fa0f04d5441 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa0f04d554c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa0f68a4a9b in QEventDispatcherGlib::processEvents (this=0x7fa0b0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#3  0x00007fa0f6848dea in QEventLoop::exec (this=this@entry=0x7fa0c4905da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#4  0x00007fa0f6673b8a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#5  0x00007fa0f667eaab in QThreadPrivate::start (arg=0x55c79f6c3470) at thread/qthread_unix.cpp:367
#6  0x00007fa0f26706db in start_thread (arg=0x7fa0c4906700) at pthread_create.c:463
#7  0x00007fa0f5f7188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fa0c6744700 (LWP 2528)):
#0  0x00007fa0f04d48ce in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa0f04d536b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa0f04d554c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa0f68a4a9b in QEventDispatcherGlib::processEvents (this=0x7fa0bc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fa0f6848dea in QEventLoop::exec (this=this@entry=0x7fa0c6743da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fa0f6673b8a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007fa0f667eaab in QThreadPrivate::start (arg=0x55c79e3acaa0) at thread/qthread_unix.cpp:367
#7  0x00007fa0f26706db in start_thread (arg=0x7fa0c6744700) at pthread_create.c:463
#8  0x00007fa0f5f7188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fa0c7ec6700 (LWP 2521)):
#0  0x00007fa0f5f64bf9 in __GI___poll (fds=0x55c79e3a7d20, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa0f04d5439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa0f04d57d2 in g_main_loop_run () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa0cabb6e76 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fa0f04fce05 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa0f26706db in start_thread (arg=0x7fa0c7ec6700) at pthread_create.c:463
#6  0x00007fa0f5f7188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fa0c86c7700 (LWP 2520)):
#0  0x00007fa0f5f600b4 in __GI___libc_read (fd=14, buf=0x7fa0c86c6ce0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007fa0f0519960 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa0f04d4f27 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa0f04d53e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa0f04d554c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa0f04d5591 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fa0f04fce05 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fa0f26706db in start_thread (arg=0x7fa0c86c7700) at pthread_create.c:463
#8  0x00007fa0f5f7188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fa0d4140700 (LWP 2519)):
#0  0x00007fa0f5f600b4 in __GI___libc_read (fd=11, buf=0x7fa0d413fb20, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007fa0f0519960 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa0f04d4f27 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa0f04d53e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa0f04d554c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa0f68a4a9b in QEventDispatcherGlib::processEvents (this=0x7fa0cc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007fa0f6848dea in QEventLoop::exec (this=this@entry=0x7fa0d413fd30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#7  0x00007fa0f6673b8a in QThread::exec (this=this@entry=0x55c79e07f000) at thread/qthread.cpp:525
#8  0x00007fa0f9a6e906 in QQuickPixmapReader::run (this=0x55c79e07f000) at util/qquickpixmapcache.cpp:934
#9  0x00007fa0f667eaab in QThreadPrivate::start (arg=0x55c79e07f000) at thread/qthread_unix.cpp:367
#10 0x00007fa0f26706db in start_thread (arg=0x7fa0d4140700) at pthread_create.c:463
#11 0x00007fa0f5f7188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fa0e491b700 (LWP 2516)):
#0  0x00007fa0f5f64bf9 in __GI___poll (fds=0x7fa0d8004e00, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa0f04d5439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa0f04d554c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa0f68a4a9b in QEventDispatcherGlib::processEvents (this=0x7fa0d8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fa0f6848dea in QEventLoop::exec (this=this@entry=0x7fa0e491ad80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fa0f6673b8a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007fa0f72188b5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fa0f667eaab in QThreadPrivate::start (arg=0x55c79d992d50) at thread/qthread_unix.cpp:367
#8  0x00007fa0f26706db in start_thread (arg=0x7fa0e491b700) at pthread_create.c:463
#9  0x00007fa0f5f7188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fa0e5b2c700 (LWP 2515)):
#0  0x00007fa0f051acf4 in g_mutex_unlock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa0f04d4e49 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa0f04d53e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa0f04d554c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa0f68a4a9b in QEventDispatcherGlib::processEvents (this=0x7fa0e0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fa0f6848dea in QEventLoop::exec (this=this@entry=0x7fa0e5b2bd70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007fa0f6673b8a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#7  0x00007fa0f8571e45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fa0f667eaab in QThreadPrivate::start (arg=0x7fa0f87e9d60) at thread/qthread_unix.cpp:367
#9  0x00007fa0f26706db in start_thread (arg=0x7fa0e5b2c700) at pthread_create.c:463
#10 0x00007fa0f5f7188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fa0fa9f6c80 (LWP 2514)):
[KCrash Handler]
#6  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x697469726320656b) at /usr/include/c++/7/bits/atomic_base.h:396
#7  QAtomicOps<int>::load<int> (_q_value=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:227
#8  QBasicAtomicInteger<int>::load (this=0x697469726320656b) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:103
#9  QWeakPointer<QObject>::data (this=0x55c79f91cce0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:569
#10 QPointer<QQuickMenu>::data (this=0x55c79f91cce0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:86
#11 QPointer<QQuickMenu>::operator-> (this=0x55c79f91cce0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:88
#12 operator==<QQuickMenu> (o=0x0, p=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:116
#13 QQuickMenuPrivate::setParentMenu (this=0x55c79f91cb60, parent=parent@entry=0x0) at qquickmenu.cpp:482
#14 0x00007fa0e91725cb in QQuickMenuPrivate::removeItem (this=0x55c7a30cde20, index=<optimized out>, item=<optimized out>) at qquickmenu.cpp:238
#15 0x00007fa0f9b2ed26 in QQuickItemPrivate::itemChange (this=this@entry=0x55c79ddf5000, change=change@entry=QQuickItem::ItemParentHasChanged, data=...) at items/qquickitem.cpp:6206
#16 0x00007fa0f9b35157 in QQuickItem::setParentItem (this=0x55c7a01df140, parentItem=parentItem@entry=0x0) at items/qquickitem.cpp:2791
#17 0x00007fa0f9b36a6c in QQuickItem::~QQuickItem (this=0x55c79e2c80e0, __in_chrg=<optimized out>) at items/qquickitem.cpp:2391
#18 0x00007fa0f9b36d59 in QQuickItem::~QQuickItem (this=0x55c79e2c80e0, __in_chrg=<optimized out>) at items/qquickitem.cpp:2439
#19 0x00007fa0f68776ab in QObjectPrivate::deleteChildren (this=this@entry=0x55c7a0d16f10) at kernel/qobject.cpp:1997
#20 0x00007fa0f688114b in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1025
#21 0x00007fa0f9b36b7b in QQuickItem::~QQuickItem (this=0x55c7a100f850, __in_chrg=<optimized out>) at items/qquickitem.cpp:2378
#22 0x00007fa0f9b53e15 in QQmlPrivate::QQmlElement<QQuickListView>::~QQmlElement (this=0x55c7a100f850, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:103
#23 QQmlPrivate::QQmlElement<QQuickListView>::~QQmlElement (this=0x55c7a100f850, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:103
#24 0x00007fa0f68776ab in QObjectPrivate::deleteChildren (this=this@entry=0x55c7a30cde20) at kernel/qobject.cpp:1997
#25 0x00007fa0f688114b in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1025
#26 0x00007fa0dc62b25d in QQuickMenu::~QQuickMenu (this=0x55c79fb7af70, __in_chrg=<optimized out>) at ../../../include/QtQuickTemplates2/5.11.1/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qquickmenu_p.h:63
#27 QQmlPrivate::QQmlElement<QQuickMenu>::~QQmlElement (this=0x55c79fb7af70, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:103
#28 QQmlPrivate::QQmlElement<QQuickMenu>::~QQmlElement (this=0x55c79fb7af70, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:103
#29 0x00007fa0f68776ab in QObjectPrivate::deleteChildren (this=this@entry=0x55c7a323a9a0) at kernel/qobject.cpp:1997
#30 0x00007fa0f688114b in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1025
#31 0x00007fa0f9b36b7b in QQuickItem::~QQuickItem (this=0x55c7a0118890, __in_chrg=<optimized out>) at items/qquickitem.cpp:2378
#32 0x00007fa0f9b54065 in QQmlPrivate::QQmlElement<QQuickMouseArea>::~QQmlElement (this=0x55c7a0118890, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:103
#33 QQmlPrivate::QQmlElement<QQuickMouseArea>::~QQmlElement (this=0x55c7a0118890, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:103
#34 0x00007fa0f68776ab in QObjectPrivate::deleteChildren (this=this@entry=0x55c7a27a6a90) at kernel/qobject.cpp:1997
#35 0x00007fa0f688114b in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1025
#36 0x00007fa0f9b36b7b in QQuickItem::~QQuickItem (this=0x55c7a102cd10, __in_chrg=<optimized out>) at items/qquickitem.cpp:2378
#37 0x00007fa0f9b536c5 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement (this=0x55c7a102cd10, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:103
#38 QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement (this=0x55c7a102cd10, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:103
#39 0x00007fa0f687a660 in QObject::event (this=this@entry=0x55c7a102cd10, e=e@entry=0x55c79f95d5d0) at kernel/qobject.cpp:1242
#40 0x00007fa0f9b33aeb in QQuickItem::event (this=0x55c7a102cd10, ev=0x55c79f95d5d0) at items/qquickitem.cpp:8003
#41 0x00007fa0f7e61e8c in QApplicationPrivate::notify_helper (this=this@entry=0x55c79d8ed520, receiver=receiver@entry=0x55c7a102cd10, e=e@entry=0x55c79f95d5d0) at kernel/qapplication.cpp:3727
#42 0x00007fa0f7e6945f in QApplication::notify (this=0x7ffc5c3b4100, receiver=0x55c7a102cd10, e=0x55c79f95d5d0) at kernel/qapplication.cpp:3486
#43 0x00007fa0f684aab8 in QCoreApplication::notifyInternal2 (receiver=0x55c7a102cd10, event=event@entry=0x55c79f95d5d0) at kernel/qcoreapplication.cpp:1048
#44 0x00007fa0f684d5fd in QCoreApplication::sendEvent (event=0x55c79f95d5d0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55c79d8ecf30) at kernel/qcoreapplication.cpp:1745
#46 0x00007fa0f684dbb8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1599
#47 0x00007fa0f68a5453 in postEventSourceDispatch (s=0x55c79d972480) at kernel/qeventdispatcher_glib.cpp:276
#48 0x00007fa0f04d5287 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007fa0f04d54c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007fa0f04d554c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007fa0f68a4a7f in QEventDispatcherGlib::processEvents (this=0x55c79d913250, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#52 0x00007fa0eb01a571 in QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#53 0x00007fa0f6848dea in QEventLoop::exec (this=this@entry=0x7ffc5c3b4040, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#54 0x00007fa0f6851fa0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#55 0x000055c79b86c758 in main (argc=<optimized out>, argv=<optimized out>) at ./discover/main.cpp:156

Possible duplicates by query: bug 390480, bug 384419, bug 372712.

Reported using DrKonqi
Comment 1 Christopher Cormier 2018-08-27 00:44:26 UTC
After testing it a bit more after making this report, it definitely seems to happen on X11 too. I can reproduce it fairly regularly just by rapidly clicking through the menus. Eventually, it'll crash one of the times. The number of times I have to click before it crashes still seems random each time though.
Comment 2 Alexander Mentyu 2018-08-27 10:07:36 UTC
Can reproduce upon rapid clicking in left side menus on Wayland

Distribution: KDE neon Developer Edition
Kernel: 4.15.0-29-generic
Plasma: 5.13.80
Apps: 18.11.70
Qt: 5.11.1
Frameworks: 5.48.0
Graphics:
Card-1: Intel driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:5917 
Card-2: NVIDIA GM108M [GeForce 940MX] driver: nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:134d 
Display: wayland server: X.Org 1.19.6 driver: modesetting,nouveau 
unloaded: fbdev,vesa alternate: nvidia compositor: kwin wayland 
resolution: 1920x1080~57Hz 
OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) v: 4.5 Mesa 18.0.5 
compat-v: 3.0 direct render: Yes

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 0x7fa4ad9098c0 (LWP 5063))]

Thread 8 (Thread 0x7fa467fff700 (LWP 5075)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa4a95cf5cb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x575f900) at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=this@entry=0x575f748, mutex=mutex@entry=0x575f740, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007fa4aca935ad in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x575f738) at scenegraph/qsgthreadedrenderloop.cpp:245
#4  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x575f6c0) at scenegraph/qsgthreadedrenderloop.cpp:709
#5  0x00007fa4aca93a31 in QSGRenderThread::run (this=0x575f6c0) at scenegraph/qsgthreadedrenderloop.cpp:738
#6  0x00007fa4a95ce727 in QThreadPrivate::start (arg=0x575f6c0) at thread/qthread_unix.cpp:367
#7  0x00007fa4a566c6ba in start_thread (arg=0x7fa467fff700) at pthread_create.c:333
#8  0x00007fa4a8bd241d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fa4748df700 (LWP 5074)):
#0  0x00007fa4a3807372 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa4a380749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa4a97e70bb in QEventDispatcherGlib::processEvents (this=0x7fa4600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#3  0x00007fa4a978e5ba in QEventLoop::exec (this=this@entry=0x7fa4748decf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#4  0x00007fa4a95c35e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#5  0x00007fa4a95ce727 in QThreadPrivate::start (arg=0x1a7e710) at thread/qthread_unix.cpp:367
#6  0x00007fa4a566c6ba in start_thread (arg=0x7fa4748df700) at pthread_create.c:333
#7  0x00007fa4a8bd241d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fa477fff700 (LWP 5068)):
#0  0x00007fa4a8bc674d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fa4a380738c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa4a380749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa4a97e70bb in QEventDispatcherGlib::processEvents (this=0x7fa4700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fa4a978e5ba in QEventLoop::exec (this=this@entry=0x7fa477ffecf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fa4a95c35e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007fa4a95ce727 in QThreadPrivate::start (arg=0x215a9e0) at thread/qthread_unix.cpp:367
#7  0x00007fa4a566c6ba in start_thread (arg=0x7fa477fff700) at pthread_create.c:333
#8  0x00007fa4a8bd241d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fa47d89a700 (LWP 5067)):
#0  0x00007fa4a384ba94 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa4a3807381 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa4a380749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa4a97e70bb in QEventDispatcherGlib::processEvents (this=0x7fa4780008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fa4a978e5ba in QEventLoop::exec (this=this@entry=0x7fa47d899cf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fa4a95c35e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007fa4a95ce727 in QThreadPrivate::start (arg=0x1fb3ce0) at thread/qthread_unix.cpp:367
#7  0x00007fa4a566c6ba in start_thread (arg=0x7fa47d89a700) at pthread_create.c:333
#8  0x00007fa4a8bd241d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fa4863ee700 (LWP 5066)):
#0  0x00007fa4a384ba94 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa4a3806910 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa4a38072bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa4a380749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa4a97e70bb in QEventDispatcherGlib::processEvents (this=0x7fa4800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fa4a978e5ba in QEventLoop::exec (this=this@entry=0x7fa4863edc80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007fa4a95c35e4 in QThread::exec (this=this@entry=0x1db6200) at thread/qthread.cpp:525
#7  0x00007fa4aca12f86 in QQuickPixmapReader::run (this=0x1db6200) at util/qquickpixmapcache.cpp:934
#8  0x00007fa4a95ce727 in QThreadPrivate::start (arg=0x1db6200) at thread/qthread_unix.cpp:367
#9  0x00007fa4a566c6ba in start_thread (arg=0x7fa4863ee700) at pthread_create.c:333
#10 0x00007fa4a8bd241d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fa496da3700 (LWP 5065)):
#0  0x00007fa4a8bc674d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fa4a380738c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa4a380749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa4a97e70bb in QEventDispatcherGlib::processEvents (this=0x7fa4880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fa4a978e5ba in QEventLoop::exec (this=this@entry=0x7fa496da2cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007fa4a95c35e4 in QThread::exec (this=this@entry=0x16be120) at thread/qthread.cpp:525
#6  0x00007fa4aa14e195 in QQmlThreadPrivate::run (this=0x16be120) at qml/ftw/qqmlthread.cpp:148
#7  0x00007fa4a95ce727 in QThreadPrivate::start (arg=0x16be120) at thread/qthread_unix.cpp:367
#8  0x00007fa4a566c6ba in start_thread (arg=0x7fa496da3700) at pthread_create.c:333
#9  0x00007fa4a8bd241d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fa497fb4700 (LWP 5064)):
#0  0x00007fa4a384ba94 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa4a380638e in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa4a3807245 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa4a380749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa4a97e70bb in QEventDispatcherGlib::processEvents (this=0x7fa4900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fa4a978e5ba in QEventLoop::exec (this=this@entry=0x7fa497fb3cc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007fa4a95c35e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#7  0x00007fa4ab509f35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fa4a95ce727 in QThreadPrivate::start (arg=0x7fa4ab782d60) at thread/qthread_unix.cpp:367
#9  0x00007fa4a566c6ba in start_thread (arg=0x7fa497fb4700) at pthread_create.c:333
#10 0x00007fa4a8bd241d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fa4ad9098c0 (LWP 5063)):
[KCrash Handler]
#6  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x5) at /usr/include/c++/5/bits/atomic_base.h:396
#7  QAtomicOps<int>::load<int> (_q_value=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:227
#8  QBasicAtomicInteger<int>::load (this=0x5) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:103
#9  QWeakPointer<QObject>::data (this=0x49d8900) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:569
#10 QPointer<QQuickMenu>::data (this=0x49d8900) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:86
#11 QPointer<QQuickMenu>::operator-> (this=0x49d8900) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:88
#12 operator==<QQuickMenu> (o=0x0, p=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:116
#13 QQuickMenuPrivate::setParentMenu (this=0x49d8780, parent=parent@entry=0x0) at qquickmenu.cpp:482
#14 0x00007fa49b3a0d2b in QQuickMenuPrivate::removeItem (this=0x6ff8e90, index=<optimized out>, item=<optimized out>) at qquickmenu.cpp:238
#15 0x00007fa4acacaa13 in QQuickItemPrivate::itemChange (this=this@entry=0x6fc7d50, change=change@entry=QQuickItem::ItemParentHasChanged, data=...) at items/qquickitem.cpp:6206
#16 0x00007fa4acad7b17 in QQuickItem::setParentItem (this=0x700aef0, parentItem=parentItem@entry=0x0) at items/qquickitem.cpp:2791
#17 0x00007fa4acad871c in QQuickItem::~QQuickItem (this=0x712dde0, __in_chrg=<optimized out>) at items/qquickitem.cpp:2391
#18 0x00007fa4acad8a99 in QQuickItem::~QQuickItem (this=0x712dde0, __in_chrg=<optimized out>) at items/qquickitem.cpp:2439
#19 0x00007fa4a97baaf3 in QObjectPrivate::deleteChildren (this=this@entry=0x476c220) at kernel/qobject.cpp:1997
#20 0x00007fa4a97c4be4 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1025
#21 0x00007fa4acad882c in QQuickItem::~QQuickItem (this=0x7126e80, __in_chrg=<optimized out>) at items/qquickitem.cpp:2378
#22 0x00007fa4acaf7476 in QQmlPrivate::QQmlElement<QQuickListView>::~QQmlElement (this=0x7126e80, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:103
#23 QQmlPrivate::QQmlElement<QQuickListView>::~QQmlElement (this=0x7126e80, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:103
#24 0x00007fa4a97baaf3 in QObjectPrivate::deleteChildren (this=this@entry=0x6ff8e90) at kernel/qobject.cpp:1997
#25 0x00007fa4a97c4be4 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1025
#26 0x00007fa48d1656ae in QQuickMenu::~QQuickMenu (this=0x6ff8dd0, __in_chrg=<optimized out>) at ../../../include/QtQuickTemplates2/5.11.1/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qquickmenu_p.h:63
#27 QQmlPrivate::QQmlElement<QQuickMenu>::~QQmlElement (this=0x6ff8dd0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:103
#28 QQmlPrivate::QQmlElement<QQuickMenu>::~QQmlElement (this=0x6ff8dd0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:103
#29 0x00007fa4a97baaf3 in QObjectPrivate::deleteChildren (this=this@entry=0x4b66960) at kernel/qobject.cpp:1997
#30 0x00007fa4a97c4be4 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1025
#31 0x00007fa4acad882c in QQuickItem::~QQuickItem (this=0x7148200, __in_chrg=<optimized out>) at items/qquickitem.cpp:2378
#32 0x00007fa4acaf7626 in QQmlPrivate::QQmlElement<QQuickMouseArea>::~QQmlElement (this=0x7148200, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:103
#33 QQmlPrivate::QQmlElement<QQuickMouseArea>::~QQmlElement (this=0x7148200, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:103
#34 0x00007fa4a97baaf3 in QObjectPrivate::deleteChildren (this=this@entry=0x707dad0) at kernel/qobject.cpp:1997
#35 0x00007fa4a97c4be4 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1025
#36 0x00007fa4acad882c in QQuickItem::~QQuickItem (this=0x707da10, __in_chrg=<optimized out>) at items/qquickitem.cpp:2378
#37 0x00007fa4acaf70a6 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement (this=0x707da10, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:103
#38 QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement (this=0x707da10, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:103
#39 0x00007fa4a97bdff0 in QObject::event (this=this@entry=0x707da10, e=e@entry=0x6fbb7b0) at kernel/qobject.cpp:1242
#40 0x00007fa4acad69ab in QQuickItem::event (this=0x707da10, ev=0x6fbb7b0) at items/qquickitem.cpp:8003
#41 0x00007fa4aadea39c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x707da10, e=0x6fbb7b0) at kernel/qapplication.cpp:3727
#42 0x00007fa4aadf1ab0 in QApplication::notify (this=0x7fff23cb8960, receiver=0x707da10, e=0x6fbb7b0) at kernel/qapplication.cpp:3486
#43 0x00007fa4a9790228 in QCoreApplication::notifyInternal2 (receiver=0x707da10, event=event@entry=0x6fbb7b0) at kernel/qcoreapplication.cpp:1048
#44 0x00007fa4a9792e2e in QCoreApplication::sendEvent (event=0x6fbb7b0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x15f29f0) at kernel/qcoreapplication.cpp:1745
#46 0x00007fa4a97932a8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1599
#47 0x00007fa4a97e7a93 in postEventSourceDispatch (s=0x1688920) at kernel/qeventdispatcher_glib.cpp:276
#48 0x00007fa4a3807197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007fa4a38073f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007fa4a380749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007fa4a97e709f in QEventDispatcherGlib::processEvents (this=0x1680bd0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#52 0x00007fa49d5f8421 in QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#53 0x00007fa4a978e5ba in QEventLoop::exec (this=this@entry=0x7fff23cb8880, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#54 0x00007fa4a97976c4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#55 0x00007fa4aa5d5f8c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1762
#56 0x00007fa4aadea2f5 in QApplication::exec () at kernel/qapplication.cpp:2901
#57 0x00000000004133ff in main (argc=3, argv=<optimized out>) at /workspace/build/discover/main.cpp:156
Comment 3 Aleix Pol 2018-08-31 15:51:24 UTC

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