Summary: | Dolphin crashes when I try to open a WebDAV location | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Tomasz Kaźmierczak <tomek-k> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | REPORTED --- | ||
Severity: | crash | CC: | kfm-devel |
Priority: | NOR | Keywords: | drkonqi |
Version: | 24.02.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Tomasz Kaźmierczak
2024-05-26 12:18:03 UTC
I was trying to debug the issue. I've run Dolphin in gdb (with debug symbols loaded, but without the source code attached) and the crash indeed, as the stack trace suggests, is caused by the fact that some entry processed by KFileItem starts with the slash character - in the console I can see the following message: ASSERT: "!path2.startsWith(QLatin1Char('/'))" in file ./src/core/../utils_p.h, line 109 Then, in the debugger, I noticed that the string (m_strName) is actually the slash: "/". So I figured that Dolphin may just not like root paths in WebDAV URLs and I started playing with the URL. Originally my URL was like this (address and port number are obviously made up): webdavs://my-domain.com:1234 This crashed Dolphin. So I've tried the following: webdavs://my-domain.com:1234/ It worked! Yes - a slash at the end of URL stopped Dolphin from crashing, although the source code complained about a slash... Anyway, I think that Dolphin should accept URLs with no trailing slashes (or at least it shouldn't be crashing if one is not there). Perhaps I should add that this bug still exists in Dolphin 24.05.2 running on the following system: Qt Version: 6.7.0 Frameworks Version: 6.3.0 KDE Plasma Version: 6.1.2 OS: Linux 6.5.0-10043-tuxedo x86_64 Windowing System: Wayland Distribution: TUXEDO OS 3 Bug still exists in: Dolphin Version: 24.08.0 Frameworks Version: 6.5.0 KDE Plasma Version: 6.1.4 Qt Version: 6.7.2 OS: Linux 6.8.0-101041-tuxedo x86_64 Windowing System: Wayland Distribution: TUXEDO OS 3 |