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

            Bug ID: 437645
           Summary: [Wayland] System settings crashes
           Product: systemsettings
           Version: 5.21.5
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: quarcks...@gmail.com
  Target Milestone: ---

Application: systemsettings5 (5.21.5)

Qt Version: 5.15.2
Frameworks Version: 5.82.0
Operating System: Linux 5.4.0-73-generic x86_64
Windowing System: Wayland
Drkonqi Version: 5.21.5
Distribution: KDE neon User Edition 5.21

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

1. Open systemsettings
2. Go to Window Management -> Window Rules
3. Create a new rule or adjust existing one

Actual result:

The application crashes but the rule was saved.

Expected result:

Systemsettings shouldn't crash on changing Window Rules

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault

[New LWP 12541]
[New LWP 12542]
[New LWP 12543]
[New LWP 12544]
[New LWP 12545]
[New LWP 12546]
[New LWP 12547]
[New LWP 12638]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f0c8d73baff in poll () from /lib/x86_64-linux-gnu/libc.so.6
[Current thread is 1 (Thread 0x7f0c894fb500 (LWP 12540))]

Thread 9 (Thread 0x7f0c5866a700 (LWP 12638)):
#0  0x00007f0c8d73717c in read () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f0c8b955b2f in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0c8b90cebe in g_main_context_check () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0c8b90d312 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0c8b90d4a3 in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0c8de55ffb in QEventDispatcherGlib::processEvents
(this=0x7f0c50248610, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f0c8ddfa1eb in QEventLoop::exec (this=this@entry=0x7f0c58669cc0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f0c8dc14a52 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f0c8cf08fa9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f0c8dc15bec in QThreadPrivate::start (arg=0x5580e54d0ac0) at
thread/qthread_unix.cpp:329
#10 0x00007f0c8c2cc609 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007f0c8d748293 in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 8 (Thread 0x7f0c635ef700 (LWP 12547)):
#0  0x00007f0c8b95a500 in g_mutex_unlock () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0c8b90cd99 in g_main_context_check () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0c8b90d312 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0c8b90d4a3 in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0c8de55ffb in QEventDispatcherGlib::processEvents
(this=0x7f0c5c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f0c8ddfa1eb in QEventLoop::exec (this=this@entry=0x7f0c635eecc0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f0c8dc14a52 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f0c8cf08fa9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f0c8dc15bec in QThreadPrivate::start (arg=0x5580e4a22760) at
thread/qthread_unix.cpp:329
#9  0x00007f0c8c2cc609 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f0c8d748293 in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 7 (Thread 0x7f0c79bdb700 (LWP 12546)):
#0  0x00007f0c8b90c93d in g_main_context_prepare () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0c8b90d29b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0c8b90d4a3 in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0c8de55ffb in QEventDispatcherGlib::processEvents
(this=0x7f0c68000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f0c8ddfa1eb in QEventLoop::exec (this=this@entry=0x7f0c79bdacc0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f0c8dc14a52 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f0c8cf08fa9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f0c8dc15bec in QThreadPrivate::start (arg=0x5580e46fa020) at
thread/qthread_unix.cpp:329
#8  0x00007f0c8c2cc609 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007f0c8d748293 in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 6 (Thread 0x7f0c7a85a700 (LWP 12545)):
#0  0x00007f0c8c2d3376 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f0c85b9db5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#2  0x00007f0c85b9d75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#3  0x00007f0c8c2cc609 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007f0c8d748293 in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 5 (Thread 0x7f0c7b05b700 (LWP 12544)):
#0  0x00007f0c8c2d3376 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f0c85b9db5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#2  0x00007f0c85b9d75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#3  0x00007f0c8c2cc609 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007f0c8d748293 in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 4 (Thread 0x7f0c84c43700 (LWP 12543)):
#0  0x00007f0c8c2d3376 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f0c85b9db5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#2  0x00007f0c85b9d75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#3  0x00007f0c8c2cc609 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007f0c8d748293 in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7f0c85444700 (LWP 12542)):
#0  0x00007f0c8c2d3376 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f0c85b9db5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#2  0x00007f0c85b9d75b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#3  0x00007f0c8c2cc609 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007f0c8d748293 in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7f0c88384700 (LWP 12541)):
#0  0x00007f0c8b95a508 in g_mutex_unlock () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0c8b90cf3d in g_main_context_dispatch () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0c8b90d400 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0c8b90d4a3 in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0c8de55ffb in QEventDispatcherGlib::processEvents
(this=0x7f0c80000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f0c8ddfa1eb in QEventLoop::exec (this=this@entry=0x7f0c88383cb0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f0c8dc14a52 in QThread::exec (this=this@entry=0x7f0c8cba8d80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f0c8cb24f4b in QDBusConnectionManager::run (this=0x7f0c8cba8d80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:179
#8  0x00007f0c8dc15bec in QThreadPrivate::start (arg=0x7f0c8cba8d80 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:329
#9  0x00007f0c8c2cc609 in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f0c8d748293 in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f0c894fb500 (LWP 12540)):
[KCrash Handler]
#4  0x0000000000000000 in ?? ()
#5  0x00007f0c8b7eb797 in QWaylandClientExtensionPrivate::handleRegistryGlobal
(data=0x5580e55d4450, registry=0x5580e4140e50, id=59, interface=..., version=1)
at global/qwaylandclientextension.cpp:67
#6  0x00007f0c8b7c7822 in QtWaylandClient::QWaylandDisplay::registry_global
(this=<optimized out>, id=59, interface=..., version=1) at
qwaylanddisplay.cpp:396
#7  0x00007f0c8b7f5d16 in QtWayland::wl_registry::handle_global
(data=0x5580e413efd0, object=<optimized out>, name=59, interface=0x5580e6343d80
"org_kde_kwin_blur_manager", version=1) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:236
#8  0x00007f0c896c9ff5 in ffi_call_unix64 () at ../src/x86/unix64.S:101
#9  0x00007f0c896c940a in ffi_call_int (cif=<optimized out>, fn=<optimized
out>, rvalue=<optimized out>, avalue=<optimized out>, closure=<optimized out>)
at ../src/x86/ffi64.c:669
#10 0x00007f0c8b7433a8 in wl_closure_invoke
(closure=closure@entry=0x5580e6343ca0, flags=flags@entry=1, target=<optimized
out>, target@entry=0x5580e4140e50, opcode=opcode@entry=0, data=<optimized out>)
at ../src/connection.c:1018
#11 0x00007f0c8b73fc48 in dispatch_event (display=display@entry=0x5580e4143320,
queue=<optimized out>) at ../src/wayland-client.c:1445
#12 0x00007f0c8b74121c in dispatch_queue (queue=0x5580e41433f0,
display=0x5580e4143320) at ../src/wayland-client.c:1591
#13 wl_display_dispatch_queue_pending (display=0x5580e4143320,
queue=0x5580e41433f0) at ../src/wayland-client.c:1833
#14 0x00007f0c8b741280 in wl_display_dispatch_pending (display=<optimized out>)
at ../src/wayland-client.c:1896
#15 0x00007f0c8b7c7155 in QtWaylandClient::QWaylandDisplay::flushRequests
(this=0x5580e413efc0) at qwaylanddisplay.cpp:221
#16 0x00007f0c8de32730 in doActivate<false> (sender=0x5580e417d070,
signal_index=3, argv=0x7ffc1fe66740) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#17 0x00007f0c8de2bac7 in QMetaObject::activate
(sender=sender@entry=0x5580e417d070, m=m@entry=0x7f0c8e095b40
<QSocketNotifier::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc1fe66740)
at kernel/qobject.cpp:3946
#18 0x00007f0c8de36773 in QSocketNotifier::activated
(this=this@entry=0x5580e417d070, _t1=..., _t2=<optimized out>, _t3=...) at
.moc/moc_qsocketnotifier.cpp:178
#19 0x00007f0c8de36f13 in QSocketNotifier::event (this=0x5580e417d070,
e=0x7ffc1fe66a10) at kernel/qsocketnotifier.cpp:302
#20 0x00007f0c8e9fddc3 in QApplicationPrivate::notify_helper
(this=this@entry=0x5580e41394d0, receiver=receiver@entry=0x5580e417d070,
e=e@entry=0x7ffc1fe66a10) at kernel/qapplication.cpp:3632
#21 0x00007f0c8ea06bb8 in QApplication::notify (this=0x7ffc1fe66d40,
receiver=0x5580e417d070, e=0x7ffc1fe66a10) at kernel/qapplication.cpp:3156
#22 0x00007f0c8ddfb6da in QCoreApplication::notifyInternal2
(receiver=0x5580e417d070, event=0x7ffc1fe66a10) at
../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#23 0x00007f0c8de56be5 in socketNotifierSourceDispatch (source=0x5580e41651b0)
at kernel/qeventdispatcher_glib.cpp:107
#24 0x00007f0c8b90d17d in g_main_context_dispatch () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f0c8b90d400 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f0c8b90d4a3 in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f0c8de55fe2 in QEventDispatcherGlib::processEvents
(this=0x5580e417e8f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#28 0x00007f0c8ddfa1eb in QEventLoop::exec (this=this@entry=0x7ffc1fe66c20,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#29 0x00007f0c8de02394 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#30 0x00005580e38b0392 in main (argc=<optimized out>, argv=<optimized out>) at
./app/main.cpp:222
[Inferior 1 (process 12540) detached]

Reported using DrKonqi

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

Reply via email to