Re: [squid-users] crash squid-3.1.18

From: Jan Sievers <sievers_at_zedat.fu-berlin.de>
Date: Thu, 08 Dec 2011 16:56:21 +0100

Hi Amos,

On 2011-12-08 10:04, Amos Jeffries wrote:
> On 8/12/2011 8:44 p.m., Knop, Uwe wrote:
>> i create a bugreport for this error
>> http://bugs.squid-cache.org/show_bug.cgi?id=3442
>>
>> assertion failed: external_acl.cc:841: "ch->auth_user_request"
>
> This is fixed already. Just winding its way down through QA.
> Thanks for the info that 3.1 needs it as well as 3.2 where it was found.

I applied patch squid3_at_treenet.co.nz-20111208111329-4p5ugr1bj8lxdd8i (¹)
but here Squid 3.1.18 still dies on every request.

backtrace:

#0 0xb7746424 in __kernel_vsyscall ()
#1 0xb7479640 in raise () from /lib/i686/cmov/libc.so.6
#2 0xb747b018 in abort () from /lib/i686/cmov/libc.so.6
#3 0x0811670f in death (sig=11) at tools.cc:398
#4 <signal handler called>
#5 0x0814185b in authenticateValidateUser (auth_user_request=0x85b2170)
at UserRequest.cc:104
#6 0x08141ab2 in authenticateUserAuthenticated
(auth_user_request=0x85b2170) at UserRequest.cc:246
#7 0x08141ec4 in AuthUserRequest::authenticate
(auth_user_request=0x85b20bc,
    headertype=HDR_PROXY_AUTHORIZATION, request=0x8588540,
conn=0x85ae9f0, src_addr=@0x85b2018)
    at UserRequest.cc:450
#8 0x08142759 in AuthUserRequest::tryToAuthenticateAndSetAuthUser
(auth_user_request=0x85b20bc,
    headertype=HDR_PROXY_AUTHORIZATION, request=0x8588540,
conn=0x85ae9f0, src_addr=@0x85b2018)
    at UserRequest.cc:524
#9 0x0812f8a0 in AuthenticateAcl (ch=0x85b1ff8) at Acl.cc:50
#10 0x080943e0 in ACLExternal::ExternalAclLookup (checklist=0x85b1ff8,
me=0x8354a00,
    callback=0x8091680 <ExternalACLLookup::LookupDone(void*, void*)>,
callback_data=0x85b1ff8)
    at external_acl.cc:1252
#11 0x08094e4a in ExternalACLLookup::checkForAsync (this=0x81e80a0,
checklist=0x85b1ff8)
    at external_acl.cc:1450
#12 0x08152937 in ACLChecklist::checkForAsync (this=0x85b1ff8) at
Checklist.cc:178
#13 0x08153175 in ACLChecklist::matchAclList (this=0x85b1ff8,
head=0x8357a00, fast=false)
    at Checklist.cc:229
#14 0x08153530 in ACLChecklist::matchAclListSlow (this=0x85b1ff8,
list=0x8357a00) at Checklist.cc:202
#15 0x08153564 in ACLChecklist::checkAccessList (this=0x85b1ff8) at
Checklist.cc:172
#16 0x08153602 in ACLChecklist::check (this=0x85b1ff8) at Checklist.cc:92
#17 0x080937f1 in externalAclHandleReply (data=0x8480358,
reply=0x83c2a20 "OK") at external_acl.cc:1226
#18 0x080b3d6c in helperHandleRead (fd=39, buf=0x83c2a20 "OK", len=3,
flag=COMM_OK, xerrno=0,
    data=0x83c29a8) at helper.cc:856
#19 0x0812da25 in CommIoCbPtrFun::dial (this=0x83c4a84) at CommCalls.cc:183
#20 0x0811fb46 in AsyncCall::make (this=0x83c4a68) at AsyncCall.cc:34
#21 0x08122276 in AsyncCallQueue::fireNext (this=0x838eda0) at
AsyncCallQueue.cc:53
#22 0x08122408 in AsyncCallQueue::fire (this=0x838eda0) at
AsyncCallQueue.cc:39
#23 0x08091197 in EventLoop::runOnce (this=0xbf869648) at EventLoop.cc:130
#24 0x08091260 in EventLoop::run (this=0xbf869648) at EventLoop.cc:94
#25 0x080ded42 in SquidMain (argc=1, argv=0xbf869764) at main.cc:1418
#26 0x080df37a in main (argc=-1217635500, argv=0x29) at main.cc:1176

and cache.log:

2011/12/08 16:45:04.388| authenticateAuthenticate: This is a new
checklist test on FD:11
2011/12/08 16:45:04.388| authenticateValidateUser: Validating Auth_user
request '0x9650818'.
(squid)[0x8116619]
[0xb7739400]
(squid)[0x814185b]
(squid)[0x8141ab2]
(squid)[0x8141ec4]
(squid)[0x8142759]
(squid)[0x812f8a0]
(squid)[0x80943e0]
(squid)[0x8094e4a]
(squid)[0x8152937]
(squid)[0x8153175]
(squid)[0x8153530]
(squid)[0x8153564]
(squid)[0x8153602]
(squid)[0x80937f1]
(squid)[0x80b3d6c]
(squid)[0x812da25]
(squid)[0x811fb46]
(squid)[0x8122276]
(squid)[0x8122408]
(squid)[0x8091197]
(squid)[0x8091260]
(squid)[0x80ded42]
(squid)[0x80df37a]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7457455]
(squid)(__gxx_personality_v0+0x199)[0x804ce21]
FATAL: Received Segment Violation...dying.
CPU Usage: 2.648 seconds = 0.916 user + 1.732 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena: 2560 KB
        Ordinary blocks: 2501 KB 16 blks
        Small blocks: 0 KB 6 blks
        Holding blocks: 8860 KB 7 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 58 KB
        Total in use: 11361 KB 444%
        Total free: 59 KB 2%

Shall I open a new bug for this?

Jan

¹)
http://www.squid-cache.org/Versions/v3/3.1/changesets/squid-3.1-10418.patch

-- 
Jan Sievers                              |
Freie Universität Berlin                 | sievers_at_zedat.fu-berlin.de
Zentraleinrichtung für Datenverarbeitung | http://www.zedat.fu-berlin.de
Received on Thu Dec 08 2011 - 15:56:25 MST

This archive was generated by hypermail 2.2.0 : Fri Dec 09 2011 - 12:00:03 MST