[squid-users] assertion failed: String.cc:174: "len_ + len < 65536"

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Tue Feb 23 16:13:01 UTC 2016


* Ralf Hildebrandt <Ralf.Hildebrandt at charite.de>:
> * Marco Berizzi <pupilla at hotmail.com>:
> > Hi Folks,
> > 
> > I'm running squid 3.5.14 on slackware linux 64 bit (compiled from source).
> > When users connect to http://www.oggi.it/global_assets/js/plugins.js?v=1.6 squid crash with the following message:
> > 
> > assertion failed: String.cc:174: "len_ + len < 65536"
> 
> I can reproduce this.
> Creating a backtrace...

2016/02/23 17:10:17| ctx: enter level  0: 'http://www.oggi.it/global_assets/js/plugins.js?v=1.6'
2016/02/23 17:10:17| assertion failed: String.cc:174: "len_ + len < 65536"

[root at proxy-cbf-1] /etc/service/squid3# gdb /usr/sbin/squid core.50478

...

Core was generated by /usr/sbin/squid -NsYC'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007ffff62e0cc9 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007ffff62e0cc9 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff62e40d8 in __GI_abort () at abort.c:89
#2  0x000000000055609f in xassert (msg=<optimized out>, file=<optimized out>, line=<optimized out>) at debug.cc:544
#3  0x000000000062e957 in String::append (this=this at entry=0xba4990 <httpMakeVaryMark(HttpRequest*, HttpReply const*)::vstr>, str=str at entry=0xc80c620 "x-rcs-cookiepolicy", len=18) at String.cc:174
#4  0x000000000062eea5 in strListAdd (str=str at entry=0xba4990 <httpMakeVaryMark(HttpRequest*, HttpReply const*)::vstr>, item=item at entry=0xc80c620 "x-rcs-cookiepolicy", del=del at entry=44 ',') at StrList.cc:27
#5  0x00000000005acdfe in httpMakeVaryMark (request=0xd3e3de0, reply=reply at entry=0xcbe2530) at http.cc:603
#6  0x00000000005ad1ec in HttpStateData::haveParsedReplyHeaders (this=0xa54abb8) at http.cc:920
#7  0x000000000078d4d1 in Client::setFinalReply (this=this at entry=0xa54abb8, rep=rep at entry=0xcbe2530) at Client.cc:155
#8  0x000000000078d79a in Client::handleAdaptedHeader (this=0xa54abb8, msg=<optimized out>) at Client.cc:706
#9  0x00000000007c97d9 in JobDialer<Adaptation::Initiator>::dial (this=0xd46af00, call=...) at ../../src/base/AsyncJobCalls.h:174 #10 0x00000000006f6471 in AsyncCall::make (this=0xd46aed0) at AsyncCall.cc:40
#11 0x00000000006fa815 in AsyncCallQueue::fireNext (this=this at entry=0xdcb010) at AsyncCallQueue.cc:56 
#12 0x00000000006fac70 in AsyncCallQueue::fire (this=0xdcb010) at AsyncCallQueue.cc:42
#13 0x0000000000576c41 in dispatchCalls (this=0x7fffffffeae0) at EventLoop.cc:143
#14 EventLoop::runOnce (this=this at entry=0x7fffffffeae0) at EventLoop.cc:120
#15 0x0000000000576e30 in EventLoop::run (this=this at entry=0x7fffffffeae0) at EventLoop.cc:82
#16 0x00000000005e6008 in SquidMain (argc=<optimized out>, argv=<optimized out>) at main.cc:1539
#17 0x00000000004df58d in SquidMainSafe (argv=<optimized out>, argc=<optimized out>) at main.cc:1263
#18 main (argc=<optimized out>, argv=<optimized out>) at main.cc:1256
(gdb) 

-- 
Ralf Hildebrandt                   Charite Universitätsmedizin Berlin
ralf.hildebrandt at charite.de        Campus Benjamin Franklin
http://www.charite.de              Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155


More information about the squid-users mailing list