XDG dirs cannot be relative paths
Submitted by ulrik sverdrup
Link to original bug (#646950)
Description
Created attachment 185352 backtrace of XDG_CACHE_HOME=tmp totem
I was using XDG_CACHE_HOME=tmp (and the other related variables set identically) and totem unexpectedly crashed when starting to play a file.
I'm using totem 2.30.2 (from debian). I have looked at current git and I think the crash reason is on this line: http://git.gnome.org/browse/totem/tree/src/totem-uri.c#n432 where g_filename_to_uri is called on the relative path fake_filename that is constructed just above the relevant line. I haven't actually tried to modify this spot.
Totem survives relative paths in the other variables (XDG_DATA_HOME, XDG_CONFIG_HOME) just fine.
Backtrace is attached.
Attachment 185352, "backtrace of XDG_CACHE_HOME=tmp totem":
totem-xdg-cache-home-crash-backtrace.log