unit-test: Test failure in TestSecretAgent.MultiSecrets since a few weeks against Debian unstable
This unit test failure occurred a few weeks back (2-3) in Debian unstable during a rebuild of all packages:
2: [ RUN ] TestSecretAgent.MultiSecrets
2: 1716406724.199 GetServerInformation
2: 1716406724.200 RegisterWithCapabilities "com.lomiri.indicator.network.SecretAgent" 0
2: "/connection/foo" "802-11-wireless-security" () 5
2: Requesting secret from user
2: 1716406724.203 Notify "lomiri-indicator-network" 0 "wifi-full-secure" "Connect to “the ssid”" "WPA" ["connect_id", "Connect", "cancel_id", "Cancel"] {"x-lomiri-non-shaped-icon": "true", "x-lomiri-private-affirmative-tint": "true", "x-lomiri-private-menu-model": {"actions": {"notifications": "/action/1"}, "busName": ":1.3", "menuPath": "/menu/1"}, "x-lomiri-snap-decisions": "true", "x-lomiri-snap-decisions-timeout": 2147483647} 0
2: "/connection/foo2" "802-11-wireless-security" () 5
2: Requesting secret from user
2:
2: (process:98154): GLib-GObject-CRITICAL **: 19:38:44.203: invalid (NULL) pointer instance
2:
2: (process:98154): GLib-GObject-CRITICAL **: 19:38:44.203: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
2:
2: (process:98154): GLib-GObject-CRITICAL **: 19:38:44.203: invalid (NULL) pointer instance
2:
2: (process:98154): GLib-GObject-CRITICAL **: 19:38:44.203: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
2:
2: (process:98154): GLib-GObject-CRITICAL **: 19:38:44.203: invalid (NULL) pointer instance
2:
2: (process:98154): GLib-GObject-CRITICAL **: 19:38:44.203: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
2:
2: (process:98154): GLib-GObject-CRITICAL **: 19:38:44.203: invalid (NULL) pointer instance
2:
2: (process:98154): GLib-GObject-CRITICAL **: 19:38:44.203: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
2:
2: (process:98154): GLib-CRITICAL **: 19:38:44.203: g_hash_table_unref: assertion 'hash_table != NULL' failed
2:
2: (process:98154): GLib-CRITICAL **: 19:38:44.203: g_main_context_unref: assertion 'context != NULL' failed
2:
2: (process:98154): GLib-GObject-CRITICAL **: 19:38:44.203: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
2:
2: (process:98154): GLib-GObject-CRITICAL **: 19:38:44.203: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
2: free(): double free detected in tcache 2
2: ./tests/unit/secret-agent/test-secret-agent.cpp:334: Failure
2: Value of: notificationSpy.wait()
2: Actual: false
2: Expected: true
My overall question is: how can this be debugged?