[Varnish] #1185: Assert error in VRT_IP_string(), cache/cache_vrt.c line 313
Varnish
varnish-bugs at varnish-cache.org
Thu Aug 9 09:57:20 CEST 2012
#1185: Assert error in VRT_IP_string(), cache/cache_vrt.c line 313
----------------------+-------------------
Reporter: kristian | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: build | Version: 3.0.0
Severity: normal | Keywords:
----------------------+-------------------
Running trunk (as of aug 9, 2012) with the following settings:
{{{
$ varnishd -d -n /tmp/trunkTMP -a :8081 -b kly.no
}}}
I consistently get assert errors when I throw traffic at it. This only
happens when I throw some moderate amount of requests over the same
connection. The current example uses 502 GET requests and the assert is:
{{{
Child (8080) Panic message: Assert error in VRT_IP_string(),
cache/cache_vrt.c line 313:
Condition((p = WS_Alloc(req->http->ws, len)) != 0) not true.
thread = (cache-worker)
ident = Linux,2.6.38-15-generic-pae,i686,-sfile,-smalloc,-hcritbit,epoll
Backtrace:
0x80762d2: varnishd() [0x80762d2]
0x8085ca0: varnishd(VRT_IP_string+0x1f0) [0x8085ca0]
0xa41e3c2c: ./vcl.Qs1KMLyU.so(+0xc2c) [0xa41e3c2c]
0x808349f: varnishd(VCL_recv_method+0xef) [0x808349f]
0x807bed5: varnishd(CNT_Request+0x1ba5) [0x807bed5]
0x8072974: varnishd(HTTP1_Session+0x724) [0x8072974]
0x807e9e0: varnishd() [0x807e9e0]
0x8080035: varnishd(SES_pool_accept_task+0x315) [0x8080035]
0x8078b24: varnishd(Pool_Work_Thread+0x194) [0x8078b24]
0x808d540: varnishd() [0x808d540]
req = 0xa302e018 {
sp = 0xa2f02418, xid = 1864913370, step = R_STP_RECV,
handling = deliver,
restarts = 0, esi_level = 0
sp = 0xa2f02418 {
fd = 14, id = 14,
client = 127.0.0.1 45386,
step = S_STP_WORKING,
},
worker = 0xa32c11bc {
ws = 0xa32c1348 {
id = "wrk",
{s,f,r,e} = {0xa32c0990,0xa32c0990,(nil),+2048},
},
},
ws = 0xa302e114 { overflow
id = "req",
{s,f,r,e} = {0xa302f0b4,+12132,(nil),+12132},
},
http[req] = {
ws = 0xa302e114[req]
"GET",
"/tomfil",
"HTTP/1.1",
"Host: localhost:8081",
},
vcl = {
srcname = {
"input",
"Default",
},
},
},
}}}
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1185>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list