Bug 412147 - Stuck scanning devices
Summary: Stuck scanning devices
Status: REPORTED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: 4.0.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-21 05:24 UTC by Brennan Kinney
Modified: 2024-07-09 11:49 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brennan Kinney 2019-09-21 05:24:50 UTC
SUMMARY

After a failed mount with Dolphin, an external USB stick(with corrupted exfat filesystem), seemed to be the cause of a device scan with PartitionManager being stuck. It remained on 50% for.. 5 mins or so, saying it was scanning /dev/sdc (the problematic device), and it was not possible to cancel this process(clicking the dialogs X button to close did nothing.

I killed it via ksysguard. If a scan is performed prior to any attempt to mount the device, the scan performed fine, only after the failed mount(dirty filesystem which Windows itself cannot repair), does it cause this behaviour with scan.

STEPS TO REPRODUCE
1. Fail to mount a corrupt(or possibly dirty/uncleanly mounted) exfat system.
2. Try to scan with PartitionManager(I had it open already so this was a 2nd scan)
3. Scan gets stuck when scanning the device with bad exfat filesystem.

OBSERVED RESULT

PartitionManager stuck scanning, unable to cancel/skip problematic device.

EXPECTED RESULT

Time out skip device and raise error/notification to user after, or permit cancelling the scan.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro KDE (up to date), Kernel 4.19.69-1-MANJARO
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.0