Re: Starting SQUID/IPv6 tests...

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 6 Jun 2005 22:21:23 +0200 (CEST)

On Mon, 6 Jun 2005, Rafael Martinez Torres wrote:

>> This could be a known bug in Squid-3 where many acls crashes if used
>> outside of http_access.
>
> I think I know were is the bug... The c->locks attribute is not properly
> iniatalized to 0 on C++ cbdata class. So, when cbdataLocl increases it, if
> it was randomly negative cbdataUnlock will find it not possitive...

All cbdata classes is allocated via cbdataInternalAlloc which initializes
these fields proper.

I said, a stack trace showing exacly which error you are looking at would
help a lot in trying to identify the cause. Without a stack trace all we
can do is guess.. and my best guess is the known acl related problem (see
bugzilla). Not technically a "problem", more like code partway thru
refactoring and currently in an inconsistent state..

Regards
Henrik
Received on Mon Jun 06 2005 - 14:21:26 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jun 30 2005 - 12:00:05 MDT