Bug 353550 - Dolphin 15.08.1 crashes when accessing $HOME /afs
Summary: Dolphin 15.08.1 crashes when accessing $HOME /afs
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-05 07:07 UTC by Dirk Heinrichs
Modified: 2015-10-21 11:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 15.08.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Heinrichs 2015-10-05 07:07:05 UTC
User's home directories are in AFS. Right after starting dolphin, it displays a red bar at the top with the message

"The file or folder file:/afs/example.com/home/jdoe does not exist."

If I then click on the user directory in the path bar, it crashes immediately.

Reproducible: Always

Steps to Reproduce:
1. Have $HOME in /afs
2. Start dolphin (see the red bar)
3. Click the last path component (or click the "Home" icon)

Actual Results:  
Dolphin crashes

Expected Results:  
Dolphin should display contents of $HOME, as the 4.x version did.
Comment 1 Frank Reininghaus 2015-10-06 15:45:11 UTC
Thanks for the bug report. Please provide a backtrace of the crash. See https://community.kde.org/Dolphin/FAQ/Crashes for more information. Thanks for your help!

BTW, are the problems specific to Dolphin, or do you have the same problems when you try to access the home directory with the file dialog of, e.g., KWrite?
Comment 2 Dirk Heinrichs 2015-10-06 16:43:44 UTC
I'm afraid I can't produce a backtrace, since DrKonqi doesn't come up.

Yes, the problem seems to be specific to Dolphin. File dialogs work fine.
Comment 3 Dirk Heinrichs 2015-10-09 09:59:50 UTC
Don't know why, maybe because of some of last days package upgrades, but at least the crashing has gone. I still get the red message bar at first start, but when I now click the path or the home icon, the content is displayed and I can browse. Lowering to normal bug...
Comment 4 Dirk Heinrichs 2015-10-09 17:52:56 UTC
The red bar with error message also went away once I've set the start directory new, omiting the leading "file:".
Comment 5 Emmanuel Pescosta 2015-10-21 11:46:26 UTC
Git commit 5dd5eaf08da4b7d11e53c90096c2ea0e6a19e840 by Emmanuel Pescosta.
Committed on 21/10/2015 at 11:45.
Pushed by emmanuelp into branch 'Applications/15.08'.

Allow home directories with non-local file paths.

Paths like file:/home/me work now instead of showing
an error message.
Related: bug 352743
FIXED-IN: 15.08.3
REVIEW: 125586

M  +2    -1    src/dolphinmainwindow.cpp
M  +4    -3    src/dolphinviewcontainer.cpp
M  +7    -0    src/global.cpp
M  +5    -0    src/global.h
M  +1    -2    src/main.cpp
M  +5    -4    src/settings/startup/startupsettingspage.cpp

http://commits.kde.org/dolphin/5dd5eaf08da4b7d11e53c90096c2ea0e6a19e840