Bug 495473 - Connected samba blocks dolphin when samba service is down
Summary: Connected samba blocks dolphin when samba service is down
Status: RESOLVED DUPLICATE of bug 445065
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-28 10:21 UTC by Ronald
Modified: 2024-10-31 02:52 UTC (History)
3 users (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 Ronald 2024-10-28 10:21:22 UTC
SUMMARY
Connected samba blocks dolphin when samba service is down

STEPS TO REPRODUCE
1. start samba service on server
2. add an entry for samba in /etc/fstab on client
3. open dolphin, click the folder (mount point for samba) to mount the samba file system, it works properly
4. close dolphin
5. shutdown samba service
6. open dolphin, dolphin is blocked for quite a long time, when the main window of dolphin shows, it doesn't respond, and a message asks whether to terminate it
7. open konsole, run "ls", it is also blocked, for about 20 seconds, then it shows "ls: cannot access 'samba_share': Host is down"
8. if "# sudo umount ~/samba_share" or "# sudo umount -f ~/samba_share", it shows "umount: /path/to/samba_share: target is busy.",  as a workaround "# sudo umount -l ~/samba_share" helps

After step 4, I've tried logout & login, it's very very blocky. Rebooting solves the problem.

OBSERVED RESULT
dolphin is blocked


EXPECTED RESULT
dolphin, as an GUI application, should not be blocked

SOFTWARE/OS VERSIONS
Linux:  6.11.5
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION
Comment 1 TraceyC 2024-10-30 19:35:36 UTC
This looks like a duplicate of bug 445065
While this is for the SMB service being down and the other is for disk sleep, the core problem is the same. Dolphin is blocked / hanging if a remote Samba share is unavailable (even temporarily while waiting on disk I/O)

If you would like to follow progress on this issue, please follow the other bug report. Thanks!

*** This bug has been marked as a duplicate of bug 445065 ***
Comment 2 Ronald 2024-10-31 02:52:58 UTC
(In reply to TraceyC from comment #1)
> This looks like a duplicate of bug 445065
> While this is for the SMB service being down and the other is for disk
> sleep, the core problem is the same. Dolphin is blocked / hanging if a
> remote Samba share is unavailable (even temporarily while waiting on disk
> I/O)
> 
> If you would like to follow progress on this issue, please follow the other
> bug report. Thanks!

OK, thanks