Bug 400650

Summary: kdeinit5 crashes in SMBSlave::fileSystemFreeSpace() when browsing smb:// in Dolphin
Product: [Frameworks and Libraries] kio-extras Reporter: Claudio <holo-doc>
Component: SambaAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: aspotashev, bugseforuns, kde, nate, sitter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: smb-backtrace

Description Claudio 2018-11-04 09:49:12 UTC
Created attachment 116074 [details]
smb-backtrace

SUMMARY
After upgrading Kubuntu 18.10 to Plasma 5.14.2 / Frameworks 51.0 (Backports PPA) the attached crash occurs approx. every 10 seconds while Dolphin is opened with smb://

STEPS TO REPRODUCE
1. Open Dolphin, go to "Network", "Shared Folders (SMB)" (I know browsing isn't working with the newer Samba version - but the crash didn't appear before)
2. 
3. 

OBSERVED RESULT
Repeating crashes

EXPECTED RESULT
No crash

SOFTWARE VERSIONS
Betriebssystem: Kubuntu 18.10
KDE-Plasma-Version: 5.14.2
Qt-Version: 5.11.1
KDE-Frameworks-Version: 5.51.0
Kernel-Version: 4.18.0-10-generic
Art des Betriebssystems: 64-bit
Prozessoren: 8 × Intel® Core™ i7-4790K CPU @ 4.00GHz
Speicher: 31,3 GiB Arbeitsspeicher


ADDITIONAL INFORMATION
When I downgrade libkf5kiocore to version 5.50 the crahes do not occur (or mybe are supressed before this change in 5.51?: "KIO slave crashes are now handled by KCrash instead of subpar custom code")
Comment 1 Patrick Silva 2018-11-04 10:33:27 UTC

*** This bug has been marked as a duplicate of bug 399896 ***
Comment 2 Claudio 2018-11-04 10:38:15 UTC
This is not a duplicate of bug https://bugs.kde.org/show_bug.cgi?id=399896 - the other bug report only fixed previewing of .eps files and has nothing to do with the smb kioslave
Comment 3 Nate Graham 2018-11-05 19:30:09 UTC
> or mybe are supressed before this change in 5.51?
Yep. Probably it's been crashing the whole time, but silently. Thanks for reporting it!

Kai, I think you did some work with SMBSlave::fileSystemFreeSpace() recently, right?
Comment 4 Harald Sitter 2020-02-07 14:07:43 UTC
Looks more like a crash inside libsmbclient and indeed that would simply have been silent before.

Is this still reproducible on newer versions of libsmblcient/kubuntu?
Comment 5 Claudio 2020-02-08 16:24:32 UTC
Sorry - I switched from Kubuntu to Manjaro - but at least there it's not crashing (samba - 4.10.10)

Operating System: Manjaro Linux 
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.1
Kernel Version: 5.5.2-1-MANJARO
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-4790K CPU @ 4.00GHz
Memory: 31,3 GiB
Comment 6 Harald Sitter 2020-02-08 17:01:23 UTC
Very likely a bug with the specific libsmbclient in that kubuntu release then.