Bug 397707 - While mounting a slow USB device, the plasmashell and dolphin process status become "uninterruptible sleep" (freeze)
Summary: While mounting a slow USB device, the plasmashell and dolphin process status ...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.14.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-21 14:29 UTC by alexkde
Modified: 2022-12-31 05:23 UTC (History)
7 users (show)

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


Attachments
gdb plasmashell backtrace (4.50 KB, text/plain)
2018-10-07 11:39 UTC, alexkde
Details
CPU load history during gdb plasmashell (3.92 KB, text/plain)
2018-10-07 11:39 UTC, alexkde
Details
gdb plasmashell backtrace with dbgsyms (1.34 KB, text/plain)
2018-10-07 13:38 UTC, alexkde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alexkde 2018-08-21 14:29:05 UTC
When I plugin my Garmin Edge 800 and mount its micro SD card with Dolphin, my system freezes for a few seconds.
I.e. I can still move the mouse but the UI won't react to any input.

Kernel: 4.17.17
Kubuntu 18.04.1 LTS
Plasma 5.12.6
Comment 1 Kai Uwe Broulik 2018-08-22 06:46:21 UTC
Is it Plasma that freezes or everything? Can you perhaps gdb plasmshell and see where it freezes when you plug in such a device?
Comment 2 alexkde 2018-10-07 11:39:16 UTC
Created attachment 115463 [details]
gdb plasmashell backtrace
Comment 3 alexkde 2018-10-07 11:39:47 UTC
Created attachment 115464 [details]
CPU load history during gdb plasmashell
Comment 4 alexkde 2018-10-07 12:08:13 UTC
Comment on attachment 115463 [details]
gdb plasmashell backtrace

I will redo it again with debug symbols installed. :-)
Comment 5 alexkde 2018-10-07 13:38:14 UTC
Created attachment 115469 [details]
gdb plasmashell backtrace with dbgsyms
Comment 6 alexkde 2018-10-07 13:44:47 UTC
> Is it Plasma that freezes or everything? 

Dolphin and the Plasma panel become unresponsive, however it is still possible to switch to other still working apps like the FireFox or Konsole using Shift+Tab.

> Can you perhaps gdb plasmshell and see where it freezes when you plug in such a device?

I did that now, but it seems that the gdb backtrace is not very useful. However, I could now observe with htop that the main plasmashell and the dolphin process status become "D", i.e. "uninterruptible sleep" exactly during the whole freeze.
Comment 7 alexkde 2018-10-17 21:18:02 UTC
Mounting the SD card of the device in the Konsole results in a freezing plasmashell as well. That means it's not Dolphin specific.

@Stefan Brüns, in case you are strongly interested in debugging that issue, I could lend you my device as I am located very closely to you. :)
Comment 8 Justin Zobel 2022-12-01 04:34:48 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 9 Bug Janitor Service 2022-12-16 05:13:34 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2022-12-31 05:23:43 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!