[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261579

            Bug ID: 261579
           Summary: sysutils/consolekit2: assertion 'object_path != NULL
                    && g_variant_is_object_path (object_path)' failed with
                    updated GDM
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: nc@FreeBSD.org
             Flags: maintainer-feedback?(desktop@FreeBSD.org)
          Assignee: desktop@FreeBSD.org

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

-- 
You are receiving this mail because:
You are the assignee for the bug.