Bug 466195

Summary: Missing interface in smb.conf causes Dolphin to freeze upon launch
Product: [Applications] dolphin Reporter: Joseph Goh <josephgoh7>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel
Priority: NOR    
Version: 22.12.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Joseph Goh 2023-02-21 13:51:49 UTC
SUMMARY
Dolphin freezes on launch for ~6 seconds for every missing network interface added to /etc/samba/smb.conf.

STEPS TO REPRODUCE
For example, if smb.conf looks like this:
```
[global]
interfaces = wtf wtf2 wtf3 wtf4 wtf5
```
OBSERVED RESULT
Then, upon launching `dolphin`, the GUI freezes for ~30 seconds

EXPECTED RESULT
Dolphin shouldn't freeze.

SOFTWARE/OS VERSIONS
OS: Arch Linux 6.1.12-zen1-1-zen
dolphin: 22.12.2
smbd: 4.17.5

ADDITIONAL INFORMATION
The smb/samba daemon doesn't need to be running for this bug to occur.