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

            Bug ID: 425869
           Summary: kwin_wayland crashes when I click on an entry of task
                    manager while its tooltip is visible
           Product: kwin
           Version: git master
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: wayland-generic
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

STEPS TO REPRODUCE
1. open an app on Wayland session
2. hover over its entry in task manager and click on it while its tooltip is
visible
3. 

OBSERVED RESULT
kwin_wayland crashes

EXPECTED RESULT
no crash

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2


Thread 11 (Thread 11801.13452):
#0  0x00007fcb0e0e543e in epoll_wait (epfd=190, events=0x7fcaee9809b0,
maxevents=32, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x00007fcaef8173fb in ?? () from
target:/usr/lib/x86_64-linux-gnu/spa-0.2/support/libspa-support.so
#2  0x00007fcaef815080 in ?? () from
target:/usr/lib/x86_64-linux-gnu/spa-0.2/support/libspa-support.so
#3  0x00007fcb0fd2c180 in ?? () from
target:/lib/x86_64-linux-gnu/libpipewire-0.3.so.0
#4  0x00007fcb0f9c0609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#5  0x00007fcb0e0e5103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 11801.11859):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x7fcb0de94fb8 <QTWTF::pageheap_memory+57592>) at
../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fcb0de94f68
<QTWTF::pageheap_memory+57512>, cond=0x7fcb0de94f90
<QTWTF::pageheap_memory+57552>) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=cond@entry=0x7fcb0de94f90
<QTWTF::pageheap_memory+57552>, mutex=mutex@entry=0x7fcb0de94f68
<QTWTF::pageheap_memory+57512>) at pthread_cond_wait.c:638
#3  0x00007fcb0dd9761a in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x7fcb0de86ec0 <QTWTF::pageheap_memory>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x00007fcb0dd9763f in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x00007fcb0f9c0609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#6  0x00007fcb0e0e5103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 11801.11838):
#0  0x00007fcb0e0d896f in __GI___poll (fds=0x7fcadc004e60, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fcb0c07e1ae in ?? () from
target:/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcb0c07e2e3 in g_main_context_iteration () from
target:/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb0e7f51e2 in QEventDispatcherGlib::processEvents
(this=0x7fcadc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007fcb0e79b24b in QEventLoop::exec (this=this@entry=0x7fcaf4f35d80,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007fcb0e5bdeb2 in QThread::exec (this=this@entry=0x55cdb7314e50) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007fcb0d269b99 in QQmlThreadPrivate::run (this=0x55cdb7314e50) at
qml/ftw/qqmlthread.cpp:155
#7  0x00007fcb0e5bf01c in QThreadPrivate::start (arg=0x55cdb7314e50) at
thread/qthread_unix.cpp:342
#8  0x00007fcb0f9c0609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9  0x00007fcb0e0e5103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 11801.11817):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55cdb752c098) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55cdb752c048,
cond=0x55cdb752c070) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=cond@entry=0x55cdb752c070,
mutex=mutex@entry=0x55cdb752c048) at pthread_cond_wait.c:638
#3  0x00007fcb04eff97b in cnd_wait (mtx=0x55cdb752c048, cond=0x55cdb752c070) at
../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55cdb73eca40) at
../src/util/u_queue.c:275
#5  0x00007fcb04eff58b in impl_thrd_routine (p=<optimized out>) at
../include/c11/threads_posix.h:87
#6  0x00007fcb0f9c0609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#7  0x00007fcb0e0e5103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 11801.11816):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55cdb752c098) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55cdb752c048,
cond=0x55cdb752c070) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=cond@entry=0x55cdb752c070,
mutex=mutex@entry=0x55cdb752c048) at pthread_cond_wait.c:638
#3  0x00007fcb04eff97b in cnd_wait (mtx=0x55cdb752c048, cond=0x55cdb752c070) at
../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55cdb7347fd0) at
../src/util/u_queue.c:275
#5  0x00007fcb04eff58b in impl_thrd_routine (p=<optimized out>) at
../include/c11/threads_posix.h:87
#6  0x00007fcb0f9c0609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#7  0x00007fcb0e0e5103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 11801.11815):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55cdb752c098) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55cdb752c048,
cond=0x55cdb752c070) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=cond@entry=0x55cdb752c070,
mutex=mutex@entry=0x55cdb752c048) at pthread_cond_wait.c:638
#3  0x00007fcb04eff97b in cnd_wait (mtx=0x55cdb752c048, cond=0x55cdb752c070) at
../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55cdb73301e0) at
../src/util/u_queue.c:275
#5  0x00007fcb04eff58b in impl_thrd_routine (p=<optimized out>) at
../include/c11/threads_posix.h:87
#6  0x00007fcb0f9c0609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#7  0x00007fcb0e0e5103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 11801.11814):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x55cdb752c098) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55cdb752c048,
cond=0x55cdb752c070) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=cond@entry=0x55cdb752c070,
mutex=mutex@entry=0x55cdb752c048) at pthread_cond_wait.c:638
#3  0x00007fcb04eff97b in cnd_wait (mtx=0x55cdb752c048, cond=0x55cdb752c070) at
../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55cdb7398f70) at
../src/util/u_queue.c:275
#5  0x00007fcb04eff58b in impl_thrd_routine (p=<optimized out>) at
../include/c11/threads_posix.h:87
#6  0x00007fcb0f9c0609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#7  0x00007fcb0e0e5103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 11801.11810):
#0  0x00007fcb0e0d896f in __GI___poll (fds=0x7fcafc004630, nfds=2, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fcb0c07e1ae in ?? () from
target:/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcb0c07e2e3 in g_main_context_iteration () from
target:/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb0e7f51e2 in QEventDispatcherGlib::processEvents
(this=0x7fcafc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007fcb0e79b24b in QEventLoop::exec (this=this@entry=0x7fcb06d47da0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007fcb0e5bdeb2 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007fcb0e5bf01c in QThreadPrivate::start (arg=0x55cdb72af930) at
thread/qthread_unix.cpp:342
#7  0x00007fcb0f9c0609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#8  0x00007fcb0e0e5103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 11801.11809):
#0  0x00007fcb0e0d896f in __GI___poll (fds=0x7fcaf8005240, nfds=2, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fcb0c07e1ae in ?? () from
target:/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcb0c07e2e3 in g_main_context_iteration () from
target:/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb0e7f51e2 in QEventDispatcherGlib::processEvents
(this=0x7fcaf8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007fcb0e79b24b in QEventLoop::exec (this=this@entry=0x7fcb07548da0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007fcb0e5bdeb2 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007fcb0e5bf01c in QThreadPrivate::start (arg=0x55cdb72ae800) at
thread/qthread_unix.cpp:342
#7  0x00007fcb0f9c0609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#8  0x00007fcb0e0e5103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 11801.11808):
#0  0x00007fcb0e0d896f in __GI___poll (fds=0x7fcb00015b90, nfds=5, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fcb0c07e1ae in ?? () from
target:/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcb0c07e2e3 in g_main_context_iteration () from
target:/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb0e7f51e2 in QEventDispatcherGlib::processEvents
(this=0x7fcb00000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007fcb0e79b24b in QEventLoop::exec (this=this@entry=0x7fcb07dded70,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007fcb0e5bdeb2 in QThread::exec (this=this@entry=0x7fcb0f98bda0
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007fcb0f907f5b in QDBusConnectionManager::run (this=0x7fcb0f98bda0
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:179
#7  0x00007fcb0e5bf01c in QThreadPrivate::start (arg=0x7fcb0f98bda0 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:342
#8  0x00007fcb0f9c0609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9  0x00007fcb0e0e5103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 11801.11801):
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007fcb0dfe8859 in __GI_abort () at abort.c:79
#2  0x00007fcb0e452b87 in ?? () from target:/lib/x86_64-linux-gnu/libepoxy.so.0
#3  0x00007fcb0e456292 in ?? () from target:/lib/x86_64-linux-gnu/libepoxy.so.0
#4  0x000055cdb6b163c9 in KWin::EGLFence::EGLFence (eglDisplay=0x55cdb752ff80,
this=0x7ffffb497b60) at ./screencast/screencastmanager.cpp:43
#5  KWin::WindowStream::bufferToStream (this=0x55cdb80689b0) at
./screencast/screencastmanager.cpp:101
#6  0x00007fcb0e7d251e in QtPrivate::QSlotObjectBase::call (a=0x7ffffb497c50,
r=0x55cdb80689b0, this=0x55cdb73c1d10) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#7  doActivate<false> (sender=0x55cdb7410f50, signal_index=3,
argv=0x7ffffb497c50) at kernel/qobject.cpp:3870
#8  0x00007fcb0fefeea2 in KWin::EffectsHandlerImpl::paintScreen
(this=0x55cdb7ca2430, mask=<optimized out>, region=..., data=...) at
./effects.cpp:383
#9  0x00007fcb0fefeea2 in KWin::EffectsHandlerImpl::paintScreen
(this=0x55cdb7ca2430, mask=<optimized out>, region=..., data=...) at
./effects.cpp:383
#10 0x00007fcb0ff865d4 in KWin::Scene::paintScreen
(this=this@entry=0x55cdb7410f50, mask=mask@entry=0x7ffffb497e3c, damage=...,
repaint=..., updateRegion=updateRegion@entry=0x7ffffb497e50,
validRegion=validRegion@entry=0x7ffffb497e58, projection=...,
outputGeometry=..., screenScale=screenScale@entry=1) at ./scene.cpp:135
#11 0x00007fcb05aa5635 in KWin::SceneOpenGL::paint (this=0x55cdb7410f50,
damage=..., toplevels=...) at ./plugins/scenes/opengl/scene_opengl.h:114
#12 0x00007fcb0fec51af in KWin::Compositor::performCompositing
(this=0x55cdb73a90d0) at ./composite.cpp:689
#13 0x00007fcb075678dd in drmHandleEvent () from
target:/lib/x86_64-linux-gnu/libdrm.so.2
#14 0x00007fcb075a98f3 in KWin::DrmBackend::<lambda()>::operator()
(__closure=<optimized out>) at ./plugins/platforms/drm/drm_backend.cpp:269
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void,
KWin::DrmBackend::openDrm()::<lambda()> >::call (arg=<optimized out>, f=...) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146
#16 QtPrivate::Functor<KWin::DrmBackend::openDrm()::<lambda()>,
0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256
#17 QtPrivate::QFunctorSlotObject<KWin::DrmBackend::openDrm()::<lambda()>, 0,
QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *,
void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized
out>, a=<optimized out>, ret=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:443
#18 0x00007fcb0e7d251e in QtPrivate::QSlotObjectBase::call (a=0x7ffffb498540,
r=0x55cdb72a4d70, this=0x55cdb7300940) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#19 doActivate<false> (sender=0x55cdb733f2b0, signal_index=3,
argv=0x7ffffb498540) at kernel/qobject.cpp:3870
#20 0x00007fcb0e7ccaf7 in QMetaObject::activate
(sender=sender@entry=0x55cdb733f2b0, m=m@entry=0x7fcb0ea78ba0
<QSocketNotifier::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffffb498540)
at kernel/qobject.cpp:3930
#21 0x00007fcb0e7d5d95 in QSocketNotifier::activated
(this=this@entry=0x55cdb733f2b0, _t1=<optimized out>, _t2=...) at
.moc/moc_qsocketnotifier.cpp:141
#22 0x00007fcb0e7d60f1 in QSocketNotifier::event (this=0x55cdb733f2b0,
e=0x7ffffb498800) at kernel/qsocketnotifier.cpp:266
#23 0x00007fcb0f2accc3 in QApplicationPrivate::notify_helper
(this=this@entry=0x55cdb72581d0, receiver=receiver@entry=0x55cdb733f2b0,
e=e@entry=0x7ffffb498800) at kernel/qapplication.cpp:3685
#24 0x00007fcb0f2b5f40 in QApplication::notify (this=0x7ffffb498be0,
receiver=0x55cdb733f2b0, e=0x7ffffb498800) at kernel/qapplication.cpp:3431
#25 0x00007fcb0e79c78a in QCoreApplication::notifyInternal2
(receiver=0x55cdb733f2b0, event=0x7ffffb498800) at
../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#26 0x00007fcb0e7f240b in QEventDispatcherUNIXPrivate::activateSocketNotifiers
(this=0x55cdb7267e10) at kernel/qeventdispatcher_unix.cpp:304
#27 0x00007fcb0e7f286b in QEventDispatcherUNIX::processEvents (this=<optimized
out>, flags=...) at kernel/qeventdispatcher_unix.cpp:509
#28 0x00007fcb0885c801 in
QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from target:/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/KWinQpaPlugin.so
#29 0x00007fcb0e79b24b in QEventLoop::exec (this=this@entry=0x7ffffb498990,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#30 0x00007fcb0e7a3296 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#31 0x000055cdb6afb40c in main (argc=<optimized out>, argv=<optimized out>) at
./main_wayland.cpp:706
Detaching from program: target:/usr/bin/kwin_wayland, process 11801
Ending remote debugging.
[Inferior 1 (process 11801) detached]

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

Reply via email to