maintainer-feedback requested: [Bug 261579] sysutils/consolekit2: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed with updated GDM

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 30 Jan 2022 20:09:28 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team)
<desktop@FreeBSD.org> for maintainer-feedback:
Bug 261579: sysutils/consolekit2: assertion 'object_path != NULL &&
g_variant_is_object_path (object_path)' failed with updated GDM
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261579



--- Description ---
I'm attempting to update x11/gdm (Phabricator:
https://reviews.freebsd.org/D34088) and when I attempt to unlock GDM after it
locks, I get a set of errors like this:

gdm-launch-environment] 19058 - - Gdm: Child process 19060 was already dead.
gdm-launch-environment] 19058 - - GLib-GObject: g_object_unref: assertion
'G_IS_OBJECT (object)' failed
gdm 19041 - - Gdm: Failed to remove greeter program access to the display.
Trying to proceed.
gdm 19041 - - GLib-GIO: g_dbus_connection_call_sync_internal: assertion
'object_path != NULL && g_variant_is_object_path (object_path)' failed
gdm 19041 - - Gdm: Unable to determine if can activate sessions: 
gdm 19041 - - GLib: g_error_free: assertion 'error != NULL' failed

The last three lines are particularly interesting.

I forklifted the code from OpenBSD where it works fine on OBSD.

Relevant lines in https://reviews.freebsd.org/D34088 are
files/patch-common_gdm-common.c lines 438 to 471