Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532128 - sys-auth/consolekit - fixes for "GLib-CRITICAL: Source ID was not found" messages
Summary: sys-auth/consolekit - fixes for "GLib-CRITICAL: Source ID was not found" mess...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-12-10 11:15 UTC by Holger Hoffstätte
Modified: 2015-09-07 13:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Aggregate patch to silence GLib-CRITICAL messages (consolekit-0.4.6-silence-glib-warnings.patch,4.72 KB, patch)
2014-12-10 11:17 UTC, Holger Hoffstätte
Details | Diff
Patch for ebuild to include GLib fixes (consolekit-0.4.6-ebuild.patch,597 bytes, patch)
2014-12-10 11:17 UTC, Holger Hoffstätte
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Hoffstätte 2014-12-10 11:15:54 UTC
Our current consolekit-0.4.6 often logs "GLib-CRITICAL: Source ID was not found" warnings to the log on various occasions. These are caused by GLib's new warning about mismatched reference counting, and as such are really bugs in applications.
This was mostly fixed in the new ConsoleKit2 in the upstream commit https://github.com/ConsoleKit2/ConsoleKit2/commit/0b79d92001450e7f359212d4273100628f6a1693 , however this did not completely fix the issue. I worked with upstream to fix the last occurrence during ssh idle timeout + logout (https://github.com/ConsoleKit2/ConsoleKit2/pull/15) and we have fixed the issue. It would be good to get this into our current ck-0.4.6 ebuild until 0.9.x/1.0 is finalized.

Reproducible: Always

Steps to Reproduce:
1. with ck-0.4.6 e.g. log in, let tty sit idle, log out


Actual Results:  
ck logs various GLib complaints about mismatched refcounts.


Expected Results:  
No warnings

I'll attach patches both to the ebuild and the source. Both are fairly small, one is already in 0.9.x and the other one will shortly be. I have them running locally on several machines and all GLib-CRITICAL messages are gone.

Since the current (old/unmaintained) ck-0.4.6 is stable we could bump this into ~ck-0.4.6-r1 for testing, while we wait for ck2-0.9.x to become 1.0.
Comment 1 Holger Hoffstätte 2014-12-10 11:17:00 UTC
Created attachment 391354 [details, diff]
Aggregate patch to silence GLib-CRITICAL messages
Comment 2 Holger Hoffstätte 2014-12-10 11:17:37 UTC
Created attachment 391356 [details, diff]
Patch for ebuild to include GLib fixes
Comment 3 Holger Hoffstätte 2015-09-07 13:32:16 UTC
I'm closing this since this problem is fixed upstream and 1.0 is now released in ~arch.