From 47cd741204e4e537825f0cb146c4aae4f0736ac0 Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Fri, 27 Jun 2014 16:08:47 +0200 Subject: Reinitialize the error structure after error. Addressing Error dbus calling GetUserGroups(admin, ): org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.sssd.infopipe was not provided by any .service files process 2577: arguments to dbus_connection_send_with_reply_and_block() were incorrect, assertion "(error) == NULL || !dbus_error_is_set ((error))" failed in file dbus-connection.c line 3346. This is normally a bug in some application using the D-Bus library. D-Bus not built with -rdynamic so unable to print a backtrace [notice] child pid 2577 exit signal Aborted (6), possible coredump in /etc/httpd --- mod_lookup_identity.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mod_lookup_identity.c b/mod_lookup_identity.c index eac1165..7349d72 100644 --- a/mod_lookup_identity.c +++ b/mod_lookup_identity.c @@ -300,6 +300,9 @@ static int lookup_identity_hook(request_rec * r) { if (reply) { dbus_message_unref(reply); } + if (dbus_error_is_set(&error)) { + dbus_error_free(&error); + } } if (the_config->output_user_attr) { apr_hash_t * seen = NULL; -- cgit