[dolphin] [Bug 428962] New: Fail to mount the same iso file twice

Kwon-Young Choi bugzilla_noreply at kde.org
Wed Nov 11 11:24:48 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=428962

            Bug ID: 428962
           Summary: Fail to mount the same iso file twice
           Product: dolphin
           Version: 20.04.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: plugins: ISO mounting
          Assignee: kwon-young.choi at hotmail.fr
          Reporter: kwon-young.choi at hotmail.fr
                CC: kfm-devel at kde.org
  Target Milestone: ---

SUMMARY
The MountIso plugin fails to mount the same iso file a second time after
mounting and unmounting it. 
This leads to an unresponsive dolphin for 10 seconds.

STEPS TO REPRODUCE
1. mount an iso
2. unmount an iso
3. mount an iso

OBSERVED RESULT

Dolphin freeze during 10 seconds.
The iso file is not mounted.

EXPECTED RESULT

The iso file mounts immediately.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.9.3-1-MANJARO
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-7820HQ CPU @ 2.90GHz
Memory: 15.2 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 630

ADDITIONAL INFORMATION

Both the latest dolphin on manjaro and dolphin built from sources exhibit this
behavior.

Interestingly, udisksctl does not have this problem.
So, I compared the dbus calls from mountiso and udisksctl and found that
udisksctl does not set the read-only option on the loop-setup call:
http://storaged.org/doc/udisks2-api/2.8.4/gdbus-org.freedesktop.UDisks2.Manager.html#gdbus-method-org-freedesktop-UDisks2-Manager.LoopSetup

After removing the read-only option in the mountiso plugin, the mount works as
expected.
I'll make a merge-request to fix this immediately.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list