Can't safely remove SD card when a background app has it open
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Unassigned | ||
ciborium (Ubuntu) |
Fix Released
|
High
|
Manuel de la Peña | ||
ciborium (Ubuntu RTM) |
Fix Released
|
High
|
Manuel de la Peña |
Bug Description
krillin rtm build 211
- insert SD card
- start gallery app which reads from SD card
- move gallery app to background and launch External Drives app
- click on Safely Remove button
Expected results:
- the SD card should be unmounted and safely removed. If it can't be safely removed that should be reported to the user.
Actual results:
- the app reports its' safely removed but actually it is not
Here is the error in application-
2015/01/26 12:44:21 Error while processing events: drive holding block device is not mapped
2015/01/26 12:44:21 Error while processing events: drive holding block device is not mapped
2015/01/26 12:44:21 Error while processing events: drive holding block device is not mapped
2015/01/26 12:44:21 Error while processing events: drive holding block device is not mapped
2015/01/26 12:44:21 Error while processing events: drive holding block device is not mapped
2015/01/26 12:44:21 Error while processing events: drive holding block device is not mapped
2015/01/26 12:44:21 Error while processing events: drive holding block device is not mapped
2015/01/26 12:44:21 Error while processing events: drive holding block device is not mapped
2015/01/26 12:44:21 Error while processing events: drive holding block device is not mapped
UbuntuWindow - regular geometry
2015/01/26 12:44:21 main.qml:87: file://
2015/01/26 12:44:21 main.qml:87: file://
2015/01/26 12:44:21 main.qml:87: file://
2015/01/26 12:44:22 main.qml:84: file://
2015/01/26 12:44:22 main.qml:84: file://
2015/01/26 12:44:22 main.qml:84: file://
2015/01/26 12:44:22 window.cpp:268: UbuntuWindow:
2015/01/26 12:44:22 window.cpp:242: UbuntuWindow:
2015/01/26 12:44:22 clipboard.cpp:116: UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
2015/01/26 12:44:36 Unhandled object path /org/freedeskto
2015/01/26 12:44:36 Remove event for /org/freedeskto
2015/01/26 12:44:36 Removing device /org/freedeskto
2015/01/26 12:44:36 Issues while unmounting /org/freedeskto
(In some cases useful info about processes that
use the device is found by lsof(8) or fuser(1).)
2015/01/26 12:44:36 Error while trying to unmount SA32G : org.freedesktop
(In some cases useful info about processes that
use the device is found by lsof(8) or fuser(1).)
2015/01/26 12:44:36 Block device removed
Related branches
- Ricardo Salveti (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 555 lines (+166/-56)9 files modifiedcmd/ciborium-ui/main.go (+13/-16)
cmd/ciborium/main.go (+2/-2)
share/ciborium/qml/components/DriveDelegate.qml (+3/-1)
share/ciborium/qml/components/FormatConfirmation.qml (+2/-1)
share/ciborium/qml/components/FormatDialog.qml (+1/-1)
share/ciborium/qml/components/SafeRemoval.qml (+3/-2)
share/ciborium/qml/components/SafeRemovalConfirmation.qml (+6/-1)
share/ciborium/qml/main.qml (+24/-13)
udisks2/udisks2.go (+112/-19)
summary: |
- Can safely remove SD card when a background app has it open + Can't safely remove SD card when a background app has it open |
Changed in ciborium (Ubuntu): | |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
status: | New → Fix Released |
milestone: | none → ww13-ota |
importance: | Undecided → High |
We are working on displaying an error letting the user know that the device is in use. I don't think we can force the other processes to stop.