<?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>482188</bug_id>
          
          <creation_ts>2024-03-01 19:11:56 +0000</creation_ts>
          <short_desc>Shell crashes in KWindowShadow::destroy() when unlocking the screen after idling for a while</short_desc>
          <delta_ts>2024-07-22 21:06:47 +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>generic-crash</component>
          <version>master</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>445893</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>qt6, wayland-only</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Oded Arbel">oded</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>2293592</commentid>
    <comment_count>0</comment_count>
    <who name="Oded Arbel">oded</who>
    <bug_when>2024-03-01 19:11:56 +0000</bug_when>
    <thetext>SUMMARY
I often have Plasma shell crash when I unlock the screen, after idling for a long time or after waking up from sleep. 

The Dr Konqi crash wizard can&apos;t seem to get a stack trace showing a dialog with a lot of &quot;can&apos;t access memory&quot; errors, but looking at the Dr Konqi core dump GUI I can get some sort of stack trace:

#0  0x00007f1b5ad564c0 in KCrash::defaultCrashHandler(int) () at /lib/x86_64-linux-gnu/libKF6Crash.so.6
#1  0x00007f1b57c42520 in &lt;signal handler called&gt; () at /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f1b5adf1f1b in wl_proxy_marshal_flags () at /lib/x86_64-linux-gnu/libwayland-client.so.0
#3  0x00007f1b500c5e8e in xdg_activation_token_v1_set_app_id (app_id=0x55a13d366200 &quot; \272\027[\033\177&quot;, xdg_activation_token_v1=0x55a13b5b7c50) at ./obj-x86_64-linux-gnu/src/platforms/wayland/wayland-xdg-activation-v1-client-protocol.h:363
#4  QtWayland::org_kde_kwin_shadow_manager::unset(wl_surface*) (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;, surface=0x55a13d366200) at ./obj-x86_64-linux-gnu/src/platforms/wayland/qwayland-shadow.cpp:78
#5  WindowShadow::internalDestroy() (this=0x55a13d367d90) at ./src/platforms/wayland/windowshadow.cpp:195
#6  0x00007f1b5ab8851a in KWindowShadow::destroy() (this=this@entry=0x55a13d387550) at ./src/kwindowshadow.cpp:266
#7  0x00007f1b5ab8853b in KWindowShadow::~KWindowShadow() (this=0x55a13d387550, this=&lt;optimized out&gt;) at ./src/kwindowshadow.cpp:65
#8  0x00007f1b5ab8856d in KWindowShadow::~KWindowShadow() (this=0x55a13d387550, this=&lt;optimized out&gt;) at ./src/kwindowshadow.cpp:66
#9  0x00007f1b587ca0aa in QObjectPrivate::deleteChildren() (this=this@entry=0x55a13d351b80) at ./src/corelib/kernel/qobject.cpp:2207
#10 0x00007f1b587cdfb8 in QObject::~QObject() (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at ./src/corelib/kernel/qobject.cpp:1159
#11 0x00007f1b5b126c9d in DialogShadows::~DialogShadows() (this=0x55a13d37e8e0, this=&lt;optimized out&gt;) at ./src/plasmaquick/dialogshadows.cpp:63
#12 0x00007f1b587ca0aa in QObjectPrivate::deleteChildren() (this=this@entry=0x55a13b56c2f0) at ./src/corelib/kernel/qobject.cpp:2207
#13 0x00007f1b587cdfb8 in QObject::~QObject() (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at ./src/corelib/kernel/qobject.cpp:1159
#14 0x000055a13b3f5ab3 in main(int, char**) (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at ./shell/main.cpp:215


SOFTWARE/OS VERSIONS
Operating System: KDE neon Testing Edition
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-21-generic (64-bit)
Graphics Platform: Wayland
Processors: 20 × 12th Gen Intel® Core™ i7-12700H
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® Graphics</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2293686</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-03-01 21:37:22 +0000</bug_when>
    <thetext>Can you update Neon and try again? There were some packaging glitches with the initial 6.0 release that might account for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2293722</commentid>
    <comment_count>2</comment_count>
    <who name="Oded Arbel">oded</who>
    <bug_when>2024-03-01 22:53:25 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #1)
&gt; Can you update Neon and try again? There were some packaging glitches with
&gt; the initial 6.0 release that might account for this.

I try to keep up to date. I&apos;m currently running Neon testing, should I move to stable?

This used to happen once daily (last time was today). I&apos;ll update if it happens again (or not).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2293905</commentid>
    <comment_count>3</comment_count>
    <who name="Oded Arbel">oded</who>
    <bug_when>2024-03-02 14:30:10 +0000</bug_when>
    <thetext>I just had another similar crash, though the Dr Konqi crash dialog didn&apos;t show anything except lots of errors like this:

Backtrace stopped: Cannot access memory at address 0x7ffee5a1b0f0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2294849</commentid>
    <comment_count>4</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-03-04 20:00:11 +0000</bug_when>
    <thetext>My mistake, I missed that you weren&apos;t on Neon User, which is where the glitches appeared.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2302400</commentid>
    <comment_count>5</comment_count>
    <who name="Oded Arbel">oded</who>
    <bug_when>2024-03-18 07:29:44 +0000</bug_when>
    <thetext>I&apos;m closing this bug as a dup of bug #472616, which is an earlier one I reported - even though the stack trace here is very much not like the others.

I think there may be a few different crashes that are possibly not related - except in their eerie predictability: it always crashes when unlocking after idle - but as I haven&apos;t seen this specific trace again, and I get a lot more &quot;no useful backtrace&quot; crashes than good ones, I will just collect every traceable crash I do have in #472616.

*** This bug has been marked as a duplicate of bug 472616 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2339331</commentid>
    <comment_count>6</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-07-22 21:06:47 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>