[squid-users] Repost: BUG(!!!) in proxy_auth patch for Squid2.5Stable

From: Michael Smirnov <[email protected]>
Date: Fri, 11 Oct 2002 19:10:01 +0400

I have Squid2.5Stable1 on FreeBSD 4.2-Release.
When I try to use a proxy_auth ACL in cache_peer_access,
I have this in cache.log:

2002/10/08 21:01:27| authenticateAuthenticate: no connection data, cannot process
authentication

After I tried the patch
http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE1-proxy_auth.patch
Squid dies and this error appears in cache.log after any 1st HTTP request to Squid
from a Auth'ed user. I've found NO coredump.
Squid doesn't die and there's no error when a user allowed by other ACLs makes a request!
...
2002/10/10 19:39:36| Beginning Validation Procedure
2002/10/10 19:39:36| Completed Validation Procedure
2002/10/10 19:39:36| Validated 195 Entries
2002/10/10 19:39:36| store_swap_size = 1457k
2002/10/10 19:39:37| storeLateRelease: released 0 objects
FATAL: Received Segment Violation...dying.
2002/10/10 19:39:39| storeDirWriteCleanLogs: Starting...
2002/10/10 19:39:40| WARNING: Closing open FD 42
2002/10/10 19:39:40| Finished. Wrote 195 entries.
2002/10/10 19:39:40| Took 0.0 seconds (202492.2 entries/sec).
CPU Usage: 0.121 seconds = 0.073 user + 0.049 sys
Maximum Resident Size: 6200 KB
Page faults with physical i/o: 0

My compile script:
#!/bin/sh
./configure \
--prefix=/usr/local/squid \
--disable-snmp \
--disable-ident-lookups \
--enable-err-language=Russian-1251 \
--enable-err-languages="English Russian-1251 Russian-koi8-r" \
--enable-basic-auth-helpers="NCSA" \
--enable-removal-policies="lru,heap" \
--enable-delay-pools \
--enable-useragent-log \
--enable-storeio="ufs,null" \
--enable-stacktraces \
--enable-truncate --disable-unlinkd \
--enable-carp
Received on Fri Oct 11 2002 - 09:10:10 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:40 MST