Bug 331729 - kio_archive process does not terminate immediately after stopping browsing a zip file
Summary: kio_archive process does not terminate immediately after stopping browsing a ...
Status: CONFIRMED
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: Archive (other bugs)
Version First Reported In: 18.04.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-04 11:34 UTC by Diego
Modified: 2018-10-27 15:43 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego 2014-03-04 11:34:00 UTC
kio_archive still runs after browsing an archive, for example in Dolphin.

Reproducible: Always

Steps to Reproduce:
1. Open Dolphin
2. In "Settings", "Configure Dolphin" go to "Navigation" and select "Open archives as folder"
3. Copy a ".zip" file on a USB memory, or some removable media
4. Click on the zip file in the media, so that it gets opened as a folder
5. Navigate up or back, outside of the archive
6. Try to unmount the media
Actual Results:  
After the above steps you'll get the error in Dolphin:
The device is currently busy: Error unmounting /dev/sde4: Command-line `umount  "/run/media/diego/DATA"' exited with non-zero exit status 32: umount: /run/media/diego/DATA: target is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))

and infact lsof reports:
$ lsof /dev/sde4
COMMAND    PID  USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
kio_archi 6716 diego    4r   REG   8,68 26598838   14 /run/media/diego/DATA/filename

After a while (one or two minutes) the process actually closes by itself, but it take too much time.

Expected Results:  
As soon as a "archive folder" is exited, the kio process is terminated.
Comment 1 Julian Steinmann 2018-07-21 14:12:14 UTC
I can reproduce this bug with KDE Frameworks 5.48, reassigning to kio-extras.