<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>451287</bug_id>
          
          <creation_ts>2022-03-08 18:37:23 +0000</creation_ts>
          <short_desc>[WAYLAND] Plasmashell crashes when restarting from KRunner</short_desc>
          <delta_ts>2022-03-22 19:13:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>general</component>
          <version>5.24.2</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>443706</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Dipta Biswas">dabiswas112</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>kde</cc>
    
    <cc>nate</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2110140</commentid>
    <comment_count>0</comment_count>
    <who name="Dipta Biswas">dabiswas112</who>
    <bug_when>2022-03-08 18:37:23 +0000</bug_when>
    <thetext>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 &amp;&amp; kstart5 plasmashell &amp;` through krunner

- Unusual behavior I noticed:
When I was hovering over my application menu, mouse cursor was changing from Breeze to Adwaita (probably Wayland &amp; 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=&lt;optimized out&gt;, i=5440, flags=1, map=&lt;optimized out&gt;) 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&lt;wl_buffer, wl_buffer_destroy&gt;::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=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/src/debug/kf5-kwayland-5.91.0-1.fc35.x86_64/src/client/buffer.cpp:38
#11 QScopedPointerDeleter&lt;KWayland::Client::Buffer::Private&gt;::cleanup (pointer=0x562ef2d4bf00) at /usr/include/qt5/QtCore/qscopedpointer.h:60
#12 QScopedPointerDeleter&lt;KWayland::Client::Buffer::Private&gt;::cleanup (pointer=0x562ef2d4bf00) at /usr/include/qt5/QtCore/qscopedpointer.h:52
#13 QScopedPointer&lt;KWayland::Client::Buffer::Private, QScopedPointerDeleter&lt;KWayland::Client::Buffer::Private&gt; &gt;::~QScopedPointer (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qscopedpointer.h:107
#14 KWayland::Client::Buffer::~Buffer (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/src/debug/kf5-kwayland-5.91.0-1.fc35.x86_64/src/client/buffer.cpp:58
#15 0x00007f1e4f208796 in QtSharedPointer::CustomDeleter&lt;KWayland::Client::Buffer, QtSharedPointer::NormalDeleter&gt;::execute (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:187
#16 QtSharedPointer::ExternalRefCountWithCustomDeleter&lt;KWayland::Client::Buffer, QtSharedPointer::NormalDeleter&gt;::deleter (self=&lt;optimized out&gt;) 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&lt;KWayland::Client::Buffer&gt;::deref (dd=0x562ef360a9e0) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:458
#19 QSharedPointer&lt;KWayland::Client::Buffer&gt;::deref (dd=&lt;optimized out&gt;, dd=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:454
#20 QSharedPointer&lt;KWayland::Client::Buffer&gt;::deref (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:453
#21 QSharedPointer&lt;KWayland::Client::Buffer&gt;::~QSharedPointer (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:310
#22 QList&lt;QSharedPointer&lt;KWayland::Client::Buffer&gt; &gt;::node_destruct (this=&lt;optimized out&gt;, to=0x562ef383c4c8, from=0x562ef383c4c8) at /usr/include/qt5/QtCore/qlist.h:524
#23 QList&lt;QSharedPointer&lt;KWayland::Client::Buffer&gt; &gt;::dealloc(QListData::Data*) [clone .isra.0] (data=0x562ef383c4b0, this=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qlist.h:921
#24 0x00007f1e4f1faa95 in QList&lt;QSharedPointer&lt;KWayland::Client::Buffer&gt; &gt;::~QList (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qlist.h:871
#25 QList&lt;QSharedPointer&lt;KWayland::Client::Buffer&gt; &gt;::~QList (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qlist.h:871
#26 QList&lt;QSharedPointer&lt;KWayland::Client::Buffer&gt; &gt;::operator= (other=..., this=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qlist.h:167
#27 QList&lt;QSharedPointer&lt;KWayland::Client::Buffer&gt; &gt;::clear (this=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, this=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/src/debug/kf5-kwayland-5.91.0-1.fc35.x86_64/src/client/shm_pool.cpp:61
#31 0x00007f1e380d73f1 in QScopedPointerDeleter&lt;KWayland::Client::ShmPool&gt;::cleanup (pointer=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qscopedpointer.h:60
#32 QScopedPointer&lt;KWayland::Client::ShmPool, QScopedPointerDeleter&lt;KWayland::Client::ShmPool&gt; &gt;::~QScopedPointer (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qscopedpointer.h:107
#33 WindowShadowTile::~WindowShadowTile (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/src/debug/kwayland-integration-5.24.2-1.fc35.x86_64/src/windowsystem/windowshadow.cpp:18
#34 WindowShadowTile::~WindowShadowTile (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) 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&lt;KWindowShadowTile&gt;::deref (dd=0x562ef2818670) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:458
#37 QSharedPointer&lt;KWindowShadowTile&gt;::deref (dd=0x562ef2818670) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:454
#38 QSharedPointer&lt;KWindowShadowTile&gt;::deref (this=0x562eef7c17a8) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:453
#39 QSharedPointer&lt;KWindowShadowTile&gt;::~QSharedPointer (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:310
#40 KWindowShadowPrivate::~KWindowShadowPrivate (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) 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&lt;KWindowShadowPrivate&gt;::cleanup (pointer=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qscopedpointer.h:52
#43 QScopedPointer&lt;KWindowShadowPrivate, QScopedPointerDeleter&lt;KWindowShadowPrivate&gt; &gt;::~QScopedPointer (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/include/qt5/QtCore/qscopedpointer.h:107
#44 KWindowShadow::~KWindowShadow (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/src/debug/kf5-kwindowsystem-5.91.0-1.fc35.x86_64/src/kwindowshadow.cpp:66
#45 0x00007f1e4e30091d in KWindowShadow::~KWindowShadow (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) 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 &lt;_ZZN12_GLOBAL__N_130Q_QGS_privateDialogShadowsSelf13innerFunctionEvE6holder.lto_priv.0&gt;, __in_chrg=&lt;optimized out&gt;) 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2112720</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-03-22 19:13:49 +0000</bug_when>
    <thetext>FWIW You can omit the &quot;&amp;&quot; when using kstart5; it automatically opens the specified app in the background.

*** This bug has been marked as a duplicate of bug 443706 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>