Bug 456751 - Discover crashed in QQuickWindowPrivate::isDeliveringTouchAsMouse() on close
Summary: Discover crashed in QQuickWindowPrivate::isDeliveringTouchAsMouse() on close
Status: REPORTED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-07-15 11:46 UTC by Patrick Silva
Modified: 2023-03-31 09:21 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (16.60 KB, text/plain)
2022-08-09 09:01 UTC, Paul Worrall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2022-07-15 11:46:20 UTC
Application: plasma-discover (5.25.80)

Qt Version: 5.15.5
Frameworks Version: 5.97.0
Operating System: Linux 5.18.4-051804-generic x86_64
Windowing System: Wayland
Distribution: KDE neon Unstable Edition
DrKonqi: 5.25.80 [CoredumpBackend]

-- Information about the crash:
I closed Discover and Plasma shown a crash notification after a few seconds.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault

[New LWP 8882]
[New LWP 8884]
[New LWP 8883]
[New LWP 8889]
[New LWP 8887]
[New LWP 8957]
[New LWP 9013]
[New LWP 8885]
[New LWP 8894]
[New LWP 8969]
[New LWP 8890]
[New LWP 8982]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/plasma-discover --mode update'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __GI_raise (sig=sig@entry=11) at ../sysdeps/unix/sysv/linux/raise.c:50
[Current thread is 1 (Thread 0x7fc0e7f2fb80 (LWP 8882))]
[Current thread is 1 (Thread 0x7fc0e7f2fb80 (LWP 8882))]

Thread 12 (Thread 0x7fc09cffd700 (LWP 8982)):
#0  0x00007fc0ec53e99f in __GI___poll (fds=0x7fc084001ae0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc0eb49a36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fc084001ae0, timeout=<optimized out>, context=0x7fc084000b90) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fc084000b90, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fc0eb49a4a3 in g_main_context_iteration (context=0x7fc084000b90, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fc0ecb0f5a2 in QEventDispatcherGlib::processEvents (this=0x7fc084002590, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007fc0ecab376b in QEventLoop::exec (this=this@entry=0x7fc09cffca20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007fc0ec8cd372 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fc0ec8ce553 in QThreadPrivate::start (arg=0x5570d8a4d4c0) at thread/qthread_unix.cpp:331
#8  0x00007fc0ebeff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fc0ec54b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7fc0c760e700 (LWP 8890)):
#0  0x00007fc0ec53e99f in __GI___poll (fds=0x7fc0b8006400, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc0eb49a36e in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x7fc0b8006400, timeout=<optimized out>, context=0x5570d89ab3a0) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=0x5570d89ab3a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fc0eb49a6f3 in g_main_loop_run (loop=0x5570d89ab460) at ../../../glib/gmain.c:4241
#4  0x00007fc0eb2a2f8a in gdbus_shared_thread_func (user_data=0x5570d89ecf70) at ../../../gio/gdbusprivate.c:279
#5  0x00007fc0eb4c3ad1 in g_thread_proxy (data=0x5570d89b6360) at ../../../glib/gthread.c:807
#6  0x00007fc0ebeff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fc0ec54b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fc0acbff700 (LWP 8969)):
#0  0x00007fc0ec53e99f in __GI___poll (fds=0x7fc08c0559e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc0eb49a36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fc08c0559e0, timeout=<optimized out>, context=0x7fc08c046720) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fc08c046720, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fc0eb49a4a3 in g_main_context_iteration (context=0x7fc08c046720, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fc0ecb0f5bb in QEventDispatcherGlib::processEvents (this=0x7fc08c0012e0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fc0ecab376b in QEventLoop::exec (this=this@entry=0x7fc0acbfea20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007fc0ec8cd372 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fc0ec8ce553 in QThreadPrivate::start (arg=0x5570da1f33c0) at thread/qthread_unix.cpp:331
#8  0x00007fc0ebeff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fc0ec54b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fc0c4c3b700 (LWP 8894)):
#0  0x00007fc0ec53e99f in __GI___poll (fds=0x7fc0bc2cffd0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc0eb49a36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fc0bc2cffd0, timeout=<optimized out>, context=0x7fc0bc2e45b0) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fc0bc2e45b0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fc0eb49a4a3 in g_main_context_iteration (context=context@entry=0x7fc0bc2e45b0, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fc0c5d1a99d in dconf_gdbus_worker_thread (user_data=0x7fc0bc2e45b0) at ../gdbus/dconf-gdbus-thread.c:82
#5  0x00007fc0eb4c3ad1 in g_thread_proxy (data=0x7fc0cc02cd20) at ../../../glib/gthread.c:807
#6  0x00007fc0ebeff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fc0ec54b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fc0e59b8700 (LWP 8885)):
#0  0x00007fc0ec53e99f in __GI___poll (fds=0x7fc0dc004a60, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc0eb49a36e in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x7fc0dc004a60, timeout=<optimized out>, context=0x7fc0dc000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fc0dc000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fc0eb49a4a3 in g_main_context_iteration (context=0x7fc0dc000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fc0ecb0f5a2 in QEventDispatcherGlib::processEvents (this=0x7fc0dc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007fc0ecab376b in QEventLoop::exec (this=this@entry=0x7fc0e59b79f0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007fc0ec8cd372 in QThread::exec (this=this@entry=0x7fc0edd23d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fc0edc9ff4b in QDBusConnectionManager::run (this=0x7fc0edd23d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#8  0x00007fc0ec8ce553 in QThreadPrivate::start (arg=0x7fc0edd23d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:331
#9  0x00007fc0ebeff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007fc0ec54b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fc0aefff700 (LWP 9013)):
#0  0x00007fc0ec53e99f in __GI___poll (fds=0x7fc0a041d700, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc0eb49a36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fc0a041d700, timeout=<optimized out>, context=0x7fc0a008e740) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fc0a008e740, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fc0eb49a4a3 in g_main_context_iteration (context=0x7fc0a008e740, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fc0ecb0f5bb in QEventDispatcherGlib::processEvents (this=0x7fc0a00bb3f0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fc0ecab376b in QEventLoop::exec (this=this@entry=0x7fc0aeffea20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007fc0ec8cd372 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fc0ec8ce553 in QThreadPrivate::start (arg=0x5570d8e36ba0) at thread/qthread_unix.cpp:331
#8  0x00007fc0ebeff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fc0ec54b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fc08b7ff700 (LWP 8957)):
#0  0x00007fc0ec53e99f in __GI___poll (fds=0x7fc0800018f0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc0eb49a36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fc0800018f0, timeout=<optimized out>, context=0x7fc080000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fc080000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fc0eb49a4a3 in g_main_context_iteration (context=0x7fc080000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fc0ecb0f5a2 in QEventDispatcherGlib::processEvents (this=0x7fc080000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007fc0ecab376b in QEventLoop::exec (this=this@entry=0x7fc08b7fea20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007fc0ec8cd372 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fc0ec8ce553 in QThreadPrivate::start (arg=0x5570d9ae6020) at thread/qthread_unix.cpp:331
#8  0x00007fc0ebeff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fc0ec54b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fc0d58be700 (LWP 8887)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5570d827b2e8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5570d827b298, cond=0x5570d827b2c0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5570d827b2c0, mutex=0x5570d827b298) at pthread_cond_wait.c:647
#3  0x00007fc0d5c4d5eb in cnd_wait (mtx=0x5570d827b298, cond=0x5570d827b2c0) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x5570d8350de0) at ../src/util/u_queue.c:294
#5  0x00007fc0d5c4d1eb in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007fc0ebeff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fc0ec54b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fc0c7e0f700 (LWP 8889)):
#0  0x00007fc0ec53e99f in __GI___poll (fds=0x5570d899f680, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc0eb49a36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x5570d899f680, timeout=<optimized out>, context=0x5570d89b53d0) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x5570d89b53d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007fc0eb49a4a3 in g_main_context_iteration (context=0x5570d89b53d0, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007fc0eb49a4f1 in glib_worker_main (data=<optimized out>) at ../../../glib/gmain.c:5996
#5  0x00007fc0eb4c3ad1 in g_thread_proxy (data=0x7fc0cc002120) at ../../../glib/gthread.c:807
#6  0x00007fc0ebeff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007fc0ec54b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fc0e6a96700 (LWP 8883)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5570d82418c4) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5570d8241870, cond=0x5570d8241898) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5570d8241898, mutex=0x5570d8241870) at pthread_cond_wait.c:647
#3  0x00007fc0ec8d45fb in QWaitConditionPrivate::wait (deadline=..., this=0x5570d8241870) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x5570d8243ef0, mutex=mutex@entry=0x5570d8243ee8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fc0e7e11bcd in QtWaylandClient::EventThread::waitForReading (this=0x5570d8243eb0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QtWaylandClient::EventThread::run (this=0x5570d8243eb0) at qwaylanddisplay.cpp:206
#7  0x00007fc0ec8ce553 in QThreadPrivate::start (arg=0x5570d8243eb0) at thread/qthread_unix.cpp:331
#8  0x00007fc0ebeff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fc0ec54b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fc0e6295700 (LWP 8884)):
#0  0x00007fc0ec53e99f in __GI___poll (fds=fds@entry=0x7fc0e6294a20, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fc0e7e11c26 in poll (__timeout=-1, __nfds=2, __fds=0x7fc0e6294a20) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  QtWaylandClient::EventThread::run (this=0x5570d823dd80) at qwaylanddisplay.cpp:208
#3  0x00007fc0ec8ce553 in QThreadPrivate::start (arg=0x5570d823dd80) at thread/qthread_unix.cpp:331
#4  0x00007fc0ebeff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#5  0x00007fc0ec54b133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fc0e7f2fb80 (LWP 8882)):
[KCrash Handler]
#3  QQuickWindowPrivate::isDeliveringTouchAsMouse (this=0x1a1, this=0x1a1) at items/qquickwindow_p.h:152
#4  QQuickWindow::mouseGrabberItem (this=0x5570d83330b0) at items/qquickwindow.cpp:1734
#5  0x00007fc0eea83b8e in QQuickWindowPrivate::removeGrabber (this=this@entry=0x5570d82a02e0, grabber=0x5570d9fecf20, mouse=mouse@entry=true, touch=touch@entry=true) at items/qquickwindow.cpp:1001
#6  0x00007fc0eea6a383 in QQuickItemPrivate::derefWindow (this=0x5570d99061c0) at items/qquickitem.cpp:3033
#7  0x00007fc0eea6ac2c in QQuickItem::setParentItem (this=0x5570d9fecf20, parentItem=parentItem@entry=0x0) at items/qquickitem.cpp:2717
#8  0x00007fc0eea6b87c in QQuickItem::~QQuickItem (this=0x5570d96dd090, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:570
#9  0x00007fc0eebe8ba9 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement (this=0x5570d96dd090, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:142
#10 QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement (this=0x5570d96dd090, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:144
#11 0x00007fc0ecadf26e in QObjectPrivate::deleteChildren (this=0x5570d9d81490) at kernel/qobject.cpp:2104
#12 0x00007fc0ecae9d06 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#13 0x00007fc0eea6b97a in QQuickItem::~QQuickItem (this=0x7fc050007570, __in_chrg=<optimized out>) at items/qquickitem.cpp:2387
#14 0x00007fc0eebe8ba9 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement (this=0x7fc050007570, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:142
#15 QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement (this=0x7fc050007570, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:144
#16 0x00007fc0ecadf26e in QObjectPrivate::deleteChildren (this=0x5570d8665a00) at kernel/qobject.cpp:2104
#17 0x00007fc0ecae9d06 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#18 0x00007fc0eea6b97a in QQuickItem::~QQuickItem (this=0x5570d8830b10, __in_chrg=<optimized out>) at items/qquickitem.cpp:2387
#19 0x00007fc0eebebec9 in QQmlPrivate::QQmlElement<QQuickLoader>::~QQmlElement (this=0x5570d8830b10, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:142
#20 QQmlPrivate::QQmlElement<QQuickLoader>::~QQmlElement (this=0x5570d8830b10, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:144
#21 0x00007fc0ecadf26e in QObjectPrivate::deleteChildren (this=0x5570d84860e0) at kernel/qobject.cpp:2104
#22 0x00007fc0ecae9d06 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#23 0x00007fc0eea6b97a in QQuickItem::~QQuickItem (this=0x5570d882b3d0, __in_chrg=<optimized out>) at items/qquickitem.cpp:2387
#24 0x00007fc0e40423b9 in QQmlPrivate::QQmlElement<QQuickPage>::~QQmlElement (this=0x5570d882b3d0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:142
#25 QQmlPrivate::QQmlElement<QQuickPage>::~QQmlElement (this=0x5570d882b3d0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:144
#26 0x00007fc0ed7b6707 in QV4::QObjectWrapper::destroyObject (this=<optimized out>, lastCall=lastCall@entry=true) at /usr/include/c++/9/bits/atomic_base.h:413
#27 0x00007fc0ed6b0559 in QV4::MemoryManager::sweep (this=this@entry=0x5570d8243400, lastSweep=lastSweep@entry=true, classCountPtr=classCountPtr@entry=0x0) at memory/qv4mm.cpp:932
#28 0x00007fc0ed6b05d9 in QV4::MemoryManager::~MemoryManager (this=0x5570d8243400, __in_chrg=<optimized out>) at memory/qv4mm.cpp:1184
#29 0x00007fc0ed731a6c in QV4::ExecutionEngine::~ExecutionEngine (this=0x5570d82ad090, __in_chrg=<optimized out>) at jsruntime/qv4engine.cpp:818
#30 0x00007fc0ed71c432 in QJSEngine::~QJSEngine (this=0x5570d81f21b0, __in_chrg=<optimized out>) at jsapi/qjsengine.cpp:370
#31 0x00007fc0ed897f54 in QQmlEngine::~QQmlEngine (this=0x5570d81f21b0, __in_chrg=<optimized out>) at /usr/include/c++/9/bits/atomic_base.h:326
#32 0x00007fc0ed91ee4d in QQmlApplicationEngine::~QQmlApplicationEngine (this=0x5570d81f21b0, __in_chrg=<optimized out>) at qml/qqmlapplicationengine.cpp:267
#33 0x00005570d7d14095 in DiscoverObject::~DiscoverObject (this=0x5570d82dc6e0, __in_chrg=<optimized out>) at ./discover/DiscoverObject.cpp:194
#34 0x00005570d7d140bd in DiscoverObject::~DiscoverObject (this=0x5570d82dc6e0, __in_chrg=<optimized out>) at ./discover/DiscoverObject.cpp:192
#35 0x00007fc0ecae25e3 in QObject::event (this=0x5570d82dc6e0, e=0x5570d8720b60) at kernel/qobject.cpp:1301
#36 0x00007fc0edf6de83 in QApplicationPrivate::notify_helper (this=this@entry=0x5570d821a980, receiver=receiver@entry=0x5570d82dc6e0, e=e@entry=0x5570d8720b60) at kernel/qapplication.cpp:3637
#37 0x00007fc0edf76c98 in QApplication::notify (this=0x7fff4b788bb0, receiver=0x5570d82dc6e0, e=0x5570d8720b60) at kernel/qapplication.cpp:3161
#38 0x00007fc0ecab4c6a in QCoreApplication::notifyInternal2 (receiver=0x5570d82dc6e0, event=0x5570d8720b60) at ../../include/QtCore/5.15.5/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:332
#39 0x00007fc0ecab7571 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=52, data=0x5570d82146f0) at kernel/qcoreapplication.cpp:1821
#40 0x00007fc0ecabb92c in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:86
#41 0x00005570d7d09825 in main (argc=<optimized out>, argv=<optimized out>) at ./discover/main.cpp:211

Reported using DrKonqi
Comment 1 Nate Graham 2022-07-15 20:23:16 UTC
Really weird backtrace.
Comment 2 Paul Worrall 2022-08-09 09:01:27 UTC
Created attachment 151188 [details]
New crash information added by DrKonqi

plasma-discover (5.25.80) using Qt 5.15.5

I can reproduce the crash every time (the crash handler says it's the same one):

When an update arrives, select "Update All" then when it's finished close Discover without pressing the Reboot button

-- Backtrace (Reduced):
#3  QQuickWindowPrivate::isDeliveringTouchAsMouse() const (this=0x1a1, this=0x1a1) at items/qquickwindow_p.h:152
#4  QQuickWindow::mouseGrabberItem() const (this=0x56509b4f2c20) at items/qquickwindow.cpp:1734
#5  0x00007f080fbfbb8e in QQuickWindowPrivate::removeGrabber(QQuickItem*, bool, bool) (this=this@entry=0x56509b455ff0, grabber=0x56509f803400, mouse=mouse@entry=true, touch=touch@entry=true) at items/qquickwindow.cpp:1001
#6  0x00007f080fbe2383 in QQuickItemPrivate::derefWindow() (this=0x56509bd0a3f0) at items/qquickitem.cpp:3033
#7  0x00007f080fbe2c2c in QQuickItem::setParentItem(QQuickItem*) (this=0x56509f803400, parentItem=parentItem@entry=0x0) at items/qquickitem.cpp:2717
Comment 3 Kalle Hallivuori 2023-03-31 09:21:10 UTC
For me Discover crashes every time I close it (usually from top-right close icon, but I haven't found out any way to close it without crashing). This has been happening since I set the system up last summer.

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-69-generic (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 5500
Memory: 31,1 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1660 SUPER/PCIe/SSE2

Application: plasma-discover (5.24.7)

Qt Version: 5.15.3
Frameworks Version: 5.98.0
Operating System: Linux 5.15.0-69-generic x86_64
Windowing System: X11
Distribution: Ubuntu 22.04.2 LTS
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

The crash can be reproduced every time.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f07248d6275 in QQuickWindow::mouseGrabberItem() const () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f07248d8aef in QQuickWindowPrivate::removeGrabber(QQuickItem*, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f07248c0195 in QQuickItemPrivate::derefWindow() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f07248c0d58 in QQuickItem::setParentItem(QQuickItem*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f07248c103c in QQuickItem::~QQuickItem() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007f0724a42859 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007f0722d35a6e in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f0722d40924 in QObject::~QObject() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f0724a42859 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#13 0x00007f0722d35a6e in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f0722d40924 in QObject::~QObject() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f0724a43789 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#16 0x00007f0722d35a6e in QObjectPrivate::deleteChildren() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f0722d40924 in QObject::~QObject() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f071466e609 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Templates.2/libqtquicktemplates2plugin.so
#19 0x00007f072373f463 in QV4::MemoryManager::sweep(bool, void (*)(char const*)) () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#20 0x00007f072373f5a9 in QV4::MemoryManager::~MemoryManager() () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#21 0x00007f07237bc0e4 in QV4::ExecutionEngine::~ExecutionEngine() () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#22 0x00007f07237a67e2 in QJSEngine::~QJSEngine() () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#23 0x00007f0723984a3d in QQmlApplicationEngine::~QQmlApplicationEngine() () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#24 0x00005570be805411 in ?? ()
#25 0x00005570be80543d in ?? ()
#26 0x00007f0722d381c3 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f0723eb6713 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007f0722d0ae3a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f0722d0df27 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f0722d11d0c in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00005570be803838 in ?? ()
#32 0x00007f0722628d90 in __libc_start_call_main (main=main@entry=0x5570be802f40, argc=argc@entry=3, argv=argv@entry=0x7fff7e4b8398) at ../sysdeps/nptl/libc_start_call_main.h:58
#33 0x00007f0722628e40 in __libc_start_main_impl (main=0x5570be802f40, argc=3, argv=0x7fff7e4b8398, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff7e4b8388) at ../csu/libc-start.c:392
#34 0x00005570be804275 in ?? ()
[Inferior 1 (process 7207) detached]

Report to https://bugs.kde.org/