[Varnish] #1356: cache/cache_http1_fsm.c:498: Wrong req_body_status in HTTP1_IterateReqBody()
Varnish
varnish-bugs at varnish-cache.org
Sat Oct 12 13:39:50 CEST 2013
#1356: cache/cache_http1_fsm.c:498: Wrong req_body_status in
HTTP1_IterateReqBody()
----------------------+-------------------
Reporter: lkarsten | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Keywords:
----------------------+-------------------
Found an assert in current master. (a44b3a8)
This is running on live traffic. Client is some sort of crawler/bot, the
resource POSTed to is/would be 404.
VCL is basic, filter google analytics cookies, run devicedetect.vcl, log
via std.log(). No restarts.
{{{
Last panic at: Thu, 10 Oct 2013 23:12:57 GMT
Wrong turn at cache/cache_http1_fsm.c:498:
Wrong req_body_status in HTTP1_IterateReqBody()
errno = 32 (Broken pipe)
thread = (cache-worker)
ident = Linux,3.2.0-4-amd64,x86_64,-smalloc,-smalloc,-hcritbit,epoll
Backtrace:
0x4388e5: sess_close_2str+10f2
0x438bef: sess_close_2str+13fc
0x4326f3: HTTP1_IterateReqBody+1b7
0x4328f3: HTTP1_DiscardReqBody+48
0x43c3de: Pool_Init+150e
0x43e987: CNT_Request+4ef
0x4321cd: HTTP1_Session+427
0x441204: SES_Charge+752
0x44142c: SES_Charge+97a
0x441865: SES_pool_accept_task+201
req = 0x1dfd690 {
sp = 0x1e6d2a0, vxid = 1074314613, step = R_STP_FETCH,
req_body = R_BODY_FAIL,
restarts = 0, esi_level = 0
sp = 0x1e6d2a0 {
fd = 15, vxid = 572788,
client = 188.44.39.75 51259,
step = S_STP_WORKING,
},
worker = 0x7f7dc42dec60 {
ws = 0x7f7dc42dee58 {
id = "wrk",
{s,f,r,e} = {0x7f7dc42de440,0x7f7dc42de440,(nil),+2048},
},
VCL::method = 0x0,
VCL::return = fetch,
},
ws = 0x1dfd818 {
id = "req",
{s,f,r,e} = {0x1dfee70,+2648,(nil),+59424},
},
http[req] = {
ws = 0x1dfd818[req]
"POST",
"/index.php?option=com_jce&task=plugin&plugin=imgmanager&file=imgmanager&method=form&cid=20&6bc427c8a7981f4fe1f5ac65c1246b5f=cf6dd3cf1923c950586d0dd595c8e20b",
"HTTP/1.1",
"Host: hyse.org",
"User-Agent: BOT/0.1 (BOT for JCE)",
"Content-Type: multipart/form-data;
boundary=---------------------------41184676334",
"Content-Length: 4567",
"X-UA-Device: bot",
"X-Forwarded-For: 188.44.39.75",
},
vcl = {
srcname = {
"input",
"Default",
"/etc/varnish/varnish-devicedetect/devicedetect.vcl",
},
},
},
}}}
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1356>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list