On Sun, 6 Nov 2005, Serassio Guido wrote:
Hi Henrik,
At 22.40 05/11/2005, Henrik Nordstrom wrote:
- On Squid 3.0, testing Samba 4 ntlm_auth, I have found that when the auth
helper crashes, Squid crashes too:
2005/11/04 23:12:44| assertion failed: cbdata.cc:450: "c->locks > 0"
Quite likely related to the above, but a stack trace would be nice..
Crashed:
2005/11/06 09:29:27| Validated 1915 Entries
2005/11/06 09:29:27| store_swap_size = 6876
2005/11/06 09:29:28| storeLateRelease: released 0 objects
2005/11/06 09:29:33| assertion failed: cbdata.cc:450: "c->locks > 0"
Program received signal SIGABRT, Aborted.
0x4018183b in raise () from /lib/tls/libc.so.6
(gdb) backtrace
#0 0x4018183b in raise () from /lib/tls/libc.so.6
#1 0x40182fa2 in abort () from /lib/tls/libc.so.6
#2 0x080899f9 in xassert (msg=0x0, file=0x0, line=0) at debug.cc:524
#3 0x0806dafb in cbdataReferenceValid (p=0x8560140) at cbdata.cc:453
#4 0x080f40f3 in authenticateNegotiateHandleReply (data=0x8560150,
lastserver=0x82f3ab0, reply=0x0) at negotiate/auth_negotiate.cc:387
r-> was missing there in the Squid-3 port. Was calling
cbdataReferenceValid() on the wrong pointer.
Regards
Henrik