Re: assertion failed after a reconfigure

From: Jordan Mendelson <jordy@dont-contact.us>
Date: Tue, 20 Apr 1999 14:47:20 -0400

Marc van Selm wrote:
>
> I've just upgraded to Squid-2.2STABLE1 (Solaris2.5)
>
> When I do a squid -k reconfigure I get an assertion failed (0) in acl.c
> 1811. The proxy restarts (and doesn't reconfigure).
>
> Any thoughts?
>
> Marc
> ---------------------------------------------------------------------
> Marc van Selm
> NATO C3 Agency
> Communication Systems Division, A-Branch
> Tel: +31 70 3142454
> E-mail: marc.van.selm@nc3a.nato.int
> ---------------------------------------------------------------------
> Private: selm@cistron.nl, selm@het.net, http://www.cistron.nl/~selm

Duane Wessels sent me this that fixes it:

Index: acl.c
===================================================================
RCS file: /surf1/CVS/squid/src/acl.c,v
retrieving revision 1.197.2.5
diff -u -r1.197.2.5 acl.c
--- acl.c 1999/04/19 00:14:33 1.197.2.5
+++ acl.c 1999/04/19 17:32:38
@@ -1795,12 +1795,15 @@
        case ACL_URL_REGEX:
        case ACL_URLPATH_REGEX:
        case ACL_BROWSER:
+ case ACL_SRC_DOM_REGEX:
+ case ACL_DST_DOM_REGEX:
            aclDestroyRegexList(a->data);
            break;
        case ACL_PROTO:
        case ACL_METHOD:
        case ACL_SRC_ASN:
        case ACL_DST_ASN:
+ case ACL_NETDB_SRC_RTT:
            intlistDestroy((intlist **) & a->data);
            break;
        case ACL_URL_PORT:

Jordan

--
Jordan Mendelson     : http://jordy.wserv.com
Web Services, Inc.   : http://www.wserv.com
Received on Tue Apr 20 1999 - 12:46:58 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:45:53 MST