After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 589015 - metadata/meta-daemon.c is missing dbus_error_init() in register_name
metadata/meta-daemon.c is missing dbus_error_init() in register_name
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: general
1.3.x
Other Linux
: Normal major
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2009-07-19 11:12 UTC by Patryk Zawadzki
Modified: 2009-07-20 14:50 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28


Attachments
Proposed patch (405 bytes, patch)
2009-07-19 11:41 UTC, Patryk Zawadzki
committed Details | Review

Description Patryk Zawadzki 2009-07-19 11:12:10 UTC
This causes the metadata daemon to randomly exit during startup.

BTW: there's no metadata component in bugzilla.
Comment 1 Patryk Zawadzki 2009-07-19 11:41:38 UTC
Created attachment 138732 [details] [review]
Proposed patch
Comment 2 Martin Pitt 2009-07-20 13:11:51 UTC
Confirmed as well here, I came up with exactly the same patch.

$ /usr//lib/gvfs/gvfsd-metadata 
process 20935: arguments to dbus_bus_request_name() were incorrect, assertion "(error) == NULL || !dbus_error_is_set ((error))" failed in file dbus-bus.c line 1114.
Comment 3 Martin Pitt 2009-07-20 13:13:38 UTC
*** Bug 589024 has been marked as a duplicate of this bug. ***
Comment 4 Cosimo Cecchi 2009-07-20 14:50:05 UTC
Thanks for the patch, pushed to master.

commit df28b6e600d79eafca4e75049cb81427086178d7
Author: Cosimo Cecchi <cosimoc@gnome.org>
Date:   Mon Jul 20 16:48:18 2009 +0200

    Initialize the DBus error
    
    Initialize the DBus error structure before calling
    dbus_bus_request_name().
    Fix bug #589015, patch by Patryk Zawadzki.