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

            Bug ID: 426289
           Summary: [Wayland ] systemsettings crashed when I was switching
                    between the sections of "Desktop behavior"
           Product: systemsettings
           Version: 5.18.5
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: aspotas...@gmail.com
  Target Milestone: ---

Application: systemsettings5 (5.18.5)

Qt Version: 5.14.2
Frameworks Version: 5.70.0
Operating System: Linux 5.8.4-200.fc32.x86_64 x86_64
Windowing system: Wayland
Distribution: "Fedora release 32 (Thirty Two)"

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

1. Start a Plasma Wayland session
2. Run "WAYLAND_DEBUG=1 systemsettings5" on command line (e.g. in Yakuake)
3. Open "plasma behaviour" section
4. Click and hold LMB on the tabbar on the left and move the mouse between
multiple tabs

The crash can be reproduced every time.

-- Backtrace:
Application: Параметры системы (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
futex_wait_cancelable (private=0, expected=0, futex_word=0x55bad5d4d200) at
../sysdeps/nptl/futex-internal.h:183
183       int err = lll_futex_timed_wait (futex_word, expected, NULL, private);
[Current thread is 1 (Thread 0x7f7cad26af80 (LWP 47098))]

Thread 12 (Thread 0x7f7c5e47e700 (LWP 47127)):
[KCrash Handler]
#6  wl_surface_damage (height=30, width=1084, y=0, x=0, wl_surface=<error
reading variable: Cannot access memory at address 0x18>) at
../../include/QtWaylandClient/5.14.2/QtWaylandClient/private/../../../../../src/client/wayland-wayland-client-protocol.h:3490
#7  QtWayland::wl_surface::damage (this=0x10, x=0, y=0, width=1084, height=30)
at qwayland-wayland.cpp:1319
#8  0x00007f7ca0188d1c in QtWaylandClient::QWaylandWindow::damage
(this=<optimized out>, rect=...) at /usr/include/qt5/QtCore/qrect.h:218
#9  0x00007f7ca0193151 in
QtWaylandClient::QWaylandAbstractDecoration::contentImage (this=0x7f7c50086290)
at qwaylandabstractdecoration.cpp:135
#10 0x00007f7c9e5ba1db in QtWaylandClient::DecorationsBlitter::blit
(this=0x55bad5f35f00, window=window@entry=0x55bad639fe10) at
../../../../hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp:204
#11 0x00007f7c9e5b9b6b in QtWaylandClient::QWaylandGLContext::swapBuffers
(this=0x55bad6a68ae0, surface=<optimized out>) at
../../../../hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp:470
#12 0x00007f7cb104f894 in QSGRenderThread::syncAndRender (this=0x55bad6cc6900,
grabImage=0x0) at scenegraph/qsgthreadedrenderloop.cpp:841
#13 0x00007f7cb10500c7 in QSGRenderThread::run (this=0x55bad6cc6900) at
scenegraph/qsgthreadedrenderloop.cpp:980
#14 0x00007f7cb1a12690 in QThreadPrivate::start (arg=0x55bad6cc6900) at
thread/qthread_unix.cpp:342
#15 0x00007f7cb0351432 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#16 0x00007f7cb1693913 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f7c6d35c700 (LWP 47114)):
#0  0x00007f7cb1688aaf in __GI___poll (fds=0x7f7c64004a60, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f7caf9d5aae in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7f7c64004a60, timeout=<optimized out>, context=0x7f7c64000c20)
at ../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f7c64000c20,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../glib/gmain.c:4042
#3  0x00007f7caf9d5be3 in g_main_context_iteration (context=0x7f7c64000c20,
may_block=may_block@entry=1) at ../glib/gmain.c:4108
#4  0x00007f7cb1bf2b8b in QEventDispatcherGlib::processEvents
(this=0x7f7c64000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f7cb1ba591b in QEventLoop::exec (this=this@entry=0x7f7c6d35bc80,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#6  0x00007f7cb1a11427 in QThread::exec (this=this@entry=0x55bad59950b0) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#7  0x00007f7cb0cf31e9 in QQmlThreadPrivate::run (this=0x55bad59950b0) at
qml/ftw/qqmlthread.cpp:155
#8  0x00007f7cb1a12690 in QThreadPrivate::start (arg=0x55bad59950b0) at
thread/qthread_unix.cpp:342
#9  0x00007f7cb0351432 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#10 0x00007f7cb1693913 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f7c6e67a700 (LWP 47113)):
#0  __GI___libc_read (nbytes=16, buf=0x7f7c6e679a50, fd=22) at
../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=22, buf=buf@entry=0x7f7c6e679a50,
nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f7cafa1f53f in read (__nbytes=16, __buf=0x7f7c6e679a50,
__fd=<optimized out>) at /usr/include/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x7f7c68003ea0) at ../glib/gwakeup.c:210
#4  0x00007f7caf9d55ee in g_main_context_check
(context=context@entry=0x7f7c6000c110, max_priority=2147483647,
fds=fds@entry=0x7f7c60000b60, n_fds=n_fds@entry=1) at ../glib/gmain.c:3825
#5  0x00007f7caf9d5a55 in g_main_context_iterate
(context=context@entry=0x7f7c6000c110, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4044
#6  0x00007f7caf9d5be3 in g_main_context_iteration (context=0x7f7c6000c110,
may_block=may_block@entry=1) at ../glib/gmain.c:4108
#7  0x00007f7cb1bf2b8b in QEventDispatcherGlib::processEvents
(this=0x7f7c60005440, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#8  0x00007f7cb1ba591b in QEventLoop::exec (this=this@entry=0x7f7c6e679c80,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#9  0x00007f7cb1a11427 in QThread::exec (this=this@entry=0x55bad584cd90) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#10 0x00007f7cb0cf31e9 in QQmlThreadPrivate::run (this=0x55bad584cd90) at
qml/ftw/qqmlthread.cpp:155
#11 0x00007f7cb1a12690 in QThreadPrivate::start (arg=0x55bad584cd90) at
thread/qthread_unix.cpp:342
#12 0x00007f7cb0351432 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#13 0x00007f7cb1693913 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f7c6fbff700 (LWP 47111)):
#0  __GI___libc_read (nbytes=16, buf=0x7f7c6fbfea50, fd=21) at
../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=21, buf=buf@entry=0x7f7c6fbfea50,
nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f7cafa1f53f in read (__nbytes=16, __buf=0x7f7c6fbfea50,
__fd=<optimized out>) at /usr/include/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x7f7c70003590) at ../glib/gwakeup.c:210
#4  0x00007f7caf9d55ee in g_main_context_check
(context=context@entry=0x7f7c68000c20, max_priority=2147483647,
fds=fds@entry=0x7f7c68004e60, n_fds=n_fds@entry=1) at ../glib/gmain.c:3825
#5  0x00007f7caf9d5a55 in g_main_context_iterate
(context=context@entry=0x7f7c68000c20, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4044
#6  0x00007f7caf9d5be3 in g_main_context_iteration (context=0x7f7c68000c20,
may_block=may_block@entry=1) at ../glib/gmain.c:4108
#7  0x00007f7cb1bf2b8b in QEventDispatcherGlib::processEvents
(this=0x7f7c68000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#8  0x00007f7cb1ba591b in QEventLoop::exec (this=this@entry=0x7f7c6fbfec80,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#9  0x00007f7cb1a11427 in QThread::exec (this=this@entry=0x55bad4ea6f40) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#10 0x00007f7cb0cf31e9 in QQmlThreadPrivate::run (this=0x55bad4ea6f40) at
qml/ftw/qqmlthread.cpp:155
#11 0x00007f7cb1a12690 in QThreadPrivate::start (arg=0x55bad4ea6f40) at
thread/qthread_unix.cpp:342
#12 0x00007f7cb0351432 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#13 0x00007f7cb1693913 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f7c78e77700 (LWP 47110)):
#0  0x00007f7cafa243ad in g_mutex_lock (mutex=mutex@entry=0x7f7c70000c20) at
../glib/gthread-posix.c:1481
#1  0x00007f7caf9d5a74 in g_main_context_iterate
(context=context@entry=0x7f7c70000c20, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4051
#2  0x00007f7caf9d5be3 in g_main_context_iteration (context=0x7f7c70000c20,
may_block=may_block@entry=1) at ../glib/gmain.c:4108
#3  0x00007f7cb1bf2b8b in QEventDispatcherGlib::processEvents
(this=0x7f7c70000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f7cb1ba591b in QEventLoop::exec (this=this@entry=0x7f7c78e76c80,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f7cb1a11427 in QThread::exec (this=this@entry=0x55bad4e46eb0) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f7cb0cf31e9 in QQmlThreadPrivate::run (this=0x55bad4e46eb0) at
qml/ftw/qqmlthread.cpp:155
#7  0x00007f7cb1a12690 in QThreadPrivate::start (arg=0x55bad4e46eb0) at
thread/qthread_unix.cpp:342
#8  0x00007f7cb0351432 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9  0x00007f7cb1693913 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f7c89c15700 (LWP 47104)):
#0  0x00007f7cb1688aaf in __GI___poll (fds=0x7f7c74004e60, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f7caf9d5aae in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7f7c74004e60, timeout=<optimized out>, context=0x7f7c74000c20)
at ../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f7c74000c20,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../glib/gmain.c:4042
#3  0x00007f7caf9d5be3 in g_main_context_iteration (context=0x7f7c74000c20,
may_block=may_block@entry=1) at ../glib/gmain.c:4108
#4  0x00007f7cb1bf2b8b in QEventDispatcherGlib::processEvents
(this=0x7f7c74000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f7cb1ba591b in QEventLoop::exec (this=this@entry=0x7f7c89c14c80,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#6  0x00007f7cb1a11427 in QThread::exec (this=this@entry=0x55bad4655460) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#7  0x00007f7cb0cf31e9 in QQmlThreadPrivate::run (this=0x55bad4655460) at
qml/ftw/qqmlthread.cpp:155
#8  0x00007f7cb1a12690 in QThreadPrivate::start (arg=0x55bad4655460) at
thread/qthread_unix.cpp:342
#9  0x00007f7cb0351432 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#10 0x00007f7cb1693913 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f7c8bfff700 (LWP 47103)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55bad4162958) at
../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55bad4162908,
cond=0x55bad4162930) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55bad4162930, mutex=0x55bad4162908) at
pthread_cond_wait.c:638
#3  0x00007f7c96e0685b in util_queue_thread_func () from
/usr/lib64/dri/iris_dri.so
#4  0x00007f7c96e0632b in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#5  0x00007f7cb0351432 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#6  0x00007f7cb1693913 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f7c908cf700 (LWP 47102)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55bad4162958) at
../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55bad4162908,
cond=0x55bad4162930) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55bad4162930, mutex=0x55bad4162908) at
pthread_cond_wait.c:638
#3  0x00007f7c96e0685b in util_queue_thread_func () from
/usr/lib64/dri/iris_dri.so
#4  0x00007f7c96e0632b in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#5  0x00007f7cb0351432 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#6  0x00007f7cb1693913 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f7c888cf700 (LWP 47101)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55bad4162958) at
../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55bad4162908,
cond=0x55bad4162930) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55bad4162930, mutex=0x55bad4162908) at
pthread_cond_wait.c:638
#3  0x00007f7c96e0685b in util_queue_thread_func () from
/usr/lib64/dri/iris_dri.so
#4  0x00007f7c96e0632b in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#5  0x00007f7cb0351432 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#6  0x00007f7cb1693913 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f7c910d0700 (LWP 47100)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55bad4162958) at
../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55bad4162908,
cond=0x55bad4162930) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55bad4162930, mutex=0x55bad4162908) at
pthread_cond_wait.c:638
#3  0x00007f7c96e0685b in util_queue_thread_func () from
/usr/lib64/dri/iris_dri.so
#4  0x00007f7c96e0632b in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#5  0x00007f7cb0351432 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#6  0x00007f7cb1693913 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f7c9f8de700 (LWP 47099)):
#0  0x00007f7cb1688aaf in __GI___poll (fds=0x7f7c98005240, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f7caf9d5aae in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7f7c98005240, timeout=<optimized out>, context=0x7f7c98000c20)
at ../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f7c98000c20,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../glib/gmain.c:4042
#3  0x00007f7caf9d5be3 in g_main_context_iteration (context=0x7f7c98000c20,
may_block=may_block@entry=1) at ../glib/gmain.c:4108
#4  0x00007f7cb1bf2b8b in QEventDispatcherGlib::processEvents
(this=0x7f7c98000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f7cb1ba591b in QEventLoop::exec (this=this@entry=0x7f7c9f8ddc50,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#6  0x00007f7cb1a11427 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#7  0x00007f7cb1e8051b in QDBusConnectionManager::run (this=0x7f7cb1eef060
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:179
#8  0x00007f7cb1a12690 in QThreadPrivate::start (arg=0x7f7cb1eef060 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:342
#9  0x00007f7cb0351432 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#10 0x00007f7cb1693913 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f7cad26af80 (LWP 47098)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55bad5d4d200) at
../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55bad5d4d1b0,
cond=0x55bad5d4d1d8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55bad5d4d1d8, mutex=0x55bad5d4d1b0) at
pthread_cond_wait.c:638
#3  0x00007f7cb1a17dab in QWaitConditionPrivate::wait (deadline=...,
deadline=..., this=0x55bad5d4d1b0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55bad6cc6958,
deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f7cb1051d0d in QSGThreadedRenderLoop::polishAndSync
(this=this@entry=0x55bad584e140, w=w@entry=0x55bad6371fb0,
inExpose=inExpose@entry=true) at scenegraph/qsgthreadedrenderloop.cpp:1544
#6  0x00007f7cb10529ba in QSGThreadedRenderLoop::handleExposure
(this=0x55bad584e140, window=<optimized out>) at
scenegraph/qsgthreadedrenderloop.cpp:1321
#7  0x00007f7cb201f505 in QWindow::event (this=0x7f7c9800f6c0, ev=<optimized
out>) at kernel/qwindow.cpp:2363
#8  0x00007f7cb25cd063 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x7f7c9800f6c0, e=0x7ffc34fdd370) at
kernel/qapplication.cpp:3685
#9  0x00007f7cb1ba6fc0 in QCoreApplication::notifyInternal2
(receiver=0x7f7c9800f6c0, event=0x7ffc34fdd370) at
../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#10 0x00007f7cb20157b5 in QGuiApplicationPrivate::processExposeEvent
(e=0x55bad6448a40) at kernel/qguiapplication.cpp:3175
#11 0x00007f7cb1ff615b in QWindowSystemInterface::sendWindowSystemEvents
(flags=...) at kernel/qwindowsysteminterface.cpp:1170
#12 0x00007f7ca01b1854 in userEventSourceDispatch(_GSource*, int (*)(void*),
void*) () from /lib64/libQt5WaylandClient.so.5
#13 0x00007f7caf9d578f in g_main_dispatch (context=0x55bad404f930) at
../glib/gmain.c:3309
#14 g_main_context_dispatch (context=0x55bad404f930) at ../glib/gmain.c:3974
#15 0x00007f7caf9d5b18 in g_main_context_iterate
(context=context@entry=0x55bad404f930, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4047
#16 0x00007f7caf9d5be3 in g_main_context_iteration (context=0x55bad404f930,
may_block=may_block@entry=1) at ../glib/gmain.c:4108
#17 0x00007f7cb1bf2b73 in QEventDispatcherGlib::processEvents
(this=0x55bad4037720, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#18 0x00007f7cb1ba591b in QEventLoop::exec (this=this@entry=0x7ffc34fdd5e0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#19 0x00007f7cb1bad5a6 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#20 0x000055bad3134884 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/plasma-systemsettings-5.18.5-1.fc32.x86_64/app/main.cpp:70
[Inferior 1 (process 47098) detached]

Possible duplicates by query: bug 416447, bug 409252, bug 408709.

Reported using DrKonqi

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

Reply via email to