Bug 487680 - Dolphin crashes when trying to eject an unmounted encrypted disk
Summary: Dolphin crashes when trying to eject an unmounted encrypted disk
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-28 10:58 UTC by oht11414
Modified: 2024-05-28 11:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description oht11414 2024-05-28 10:58:38 UTC
SUMMARY
I have a luks2 disk without partition table and containing a single ext4 partition.
I am using normal debian KDE stable and didn't make any fancy changes.

STEPS TO REPRODUCE
1. Create a luks2 encrypted disk (for example an USB flash drive) without partition table and containing a single ext4 partition.
2. Replug the device so it will be shown in dolphin.
3. Open a dolphin window so you see the device on the left (under "Removable Devices").
4. Click on the device and enter the password. It should now open the luks2 container and also mount the ext4 partition.
5. Click on the eject symbol of the ext4 partition under "Devices" (NOT on the disk under "Removable Devices").
6. The partition is now unmounted while the luks2 container is still open (can be seen when running lsblk).
7. Click the eject symbol of the luks2 container under "Removable Devices". Dolphin will crash.

OBSERVED RESULT
Dolphin crashes and the luks2 container is still open (see lsblk).

EXPECTED RESULT
Dolphin properly closes the luks2 container.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version:  5.27.5
KDE Frameworks Version: 
Qt Version: 5.15.8

ADDITIONAL INFORMATION