https://bugs.kde.org/show_bug.cgi?id=397907

            Bug ID: 397907
           Summary: Discover occasionally crashes whenever clicking
                    through menus
           Product: Discover
           Version: unspecified
          Platform: Neon Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: discover
          Assignee: aleix...@kde.org
          Reporter: khrom...@protonmail.com
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to