Bug 482979 - Plasma crashes when moving widgets with a transparent background to second screen
Summary: Plasma crashes when moving widgets with a transparent background to second s...
Status: VERIFIED DUPLICATE of bug 479001
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.5
Platform: Debian stable Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-03-09 13:27 UTC by doucxldh
Modified: 2025-02-15 21:57 UTC (History)
5 users (show)

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


Attachments
New crash information added by DrKonqi (65.29 KB, text/plain)
2024-03-09 13:27 UTC, doucxldh
Details
New crash information added by DrKonqi (57.33 KB, text/plain)
2024-08-16 04:05 UTC, Jeff Greene
Details
New crash information added by DrKonqi (34.03 KB, text/plain)
2025-02-15 21:45 UTC, usethisforgem
Details
New crash information added by DrKonqi (36.43 KB, text/plain)
2025-02-15 21:57 UTC, usethisforgem
Details

Note You need to log in before you can comment on or make changes to this bug.
Description doucxldh 2024-03-09 13:27:26 UTC
Application: plasmashell (5.27.5)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.0-17-amd64 x86_64
Windowing System: Wayland
Distribution: Debian GNU/Linux 12 (bookworm)
DrKonqi: 5.27.5 [CoredumpBackend]

-- Information about the crash:
When moving a widget with a transparent background to the second screen, the desktop goes black, the panel flashes, and then Plasma restarts. After that the widget disappears.

Initially three Quick Starts were successfully moved, then all subsequent move attempts (Quick Start and Disk Activity) failed. (All these widgets have a transparent background)
Movement behaves fine after adjusting their background to default.

将透明背景的小部件移动到第二屏幕时,桌面黑屏,面板闪烁,随后Plasma重启。之后小部件消失。

一开始成功移动了三个“快速启动”,之后所有移动尝试(“快速启动”与“磁盘活动”)都失败。(所有的这些小部件都是背景透明的)
将它们的背景调整为默认后移动行为正常。

The crash can be reproduced every time.

-- Backtrace (Reduced):
#6  0x00007f875c79e1ff in QSGBatchRenderer::Renderer::uploadBatch(QSGBatchRenderer::Batch*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f875c7b0526 in QSGBatchRenderer::Renderer::render() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f875c797f00 in QSGRenderer::renderScene(QSGBindable const&) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007f875c7983b3 in QSGRenderer::renderScene(unsigned int) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007f875c7fb663 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5


The reporter indicates this bug may be a duplicate of or related to bug 479001.

Reported using DrKonqi
Comment 1 doucxldh 2024-03-09 13:27:28 UTC
Created attachment 166792 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Vinícius 2024-03-10 13:02:29 UTC
Confirmed using plasma 6 in fedora kinoite
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.0-0.rc6.49.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700U with Radeon Graphics
Memory: 6,6 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82MF
System Version: IdeaPad 3 15ALC6
Comment 3 Nate Graham 2024-03-12 00:02:29 UTC
*** This bug has been marked as a duplicate of bug 479001 ***
Comment 4 Jeff Greene 2024-08-16 04:05:37 UTC
Created attachment 172662 [details]
New crash information added by DrKonqi

plasmashell (5.27.5) using Qt 5.15.8

Crash after dragging widget from primary monitor to second monitor.

-- Backtrace (Reduced):
#4  0x00007fce2b5aa654 in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007fce2b5afc7b in QSGBatchRenderer::Renderer::renderBatches() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fce2b5b05b6 in QSGBatchRenderer::Renderer::render() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fce2b597f00 in QSGRenderer::renderScene(QSGBindable const&) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007fce2b5983b3 in QSGRenderer::renderScene(unsigned int) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
Comment 5 usethisforgem 2025-02-15 21:45:46 UTC
Created attachment 178415 [details]
New crash information added by DrKonqi

plasmashell (5.27.5) using Qt 5.15.8

When moving the "Digital Clock" widget (transparent background) from the secondary display, to the primary display (configuration is three monitors with primary in center, secondary to the left, and tertiary to the right of primary). The plan was to move and resize the widget so I dragged it over to the and it appeared properly on the primary display and I immediately went to resize the widget and during the resize, (so 1 click and hold on the bottom right corner, drag toward the bottom right corner of display) before I released the click/drag, the widget had disappeared and approximately 1-3 seconds later all displays went black for a moment, then returned with only the gui's of whatever I applications I had open (Konsole, and a system settings interface), followed by wallpapers and taskbar after (I assume) KDE restarted.

-- Backtrace (Reduced):
#4  0x00007f68d7daa5d7 in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f68d7dafc7b in QSGBatchRenderer::Renderer::renderBatches() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f68d7db05b6 in QSGBatchRenderer::Renderer::render() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f68d7d97f00 in QSGRenderer::renderScene(QSGBindable const&) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f68d7d983b3 in QSGRenderer::renderScene(unsigned int) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
Comment 6 usethisforgem 2025-02-15 21:53:28 UTC
Following up to my first report of this bug. It is not caused (in my case) by moving the widget to a different display in and of itself. The crash/bug was duplicated by resizing the same widget (transparent background) beyond a certain size immediately following the move to a different display. I am not sure whether the move is necessary or not, but the resize is. During the resize, the first line (the clock with a larger font size) disappeared first but the bottom line with smaller text did not. Continuing to drag the corner and increase the size caused both lines to disappear and provided the same results as my previous report.

Hope this helps :)
Comment 7 usethisforgem 2025-02-15 21:57:40 UTC
Created attachment 178416 [details]
New crash information added by DrKonqi

plasmashell (5.27.5) using Qt 5.15.8

This is the second crash report I have made for the same bug. I added more information in a comment to my first report confirming the cause of what I experienced. Can confirm it is also related to resizing the widget in both of my reports.

-- Backtrace (Reduced):
#4  0x00007fb35cbaa5d7 in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007fb35cbafc7b in QSGBatchRenderer::Renderer::renderBatches() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007fb35cbb05b6 in QSGBatchRenderer::Renderer::render() () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fb35cb97f00 in QSGRenderer::renderScene(QSGBindable const&) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007fb35cb983b3 in QSGRenderer::renderScene(unsigned int) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5