Bug 452806 - plasma shell crash on 'safely remove' USB thumb stick
Summary: plasma shell crash on 'safely remove' USB thumb stick
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.24.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: wayland
: 450922 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-04-20 19:03 UTC by Pawel
Modified: 2023-04-12 07:48 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kcrash file (39.20 KB, text/vnd.kde.kcrash-report)
2022-04-20 19:03 UTC, Pawel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel 2022-04-20 19:03:46 UTC
Created attachment 148272 [details]
kcrash file

Plasma shell crashed on me when I clicked safely remove to remove a thumbstick. 
I previously formatted the USB drive using ventoy and copied several ISO files onto the drive.  I was adding images during a 10-15 minute window and did safely remove the drive before without issues. 

I managed to capture the crash with debug symbols - see attached. Happened on wayland but unsure if this is wayland specific.

Operating System: Arch Linux
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.17.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6800 XT
Comment 1 Nate Graham 2022-04-21 14:28:33 UTC
[KCrash Handler]
#6  0x00007f84607d8a53 in wl_proxy_marshal_array_flags (proxy=proxy@entry=0x561f658ab3d0, opcode=opcode@entry=4, interface=interface@entry=0x0, version=version@entry=1, flags=flags@entry=0, args=args@entry=0x7f83c37fd720) at ../wayland-1.20.0/src/wayland-client.c:829
#7  0x00007f84607d9830 in wl_proxy_marshal_flags (proxy=0x561f658ab3d0, opcode=4, interface=0x0, version=1, flags=0) at ../wayland-1.20.0/src/wayland-client.c:784
#8  0x00007f83ec2059f9 in xdg_positioner_set_gravity (gravity=2979, xdg_positioner=0x561f658ab3d0) at /usr/src/debug/build/src/plugins/shellintegration/xdg-shell/wayland-xdg-shell-client-protocol.h:822
#9  QtWayland::xdg_surface::ack_configure(unsigned int) (serial=2979, this=0x561f65258be8) at /usr/src/debug/build/src/plugins/shellintegration/xdg-shell/qwayland-xdg-shell.cpp:303
#10 QtWaylandClient::QWaylandXdgSurface::applyConfigure() (this=0x561f65258bd0) at /usr/src/debug/qtwayland/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp:337
#11 0x00007f845c5071ba in QtWaylandClient::QWaylandWindow::doApplyConfigure() (this=0x561f62d9f170) at /usr/src/debug/qtwayland/src/client/qwaylandwindow.cpp:505
#12 QtWaylandClient::QWaylandWindow::doApplyConfigure() (this=this@entry=0x561f62d9f170) at /usr/src/debug/qtwayland/src/client/qwaylandwindow.cpp:499
#13 0x00007f845c507859 in QtWaylandClient::QWaylandWindow::setCanResize(bool) (this=0x561f62d9f170, canResize=<optimized out>) at /usr/src/debug/qtwayland/src/client/qwaylandwindow.cpp:520
#14 0x00007f84601261cd in QSGRenderThread::syncAndRender(QImage*) (this=0x561f64b0aa70, grabImage=0x0) at /usr/src/debug/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:870
#15 0x00007f846012a840 in QSGRenderThread::run() (this=0x561f64b0aa70) at /usr/src/debug/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1043
#16 0x00007f845e6cc8cc in QThreadPrivate::start(void*) (arg=0x561f64b0aa70) at thread/qthread_unix.cpp:331
#17 0x00007f845e2455c2 in start_thread () at /usr/lib/libc.so.6
#18 0x00007f845e2ca584 in clone () at /usr/lib/libc.so.6
Comment 2 David Edmundson 2022-05-04 22:48:46 UTC
The important part of all that is QSGRenderThread::run before the applyConfigure


https://bugreports.qt.io/browse/QTBUG-101948
Comment 3 David Edmundson 2023-04-12 07:48:21 UTC
*** Bug 450922 has been marked as a duplicate of this bug. ***