Re: so what is involved in calling squid-3.0 'stable'?

From: Reuben Farrelly <reuben-squid-dev@dont-contact.us>
Date: Sun, 23 Apr 2006 01:58:14 +1200

On 23/04/2006 1:44 a.m., Robert Collins wrote:
> Meh, and this:
>
> Forgetting to remove the enum cascades slightly.
>
>
>
>
> --- src/acl.cc 23 Oct 2005 11:55:32 -0000 1.316
> +++ src/acl.cc 22 Apr 2006 13:44:31 -0000
> @@ -428,8 +428,7 @@
> link = link->next;
> }
>
> - auth_match = NULL;
> - auth_match = (acl_proxy_auth_match_cache
> *)memAllocate(MEM_ACL_PROXY_AUTH_MATCH);
> + auth_match = new acl_proxy_auth_match_cache();
> auth_match->matchrv = matchForCache (checklist);
> auth_match->acl_data = this;
> dlinkAddTail(auth_match, &auth_match->link, cache);
> @@ -451,7 +450,7 @@
> tmplink = link;
> link = link->next;
> dlinkDelete(tmplink, cache);
> - memFree(auth_match, MEM_ACL_PROXY_AUTH_MATCH);
> + delete auth_match;
> }
> }

Ok it's a bit better now, but still crashing out:

[root@tornado squid-3.0]# gdb /usr/sbin/squid-3.0
GNU gdb Red Hat Linux (6.3.0.0-1.128.FC6rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...Using host libthread_db
library "/lib64/libthread_db.so.1".

(gdb) run -NCd1 -f /etc/squid/squid.conf-3.0
Starting program: /usr/sbin/squid-3.0 -NCd1 -f /etc/squid/squid.conf-3.0
[Thread debugging using libthread_db enabled]
[New Thread 47650264002256 (LWP 486)]
2006/04/23 01:57:17| Notice: Short Strings is 36 bytes instead of requested 36 bytes
2006/04/23 01:57:17| diskd started

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47650264002256 (LWP 486)]
0x000000000047ec1b in memAllocate (type=Variable "type" is not available.
) at mem.cc:160
160 return MemPools[type]->alloc();
(gdb) bt full
#0 0x000000000047ec1b in memAllocate (type=Variable "type" is not available.
) at mem.cc:160
No locals.
#1 0x000000000041e7f9 in wordlistAdd (list=0x701600, key=0x745ae3 "cgi-bin") at
cache_cf.cc:175
No locals.
#2 0x000000000041e85c in parse_wordlist (list=0x701600) at cache_cf.cc:2516
         token = Variable "token" is not available.
(gdb)
Received on Sat Apr 22 2006 - 07:58:20 MDT

This archive was generated by hypermail pre-2.1.9 : Mon May 01 2006 - 12:00:03 MDT