Pantheon-files does not start: assertion 'value->ref_count > 0' failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Files |
Confirmed
|
Low
|
Unassigned |
Bug Description
When trying to start pantheon-files I get the following error messages:
pim@chaos ~/elementary/
[_LOG_LEVEL_INFO 22:53:37.678984] Application.
[_LOG_LEVEL_INFO 22:53:37.679069] Application.
[_LOG_LEVEL_INFO 22:53:37.740352] Application.
[_LOG_LEVEL_WARN 22:53:38.289480] gof-callwhenrea
[_LOG_LEVEL_WARN 22:53:38.289646] gof-callwhenrea
[_LOG_LEVEL_WARN 22:53:38.289848] gof-callwhenrea
[_LOG_LEVEL_WARN 22:53:38.289947] gof-callwhenrea
[_LOG_LEVEL_WARN 22:53:38.290044] gof-callwhenrea
[_LOG_LEVEL_INFO 22:53:38.290129] gof-callwhenrea
[_LOG_LEVEL_FATAL 22:53:38.326273] [GLib] g_variant_ref: assertion 'value->ref_count > 0' failed
[_LOG_LEVEL_FATAL 22:53:38.326321] Files will not function properly.
[_LOG_LEVEL_FATAL 22:53:38.456861] [GLib] g_variant_unref: assertion 'value->ref_count > 0' failed
[_LOG_LEVEL_FATAL 22:53:38.456917] Files will not function properly.
g_dbus_
Terminated
Just for completeness, I also tried to start the daemon which results in the following message:
pim@chaos ~/elementary/
Database path: /home/pim/
** (process:14790): CRITICAL **: marlind-
Any clue what might cause this?
Please let me know if you need any additional information.
This was also reported by another Gentoo user: https:/
Changed in pantheon-files: | |
status: | New → Incomplete |
Jeremy Wootten (jeremywootten) wrote : | #1 |
Pim Vullers (pimvullers) wrote : | #2 |
Concerning the default directories... I think you should use the XDG_ variables to determine the actual directories, these are usually specified in user-dirs.dirs:
pim@chaos ~ $ cat .config/
# This file is written by xdg-user-
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_
XDG_DOWNLOAD_
XDG_TEMPLATES_
XDG_PUBLICSHARE
XDG_DOCUMENTS_
XDG_MUSIC_
XDG_PICTURES_
XDG_VIDEOS_
To test I add the files listed by pantheon-files. I now get the following output:
pim@chaos ~ $ pantheon-files
[_LOG_LEVEL_INFO 22:58:31.275010] Application.
[_LOG_LEVEL_INFO 22:58:31.275099] Application.
[_LOG_LEVEL_INFO 22:58:31.475058] Application.
[_LOG_LEVEL_INFO 22:58:31.874597] gof-callwhenrea
[_LOG_LEVEL_FATAL 22:58:31.953428] [GLib] g_variant_ref: assertion 'value->ref_count > 0' failed
[_LOG_LEVEL_FATAL 22:58:31.953585] Files will not function properly.
[_LOG_LEVEL_FATAL 22:58:31.958485] [GLib] g_variant_unref: assertion 'value->ref_count > 0' failed
[_LOG_LEVEL_FATAL 22:58:31.958549] Files will not function properly.
g_dbus_
Terminated
Jeremy Wootten (jeremywootten) wrote : | #3 |
There is a branch already in progress for honouring the settings in .config/user-dirs when creating default bookmarks.
Pim Vullers (pimvullers) wrote : | #4 |
The problem is that even with the default directories present pantheon-files does not start, as can be seen above. There is still an assertion that fails.
Launchpad Janitor (janitor) wrote : | #5 |
[Expired for Files because there has been no activity for 60 days.]
Changed in pantheon-files: | |
status: | Incomplete → Expired |
Antonio Malcolm (antonio-malcolm) wrote : | #6 |
This should be reopened, because it still happens with the latest Freya build, and should probably be addressed, rather than ignored.
Changed in pantheon-files: | |
status: | Expired → Confirmed |
Antonio Malcolm (antonio-malcolm) wrote : | #7 |
[_LOG_LEVEL_INFO 20:31:17.090102] Application.
[_LOG_LEVEL_INFO 20:31:17.090152] Application.
[_LOG_LEVEL_INFO 20:31:17.132370] Application.
[_LOG_LEVEL_INFO 20:31:17.132496] [GLib-GIO] Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
[_LOG_LEVEL_WARN 20:31:17.133634] [libnotify] Failed to connect to proxy
[_LOG_LEVEL_FATAL 20:31:17.168858] [GLib-GIO] g_app_info_get_id: assertion 'G_IS_APP_INFO (appinfo)' failed
[_LOG_LEVEL_FATAL 20:31:17.168891] Files will not function properly.
[_LOG_LEVEL_FATAL 20:31:17.170242] BookmarkList.
[_LOG_LEVEL_FATAL 20:31:17.170268] Files will not function properly.
[_LOG_LEVEL_WARN 20:31:17.221635] AbstractDirecto
[_LOG_LEVEL_FATAL 20:31:17.223592] [GLib] g_variant_ref: assertion 'value->ref_count > 0' failed
[_LOG_LEVEL_FATAL 20:31:17.223622] Files will not function properly.
[_LOG_LEVEL_FATAL 20:31:17.223745] [GLib] g_variant_unref: assertion 'value->ref_count > 0' failed
[_LOG_LEVEL_FATAL 20:31:17.223767] Files will not function properly.
g_dbus_
Antonio Malcolm (antonio-malcolm) wrote : | #8 |
OKAY, installed GConf-devel, so the reporting has changed (the info about saving settings no longer appears)
[_LOG_LEVEL_INFO 20:53:23.437951] Application.
[_LOG_LEVEL_INFO 20:53:23.438000] Application.
[_LOG_LEVEL_INFO 20:53:23.498871] Application.
[_LOG_LEVEL_WARN 20:53:23.502021] [libnotify] Failed to connect to proxy
[_LOG_LEVEL_FATAL 20:53:23.542066] [GLib-GIO] g_app_info_get_id: assertion 'G_IS_APP_INFO (appinfo)' failed
[_LOG_LEVEL_FATAL 20:53:23.542110] Files will not function properly.
[_LOG_LEVEL_FATAL 20:53:23.543560] BookmarkList.
[_LOG_LEVEL_FATAL 20:53:23.543581] Files will not function properly.
[_LOG_LEVEL_WARN 20:53:23.576844] AbstractDirecto
[_LOG_LEVEL_FATAL 20:53:23.604024] [GLib] g_variant_ref: assertion 'value->ref_count > 0' failed
[_LOG_LEVEL_FATAL 20:53:23.604055] Files will not function properly.
[_LOG_LEVEL_FATAL 20:53:23.604193] [GLib] g_variant_unref: assertion 'value->ref_count > 0' failed
[_LOG_LEVEL_FATAL 20:53:23.604216] Files will not function properly.
g_dbus_
Terminated
Antonio Malcolm (antonio-malcolm) wrote : | #9 |
After some research, it looks like this may be breaking against Zeitgeist. Currently, I have v0.9.14 installed.
Anyone know of a version which works?
Antonio Malcolm (antonio-malcolm) wrote : | #10 |
What's odd is, looking through the CMakeLists.txt under /src, it appears that Zeitgeist isn't even used, unless Unity is present. Also, given Zeitgeist's intended use, I'm not certain why it's even necessary as a dependency to the file manager's core functionality. Should it be a hard dependency? This appears to be a (lack of) separation of concernes issue.
Antonio Malcolm (antonio-malcolm) wrote : | #11 |
OK, GOT IT!
My suspicions were correct- we don't need Zeitgeist, and the app runs without it.
Open /src/ZeitgeistM
Remove the two constants at the top, replace all of the inner workings of the method with a single return statement, so what you have left of the file contents is this:
namespace Marlin {
public class ZeitgeistManager : Object {
public static void report_event (string uri, string interpretation) {
return;
}
}
}
I'm looking further into the source code, for more references, to remove zeitgeist as a dependency, altogether.
Jeremy Wootten (jeremywootten) wrote : | #12 |
Antonio: Thanks for looking into this further. It wasn't deliberately ignored - the status should not have been left as "Incomplete".
If you can provide a stack trace for the crash it would help; the terminal output is only of limited use.
Jeremy Wootten (jeremywootten) wrote : | #13 |
Antonio: Zeitgeist is used by the SearchResults widget (with or without Unity) so we do not want to just remove it. zeitgeist-2.0 is required but there does not seem to be a minimum version number specified at the moment. I am using 0.9.14-0ubuntu4.1.
Changed in pantheon-files: | |
importance: | Undecided → Low |
Do I understand correctly that you are running under Gentoo?
Files is primarily intended to be installed on Debian based systems and when installed the binary is /usr/bin/ pantheon- files. Alternatively, if compiled from source without installing, the binary is in XXX/build/ pantheon- files, where XXX is the root of the source tree.
You appear to be running from ~/elementary/ pantheon- files/install/ bin/pantheon- files and none of the expected default directories were found (~/Downloads etc) so this may be causing the problem.