[peruser] Segmentation fault

Stefan Seufert stefan at seuf.de
Mon Aug 7 09:46:22 MDT 2006


Hi Janno,

thank you for the detailed bug report. I've looked at the source and
suspect that we were unable to create a connection. Can you apply the
attached patch? I only adds a debug message and won't make the segfaults
go away but it will help us to track down the problem.

Thanks,

Stefan
-------------- next part --------------
Index: peruser.c
===================================================================
--- peruser.c	(revision 27)
+++ peruser.c	(working copy)
@@ -930,6 +930,8 @@
     ap_create_sb_handle(&sbh, p, conn_id, 0);
     current_conn = ap_run_create_connection(p, ap_server_conf, sock, conn_id,
                                             sbh, bucket_alloc);
+    if (!current_conn)
+	    _DBG("ERROR: unable to create connection");
     _DBG("Looking up the right vhost");
     ap_update_vhost_given_ip(current_conn);
     _DBG("Base server is %s, name based vhosts %s", current_conn->base_server->server_hostname,


More information about the Peruser mailing list