[Varnish] #994: Assert error in http_GetHdr(), cache_http.c
Varnish
varnish-bugs at varnish-cache.org
Tue Aug 30 16:36:28 CEST 2011
#994: Assert error in http_GetHdr(), cache_http.c
---------------------+------------------------------------------------------
Reporter: pmialon | Type: defect
Status: new | Priority: normal
Milestone: | Component: varnishd
Version: trunk | Severity: blocker
Keywords: |
---------------------+------------------------------------------------------
Comment(by pmialon):
The panic message followed by the relevant varnishlog lines.
{{{
Aug 30 12:56:12 cloud3 varnishd[19294]: Child (19295) Panic message:
Assert error in http_GetHdr(), cache_http.c line 266:
Condition(l == strlen(hdr + 1)) not true.
errno = 32 (Broken pipe)
thread = (cache-worker)
ident = Linux,2.6.32-5-amd64,x86_64,-sfile,-smalloc,-hcritbit,epoll
Backtrace:
0x437201: pan_backtrace+19
0x4374d6: pan_ic+1ad
0x430d57: http_GetHdr+67
0x43e69a: VRY_Match+ac
0x42e37d: HSH_Lookup+657
0x41b302: cnt_lookup+230
0x41d11c: CNT_Session+66d
0x4391d8: wrk_do_cnt_sess+130
0x438a40: wrk_thread_real+897
0x438e3a: wrk_thread+12a
sp = 0x7ec5fea8a008 {
fd = 4, id = 4, xid = 571229089,
client = 127.0.0.1 27205,
step = STP_LOOKUP,
handling = hash,
restarts = 0, esi_level = 0
flags =
bodystatus = 4
ws = 0x7ec5fea8a080 {
id = "sess",
{s,f,r,e} = {0x7ec5fea8acc8,+3792,+262144,+262144},
},
http[req] = {
ws = 0x7ec5fea8a080[sess]
"GET",
"/searchkw/xml/?_q%5B0%5D=%28norton%7Bw%3D1%7D+atlas%7Bw%3D1%7D+motorcycle%7Bw%3D1%7D+parts%7Bw%3D1%7D%29+-category%3Aall+country%3AUS+%28category%3Amotorbikes%29+querywords%3E%3D2+querywords%3C%3D6&_q%5B1%5D=%28norton%7Bw%3D1%7D+atlas%7Bw%3D1%7D%29+OPT%28motorcycle+OR+parts%29+-category%3Aall+country%3AUS+%28category%3Amotorbikes%29+querywords%3E%3D2+querywords%3C%3D5&_q%5B2%5D=OPT%28norton+OR+atlas+OR+motorcycle+OR+parts%29+-category%3Aall+country%3AUS+%28category%3Amotorbikes%29+querywords%3E%3D2+querywords%3C%3D5&_q%5B3%5D=OPT%28norton+OR+atlas+OR+motorcycle+OR+parts%29+-category%3Aall+country%3ACA+%28category%3Amotorbikes%29+querywords%3E%3D2&_vn%5B0%5D=defaultkw_new&_vn%5B1%5D=defaultkw_new&_vn%5B2%5D=defaultkw_new&_vn%5B3%5D=seo_keywords_round_new&_cc%5B0%5D=US&_cc%5B1%5D=US&_cc%5B2%5D=US&_cc%5B3%5D=CA&_comp=gzip&_fmt=JSON&_hashq%5B1%5D=1&_hashq%5B2%5D=1&_hashq%5B3%5D=1&_hstart%5B2%5D=1",
"HTTP/1.1",
"Connection: Close",
"X-URL:
/searchkw/xml/?_q%5B0%5D=%28norton%7Bw%3D1%7D+atlas%7Bw%3D1%7D+motorcycle%7Bw%3D1%7D+parts%7Bw%3D1%7D%29+-category%3Aall+country%3AUS+%28category%3Amotorbikes%29+querywords%3E%3D2+querywords%3C%3D6&_q%5B1%5D=%28norton%7Bw%3D1%7D+atlas%7Bw%3D1%7D%29+OPT%28motorcycle+OR+parts%29+-category%3Aall+country%3AUS+%28category%3Amotorbikes%29+querywords%3E%3D2+querywords%3C%3D5&_q%5B2%5D=OPT%28norton+OR+atlas+OR+motorcycle+OR+parts%29+-category%3Aall+country%3AUS+%28category%3Amotorbikes%29+querywords%3E%3D2+querywords%3C%3D5&_q%5B3%5D=OPT%28norton+OR+atlas+OR+motorcycle+OR+parts%29+-category%3Aall+country%3ACA+%28category%3Amotorbikes%29+querywords%3E%3D2&_vn%5B0%5D=defaultkw_new&_vn%5B1%5D=defaultkw_new&_vn%5B2%5D=defaultkw_new&_vn%5B3%5D=seo_keywords_round_new&_cc%5B0%5D=US&_cc%5B1%5D=US&_cc%5B2%5D=US&_cc%5B3%5D=CA&_comp=gzip&_fmt=JSON&_hashq%5B1%5D=1&_hashq%5B2%5D=1&_hashq%5B3%5D=1&_hstart%5B2%5D=1&ttls=672",
},
worker = 0x7ec70f4fbb70 {
ws = 0x7ec70f4fbd18 {
id = "wrk",
{s,f,r,e} = {0x7ec70f4e9ac0,0x7ec70f4e9ac0,(nil),+65536},
},
},
vcl = {
srcname = {
"input",
"Default",
},
},
},
}}}
{{{
4 SessionOpen c 192.168.131.59 33558 :80
4 ReqStart c 192.168.131.59 33558 571229087
4 RxRequest c POST
4 RxURL c
/searchkw/xml/?_q%5B0%5D=%28norton%7Bw%3D1%7D+atlas%7Bw%3D1%7D+motorcycle%7Bw%3D1%7D+parts%7Bw%3D1%7D%29+-category%3Aall+country%3AUS+%28category%3Amotorbikes%29+querywords%3E%3D2+querywords%3C%3D6&_q%5B1%5D=%28norton%7Bw%3D1%7D+atlas%7Bw%3D1%7D%29+OPT%28
4 RxProtocol c HTTP/1.1
4 RxHeader c Host: cloud3
4 RxHeader c Accept: */*
4 RxHeader c Accept-Encoding: identity
4 RxHeader c Content-Length: 0
4 RxHeader c Content-Type: application/x-www-form-urlencoded
4 VCL_call c recv lookup
4 VCL_call c hash
4 Hash c
/searchkw/xml/?_q%5B0%5D=%28norton%7Bw%3D1%7D+atlas%7Bw%3D1%7D+motorcycle%7Bw%3D1%7D+parts%7Bw%3D1%7D%29+-category%3Aall+country%3AUS+%28category%3Amotorbikes%29+querywords%3E%3D2+querywords%3C%3D6&_q%5B1%5D=%28norton%7Bw%3D1%7D+atlas%7Bw%3D1%7D%29+OPT%2
4 VCL_return c hash
4 VCL_call c miss error
4 VCL_call c error deliver
4 VCL_call c deliver deliver
4 TxProtocol c HTTP/1.1
4 TxStatus c 407
4 TxResponse c Delayed fetch
4 TxHeader c Server: Varnish
4 TxHeader c Content-Length: 0
4 TxHeader c Accept-Ranges: bytes
4 TxHeader c Date: Tue, 30 Aug 2011 10:56:11 GMT
4 TxHeader c Connection: close
4 Length c 0
4 ReqEnd c 571229087 1314701771.821617365 1314701771.822000980
0.000048399 0.000356197 0.000027418
4 SessionClose c error
4 StatSess c 192.168.131.59 33558 0 1 1 0 0 0 144 0
}}}
--
Ticket URL: <http://www.varnish-cache.org/trac/ticket/994#comment:3>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list