Bug 464852 - Closing single window among grouped ones through a thumbnail often crashes whole task bar/panel
Summary: Closing single window among grouped ones through a thumbnail often crashes wh...
Status: RESOLVED DUPLICATE of bug 446874
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.26.5
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-26 14:25 UTC by Tony
Modified: 2023-08-09 03:45 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
task bar (58.64 KB, image/png)
2023-01-26 14:25 UTC, Tony
Details
New crash information added by DrKonqi (46.02 KB, text/plain)
2023-08-09 03:45 UTC, johnoir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tony 2023-01-26 14:25:07 UTC
Created attachment 155667 [details]
task bar

SUMMARY
***
As title says if I open several windows of the same program (Konsole, Dolphin, Firefox) and then hover mouse over thumbnail and close one window (through thumbnail) often it'll crash task bar. Panel will briefly disappear and kinda restart once again.
***

STEPS TO REPRODUCE
1. Open several windows of the same program - may be Konsole or Dolphin
2. Focus on another window/program
3. Hover mouse over thumbnail with grouped windows and click close button (on thumbnail). See attachment

OBSERVED RESULT
Task bar/panel briefly disappears and reappears once again

EXPECTED RESULT
Task bar should not disappear/crash/restart

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavourOS (Arch Linux), kernel 5.15.90 lts
(available in About System)
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
added screenshot to better show what I'm talking about
Comment 1 Vlad Zahorodnii 2023-01-26 15:18:28 UTC
When the panel disappears, do other windows disappear? Also is it x11 or wayland?
Comment 2 Tony 2023-01-26 15:49:33 UTC
(In reply to Vlad Zahorodnii from comment #1)
> When the panel disappears, do other windows disappear? Also is it x11 or
> wayland?

My bad - it's X11. Other windows do not disappear but what I also noticed: in addition to panel, wallpaper disappears as well. Basically when it happens - all I see for a split second is a black screen and remaining window/s
Comment 3 Tony 2023-01-26 16:00:27 UTC
(In reply to Vlad Zahorodnii from comment #1)
> When the panel disappears, do other windows disappear? Also is it x11 or
> wayland?
Comment 4 Vlad Zahorodnii 2023-01-26 16:07:47 UTC
It sounds like plasmashell crashes. Can you get the backtrace of the crash? Run

   coredumpctl list plasmashell

find the relevant entry, usually the last one and use its PID in

  coredumpctl gdb <pid>

when gdb loads, type "bt" and post its output here
Comment 5 Tony 2023-01-26 16:39:09 UTC
(In reply to Vlad Zahorodnii from comment #4)
> It sounds like plasmashell crashes. Can you get the backtrace of the crash?
> Run
> 
>    coredumpctl list plasmashell
> 
> find the relevant entry, usually the last one and use its PID in
> 
>   coredumpctl gdb <pid>
> 
> when gdb loads, type "bt" and post its output here

Here it is. Hopefully I did this correct:

(gdb) bt
#0  0x00007fd71a234448 in QSGTexture::setFiltering(QSGTexture::Filtering) () at /usr/lib/libQt5Quick.so.5
#1  0x00007fd71a2643b0 in QSGOpaqueTextureMaterialShader::updateState(QSGMaterialShader::RenderState const&, QSGMaterial*, QSGMaterial*) ()
    at /usr/lib/libQt5Quick.so.5
#2  0x00007fd71a24d38e in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () at /usr/lib/libQt5Quick.so.5
#3  0x00007fd71a250bee in QSGBatchRenderer::Renderer::renderBatches() () at /usr/lib/libQt5Quick.so.5
#4  0x00007fd71a2556b1 in QSGBatchRenderer::Renderer::render() () at /usr/lib/libQt5Quick.so.5
#5  0x00007fd71a23d0a5 in QSGRenderer::renderScene(QSGBindable const&) () at /usr/lib/libQt5Quick.so.5
#6  0x00007fd71a23d544 in QSGRenderer::renderScene(unsigned int) () at /usr/lib/libQt5Quick.so.5
#7  0x00007fd71a296ac5 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () at /usr/lib/libQt5Quick.so.5
#8  0x00007fd71a2f0fd1 in QQuickWindowPrivate::renderSceneGraph(QSize const&, QSize const&) () at /usr/lib/libQt5Quick.so.5
#9  0x00007fd71a2a1096 in  () at /usr/lib/libQt5Quick.so.5
#10 0x00007fd71a2a5fa4 in  () at /usr/lib/libQt5Quick.so.5
#11 0x00007fd71883732a in  () at /usr/lib/libQt5Core.so.5
#12 0x00007fd7183ba8fd in  () at /usr/lib/libc.so.6
#13 0x00007fd71843cd20 in  () at /usr/lib/libc.so.6
Comment 6 Nate Graham 2023-02-22 03:51:34 UTC

*** This bug has been marked as a duplicate of bug 446874 ***
Comment 7 Goodrich Thiel 2023-06-26 02:39:41 UTC
Happened while I had several instances of Firefox open at once. Tried to close two by X'ing out of them from the preview thumbnails, and the whole taskbar momentarily disappeared and restarted without issue.

Let me know if there's anything else I can provide.
Thanks so much!
Comment 8 johnoir 2023-08-09 03:45:20 UTC
Created attachment 160851 [details]
New crash information added by DrKonqi

plasmashell (5.27.5) using Qt 5.15.8

plasmashell crashed after closing a window from a group using close button from Icon-only Task Manager preview thumbnail

-- Backtrace (Reduced):
#3  0x00007f5f8d9c1f5a in QSGOpaqueTextureMaterialShader::updateState(QSGMaterialShader::RenderState const&, QSGMaterial*, QSGMaterial*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f5f8d9aa80d in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f5f8d9afa55 in QSGBatchRenderer::Renderer::renderBatches() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f5f8d9b05b6 in QSGBatchRenderer::Renderer::render() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f5f8d997f00 in QSGRenderer::renderScene(QSGBindable const&) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5