Author: rhuijben
Date: Tue Nov 24 08:25:58 2015
New Revision: 1716065

URL: http://svn.apache.org/viewvc?rev=1716065&view=rev
Log:
* config_store.c
* incoming.c
  More printfs around bus errors on mac bot.

Modified:
    serf/branches/pump-investigate/config_store.c
    serf/branches/pump-investigate/incoming.c

Modified: serf/branches/pump-investigate/config_store.c
URL: 
http://svn.apache.org/viewvc/serf/branches/pump-investigate/config_store.c?rev=1716065&r1=1716064&r2=1716065&view=diff
==============================================================================
--- serf/branches/pump-investigate/config_store.c (original)
+++ serf/branches/pump-investigate/config_store.c Tue Nov 24 08:25:58 2015
@@ -209,13 +209,16 @@ apr_status_t serf__config_store_get_clie
         if (!per_conn) {
             fprintf(stderr, "Adding item\n");
             per_conn = create_config_hdr(client->pool);
+            fprintf(stderr, "Header created\n");
             apr_hash_set(config_store->global_per_conn,
                          apr_pstrdup(client->pool, client_key),
                          APR_HASH_KEY_STRING, per_conn);
+            fprintf(stderr, "Added conn to hash\n");
         }
         cfg->per_conn = per_conn;
         cfg->per_host = NULL;
 
+        fprintf(stderr, "Destroying tmppool\n");
         apr_pool_destroy(tmp_pool);
     }
 

Modified: serf/branches/pump-investigate/incoming.c
URL: 
http://svn.apache.org/viewvc/serf/branches/pump-investigate/incoming.c?rev=1716065&r1=1716064&r2=1716065&view=diff
==============================================================================
--- serf/branches/pump-investigate/incoming.c (original)
+++ serf/branches/pump-investigate/incoming.c Tue Nov 24 08:25:58 2015
@@ -680,7 +680,11 @@ apr_status_t serf_incoming_create2(
     serf_config_t *config;
 
     fprintf(stderr, "Create pool\n");
-    apr_pool_create(&ic_pool, pool);
+    rv = apr_pool_create(&ic_pool, pool);
+    if (rv) {
+        fprintf(stderr, "Pool create failed");
+        return rv;
+    }
 
     ic = apr_pcalloc(ic_pool, sizeof(*ic));
 


Reply via email to