Bug 451287

Summary: [WAYLAND] Plasmashell crashes when restarting from KRunner
Product: [Plasma] plasmashell Reporter: Dipta Biswas <dabiswas112>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde, nate
Priority: NOR Keywords: drkonqi
Version: 5.24.2   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dipta Biswas 2022-03-08 18:37:23 UTC
Application: plasmashell (5.24.2)

Qt Version: 5.15.2
Frameworks Version: 5.91.0
Operating System: Linux 5.16.12-200.fc35.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 35 (Thirty Five)
DrKonqi: 5.24.2 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Running `kquitapp5 plasmashell && kstart5 plasmashell &` through krunner

- Unusual behavior I noticed:
When I was hovering over my application menu, mouse cursor was changing from Breeze to Adwaita (probably Wayland & XWayland issue)

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f1e4f112b0a in wl_map_insert_at (data=<optimized out>, i=5440, flags=1, map=<optimized out>) at ../src/wayland-util.c:249
#5  proxy_destroy (proxy=0x562ef0fb1d60) at ../src/wayland-client.c:503
#6  0x00007f1e4f112c8f in wl_proxy_destroy_caller_locks (proxy=0x562ef0fb1d60) at ../src/wayland-client.c:523
#7  wl_proxy_destroy (proxy=0x562ef0fb1d60) at ../src/wayland-client.c:546
#8  0x00007f1e4f1cf414 in wl_buffer_destroy (wl_buffer=0x562ef0fb1d60) at /usr/include/wayland-client-protocol.h:1993
#9  KWayland::Client::WaylandPointer<wl_buffer, wl_buffer_destroy>::release (this=0x562ef2d4bf08) at /usr/src/debug/kf5-kwayland-5.91.0-1.fc35.x86_64/src/client/wayland_pointer_p.h:44
#10 KWayland::Client::Buffer::Private::~Private (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kf5-kwayland-5.91.0-1.fc35.x86_64/src/client/buffer.cpp:38
#11 QScopedPointerDeleter<KWayland::Client::Buffer::Private>::cleanup (pointer=0x562ef2d4bf00) at /usr/include/qt5/QtCore/qscopedpointer.h:60
#12 QScopedPointerDeleter<KWayland::Client::Buffer::Private>::cleanup (pointer=0x562ef2d4bf00) at /usr/include/qt5/QtCore/qscopedpointer.h:52
#13 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
#14 KWayland::Client::Buffer::~Buffer (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kf5-kwayland-5.91.0-1.fc35.x86_64/src/client/buffer.cpp:58
#15 0x00007f1e4f208796 in QtSharedPointer::CustomDeleter<KWayland::Client::Buffer, QtSharedPointer::NormalDeleter>::execute (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:187
#16 QtSharedPointer::ExternalRefCountWithCustomDeleter<KWayland::Client::Buffer, QtSharedPointer::NormalDeleter>::deleter (self=<optimized out>) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:205
#17 0x00007f1e4f20b456 in QtSharedPointer::ExternalRefCountData::destroy (this=0x562ef360a9e0) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:149
#18 QSharedPointer<KWayland::Client::Buffer>::deref (dd=0x562ef360a9e0) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:458
#19 QSharedPointer<KWayland::Client::Buffer>::deref (dd=<optimized out>, dd=<optimized out>) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:454
#20 QSharedPointer<KWayland::Client::Buffer>::deref (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:453
#21 QSharedPointer<KWayland::Client::Buffer>::~QSharedPointer (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:310
#22 QList<QSharedPointer<KWayland::Client::Buffer> >::node_destruct (this=<optimized out>, to=0x562ef383c4c8, from=0x562ef383c4c8) at /usr/include/qt5/QtCore/qlist.h:524
#23 QList<QSharedPointer<KWayland::Client::Buffer> >::dealloc(QListData::Data*) [clone .isra.0] (data=0x562ef383c4b0, this=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:921
#24 0x00007f1e4f1faa95 in QList<QSharedPointer<KWayland::Client::Buffer> >::~QList (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:871
#25 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> >::operator= (other=..., this=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:167
#27 QList<QSharedPointer<KWayland::Client::Buffer> >::clear (this=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:930
#28 KWayland::Client::ShmPool::release (this=this@entry=0x562ef374a1a0) at /usr/src/debug/kf5-kwayland-5.91.0-1.fc35.x86_64/src/client/shm_pool.cpp:65
#29 0x00007f1e4f1faaff in KWayland::Client::ShmPool::~ShmPool (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kf5-kwayland-5.91.0-1.fc35.x86_64/src/client/shm_pool.cpp:60
#30 0x00007f1e4f1fabcd in KWayland::Client::ShmPool::~ShmPool (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kf5-kwayland-5.91.0-1.fc35.x86_64/src/client/shm_pool.cpp:61
#31 0x00007f1e380d73f1 in QScopedPointerDeleter<KWayland::Client::ShmPool>::cleanup (pointer=<optimized out>) at /usr/include/qt5/QtCore/qscopedpointer.h:60
#32 QScopedPointer<KWayland::Client::ShmPool, QScopedPointerDeleter<KWayland::Client::ShmPool> >::~QScopedPointer (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qscopedpointer.h:107
#33 WindowShadowTile::~WindowShadowTile (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwayland-integration-5.24.2-1.fc35.x86_64/src/windowsystem/windowshadow.cpp:18
#34 WindowShadowTile::~WindowShadowTile (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kwayland-integration-5.24.2-1.fc35.x86_64/src/windowsystem/windowshadow.cpp:18
#35 0x00007f1e4e300974 in QtSharedPointer::ExternalRefCountData::destroy (this=0x562ef2818670) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:149
#36 QSharedPointer<KWindowShadowTile>::deref (dd=0x562ef2818670) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:458
#37 QSharedPointer<KWindowShadowTile>::deref (dd=0x562ef2818670) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:454
#38 QSharedPointer<KWindowShadowTile>::deref (this=0x562eef7c17a8) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:453
#39 QSharedPointer<KWindowShadowTile>::~QSharedPointer (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:310
#40 KWindowShadowPrivate::~KWindowShadowPrivate (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kf5-kwindowsystem-5.91.0-1.fc35.x86_64/src/kwindowshadow.cpp:281
#41 0x00007f1e380d770f in non-virtual thunk to WindowShadow::~WindowShadow() () at /usr/src/debug/kwayland-integration-5.24.2-1.fc35.x86_64/src/windowsystem/windowshadow.h:29
#42 0x00007f1e4e3008fa in QScopedPointerDeleter<KWindowShadowPrivate>::cleanup (pointer=<optimized out>) at /usr/include/qt5/QtCore/qscopedpointer.h:52
#43 QScopedPointer<KWindowShadowPrivate, QScopedPointerDeleter<KWindowShadowPrivate> >::~QScopedPointer (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qscopedpointer.h:107
#44 KWindowShadow::~KWindowShadow (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kf5-kwindowsystem-5.91.0-1.fc35.x86_64/src/kwindowshadow.cpp:66
#45 0x00007f1e4e30091d in KWindowShadow::~KWindowShadow (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kf5-kwindowsystem-5.91.0-1.fc35.x86_64/src/kwindowshadow.cpp:66
#46 0x00007f1e4d0ca7ca in QObjectPrivate::deleteChildren (this=this@entry=0x562ef1f2e460) at kernel/qobject.cpp:2104
#47 0x00007f1e4d0d20cc in QObject::~QObject (this=0x7f1e4f2f50a0 <_ZZN12_GLOBAL__N_130Q_QGS_privateDialogShadowsSelf13innerFunctionEvE6holder.lto_priv.0>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#48 0x00007f1e4f2ca2dd in (anonymous namespace)::Q_QGS_privateDialogShadowsSelf::innerFunction()::Holder::~Holder() () at /usr/src/debug/kf5-plasma-5.91.0-1.fc35.x86_64/src/plasmaquick/dialogshadows.cpp:40
#49 0x00007f1e4ca0fde5 in __run_exit_handlers () from /lib64/libc.so.6
#50 0x00007f1e4ca0ff60 in exit () from /lib64/libc.so.6
#51 0x00007f1e4c9f8567 in __libc_start_call_main () from /lib64/libc.so.6
#52 0x00007f1e4c9f860c in __libc_start_main_impl () from /lib64/libc.so.6
#53 0x0000562eed8c3365 in _start ()
[Inferior 1 (process 23026) detached]

Possible duplicates by query: bug 450523, bug 449812, bug 449307, bug 407992, bug 400346.

Reported using DrKonqi
Comment 1 Nate Graham 2022-03-22 19:13:49 UTC
FWIW You can omit the "&" when using kstart5; it automatically opens the specified app in the background.

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