Bug 457637

Summary: window selector in wayland
Product: [Applications] systemsettings Reporter: Igor <igorpadua>
Component: kcm_kwintabboxAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nicolas.fella, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.25.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Igor 2022-08-08 17:12:43 UTC
Application: systemsettings (5.25.4)

Qt Version: 5.15.5
Frameworks Version: 5.96.0
Operating System: Linux 5.18.15-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.25.4 [KCrashBackend]

-- Information about the crash:
In the window selector when you press the display button, on the side where you choose the task selection effects, it does not close automatically.

The crash can be reproduced every time.

-- Backtrace:
Application: Configurações do sistema (systemsettings), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f0622d1e645 in wl_map_insert_at (map=map@entry=0x55aa9a885020, flags=flags@entry=1, i=112, data=<optimized out>) at ../src/wayland-util.c:276
#5  0x00007f0622d1e7a3 in proxy_destroy (proxy=0x55aa9b36b2e0) at ../src/wayland-client.c:510
#6  0x00007f0622d20306 in wl_proxy_destroy_caller_locks (proxy=0x55aa9b36b2e0) at ../src/wayland-client.c:530
#7  wl_proxy_marshal_array_flags (proxy=proxy@entry=0x55aa9b36b2e0, opcode=opcode@entry=0, interface=interface@entry=0x0, version=version@entry=1, flags=flags@entry=1, args=args@entry=0x7ffdc30601f0) at ../src/wayland-client.c:868
#8  0x00007f0622d20e05 in wl_proxy_marshal_flags (proxy=0x55aa9b36b2e0, opcode=0, interface=0x0, version=1, flags=1) at ../src/wayland-client.c:791
#9  0x00007f0600f7df8e in wl_buffer_destroy (wl_buffer=0x55aa9b36b2e0) at /usr/include/wayland/wayland-client-protocol.h:2025
#10 KWayland::Client::WaylandPointer<wl_buffer, wl_buffer_destroy>::release (this=0x55aa9b36d4d8) at /usr/src/debug/kwayland-5.96.0-1.1.x86_64/src/client/wayland_pointer_p.h:44
#11 KWayland::Client::Buffer::Private::~Private (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwayland-5.96.0-1.1.x86_64/src/client/buffer.cpp:38
#12 QScopedPointerDeleter<KWayland::Client::Buffer::Private>::cleanup (pointer=0x55aa9b36d4d0) at /usr/include/qt5/QtCore/qscopedpointer.h:60
#13 QScopedPointerDeleter<KWayland::Client::Buffer::Private>::cleanup (pointer=0x55aa9b36d4d0) at /usr/include/qt5/QtCore/qscopedpointer.h:52
#14 QScopedPointer<KWayland::Client::Buffer::Private, QScopedPointerDeleter<KWayland::Client::Buffer::Private> >::~QScopedPointer (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qscopedpointer.h:107
#15 KWayland::Client::Buffer::~Buffer (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwayland-5.96.0-1.1.x86_64/src/client/buffer.cpp:58
#16 0x00007f0600fb46f2 in QtSharedPointer::CustomDeleter<KWayland::Client::Buffer, QtSharedPointer::NormalDeleter>::execute (this=<optimized out>) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:187
#17 QtSharedPointer::ExternalRefCountWithCustomDeleter<KWayland::Client::Buffer, QtSharedPointer::NormalDeleter>::deleter (self=<optimized out>) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:205
#18 0x00007f0600fb98a6 in QtSharedPointer::ExternalRefCountData::destroy (this=0x55aa9b36b340) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:149
#19 QSharedPointer<KWayland::Client::Buffer>::deref (dd=0x55aa9b36b340) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:458
#20 QSharedPointer<KWayland::Client::Buffer>::deref (dd=0x55aa9b36b340) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:454
#21 QSharedPointer<KWayland::Client::Buffer>::deref (this=0x55aa9b36b360) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:453
#22 QSharedPointer<KWayland::Client::Buffer>::~QSharedPointer (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:310
#23 QList<QSharedPointer<KWayland::Client::Buffer> >::node_destruct (this=<optimized out>, to=0x55aa9bf98da8, from=0x55aa9bf98da8) at /usr/include/qt5/QtCore/qlist.h:524
#24 QList<QSharedPointer<KWayland::Client::Buffer> >::dealloc(QListData::Data*) [clone .isra.0] (data=0x55aa9bf98d90, this=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:921
#25 0x00007f0600fa9dc5 in QList<QSharedPointer<KWayland::Client::Buffer> >::~QList (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:871
#26 QList<QSharedPointer<KWayland::Client::Buffer> >::~QList (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:871
#27 QList<QSharedPointer<KWayland::Client::Buffer> >::operator= (other=..., this=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:167
#28 QList<QSharedPointer<KWayland::Client::Buffer> >::clear (this=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:930
#29 KWayland::Client::ShmPool::release (this=this@entry=0x55aa9b36d520) at /usr/src/debug/kwayland-5.96.0-1.1.x86_64/src/client/shm_pool.cpp:65
#30 0x00007f0600fa9e3a in KWayland::Client::ShmPool::~ShmPool (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwayland-5.96.0-1.1.x86_64/src/client/shm_pool.cpp:60
#31 0x00007f0600fa9f09 in KWayland::Client::ShmPool::~ShmPool (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwayland-5.96.0-1.1.x86_64/src/client/shm_pool.cpp:61
#32 0x00007f061d94ba4d in QScopedPointerDeleter<KWayland::Client::ShmPool>::cleanup (pointer=<optimized out>) at /usr/include/qt5/QtCore/qscopedpointer.h:60
#33 QScopedPointer<KWayland::Client::ShmPool, QScopedPointerDeleter<KWayland::Client::ShmPool> >::~QScopedPointer (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qscopedpointer.h:107
#34 WindowShadowTile::~WindowShadowTile (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwayland-integration-5.25.4-1.1.x86_64/src/windowsystem/windowshadow.cpp:18
#35 WindowShadowTile::~WindowShadowTile (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwayland-integration-5.25.4-1.1.x86_64/src/windowsystem/windowshadow.cpp:18
#36 0x00007f05d4839fea in QtSharedPointer::ExternalRefCountData::destroy (this=0x55aa9b5b9740) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:149
#37 QSharedPointer<KWindowShadowTile>::deref (dd=0x55aa9b5b9740) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:458
#38 QSharedPointer<KWindowShadowTile>::deref (dd=0x55aa9b5b9740) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:454
#39 QSharedPointer<KWindowShadowTile>::deref (this=0x55aa9b5b8b58) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:453
#40 QSharedPointer<KWindowShadowTile>::~QSharedPointer (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:310
#41 QVector<QSharedPointer<KWindowShadowTile> >::destruct (this=<optimized out>, to=0x55aa9b5b8bd8, from=0x55aa9b5b8b68) at /usr/include/qt5/QtCore/qvector.h:366
#42 QVector<QSharedPointer<KWindowShadowTile> >::freeData (this=0x55aa9b2b7088, x=0x55aa9b5b8b40) at /usr/include/qt5/QtCore/qvector.h:578
#43 QVector<QSharedPointer<KWindowShadowTile> >::~QVector (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qvector.h:73
#44 QVector<QSharedPointer<KWindowShadowTile> >::~QVector (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qvector.h:73
#45 DialogShadows::Private::~Private (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma-framework-5.96.0-1.1.x86_64/src/plasmaquick/dialogshadows.cpp:23
#46 DialogShadows::~DialogShadows (this=<optimized out>, this=<optimized out>) at /usr/src/debug/plasma-framework-5.96.0-1.1.x86_64/src/plasmaquick/dialogshadows.cpp:62
#47 0x00007f05d483a089 in (anonymous namespace)::Q_QGS_privateDialogShadowsSelf::innerFunction()::Holder::~Holder() () at /usr/src/debug/plasma-framework-5.96.0-1.1.x86_64/src/plasmaquick/dialogshadows.cpp:40
#48 0x00007f06253de105 in __run_exit_handlers () from /lib64/libc.so.6
#49 0x00007f06253de290 in exit () from /lib64/libc.so.6
#50 0x00007f06253c55b7 in __libc_start_call_main () from /lib64/libc.so.6
#51 0x00007f06253c5679 in __libc_start_main_impl () from /lib64/libc.so.6
#52 0x000055aa98ed8755 in _start () at ../sysdeps/x86_64/start.S:115
[Inferior 1 (process 16198) detached]

Reported using DrKonqi
Comment 1 Nicolas Fella 2022-08-08 17:23:07 UTC
I'm having trouble understanding what is happening. Could you give a step-by-step description what you are doing to reproduce the problem?
Comment 2 Igor 2022-08-08 18:43:16 UTC
He really got confused. I put an Imgur image to facilitate understanding. https://i.imgur.com/XOzWwQk.png
Comment 3 Igor 2022-08-08 18:45:54 UTC
When clicked there on the wayland it creates a preview window, however, it is not closed.
Comment 4 Nicolas Fella 2022-08-08 18:55:13 UTC
So the problem is that it doesn't close when you hit Escape or click somewhere on the screen? I can confirm that
Comment 5 Nicolas Fella 2022-08-08 18:57:13 UTC

*** This bug has been marked as a duplicate of bug 374971 ***