Bug 496636

Summary: "GLib-GObject-WARNING: IA__g_object_get_valist: value location for `gchararray' passed as NULL"
Product: [Fedora] Fedora Reporter: Jonathan Kamens <h1k6zn2m>
Component: ConsoleKitAssignee: jmccann
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: cschalle, jmccann, mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-24 03:14:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jonathan Kamens 2009-04-20 13:33:37 UTC
With current Rawhide, I get four copies of this syslog message every time I log in:

Apr 20 07:12:59 jik2 console-kit-daemon[2079]: GLib-GObject-WARNING: IA__g_object_get_valist: value location for `gchararray' passed as NULL
Apr 20 07:12:59 jik2 console-kit-daemon[2079]: GLib-GObject-WARNING: IA__g_object_get_valist: value location for `gchararray' passed as NULL
Apr 20 07:12:59 jik2 console-kit-daemon[2079]: GLib-GObject-WARNING: IA__g_object_get_valist: value location for `gchararray' passed as NULL
Apr 20 07:12:59 jik2 console-kit-daemon[2079]: GLib-GObject-WARNING: IA__g_object_get_valist: value location for `gchararray' passed as NULL

Comment 1 Matthias Clasen 2009-04-21 03:58:53 UTC
This might fix it, I think

diff -up ConsoleKit-0.3.0/src/ck-manager.c.null-warning ConsoleKit-0.3.0/src/ck-manager.c
--- ConsoleKit-0.3.0/src/ck-manager.c.null-warning	2009-04-20 23:55:53.248884043 -0400
+++ ConsoleKit-0.3.0/src/ck-manager.c	2009-04-20 23:56:27.736126951 -0400
@@ -1213,7 +1213,7 @@ session_is_real_user (CkSession *session
 
         g_object_get (session,
                       "unix-user", &uid,
-                      "session-type", session_type,
+                      "session-type", &session_type,
                       NULL);
 
         username = get_user_name (uid);

Comment 2 Matthias Clasen 2009-04-21 05:02:14 UTC
Built in ConsoleKit-0.3.0-8.fc11

Comment 3 Bug Zapper 2009-06-09 14:12:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping