Hi,

At 22.21 06/06/2005, Henrik Nordstrom wrote:

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..

Rafael, you can try the patch in bug #1201, it should fix the problem before the acl refactoring.

http://www.squid-cache.org/bugs/show_bug.cgi?id=1201

Regards

Guido



-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1           10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/

Reply via email to