Hi,

This was caught with 0.17.1 libqb, which didn't play well with long pids.

commit 180a943846b6d94c27b9b984b039ac0465df64da
Author: Vladislav Bogdanov <[email protected]>
Date:   Mon Oct 12 11:05:29 2015 +0000

    attrd: Fix sigsegv on exit if initialization failed

diff --git a/attrd/main.c b/attrd/main.c
index 069e9fa..94e9212 100644
--- a/attrd/main.c
+++ b/attrd/main.c
@@ -368,8 +368,12 @@ main(int argc, char **argv)
     crm_notice("Cleaning up before exit");

     election_fini(writer);
-    crm_client_disconnect_all(ipcs);
-    qb_ipcs_destroy(ipcs);
+
+    if (ipcs) {
+        crm_client_disconnect_all(ipcs);
+        qb_ipcs_destroy(ipcs);
+    }
+
     g_hash_table_destroy(attributes);

     if (the_cib) {

_______________________________________________
Users mailing list: [email protected]
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to