[Varnish] #929: Child panic (Assert error) using streaming on a recent git checkout
Varnish
varnish-bugs at varnish-cache.org
Wed Jun 1 12:10:26 CEST 2011
#929: Child panic (Assert error) using streaming on a recent git checkout
-------------------------+--------------------------------------------------
Reporter: andreacampi | Type: defect
Status: new | Priority: normal
Milestone: | Component: build
Version: trunk | Severity: normal
Keywords: |
-------------------------+--------------------------------------------------
{{{
Child (95485) Panic message: Assert error in res_WriteDirObj(),
cache_response.c line 330:
Condition(u == sp->obj->len) not true.
thread = (cache-worker)
ident = Darwin,10.7.0,i386,-smalloc,-smalloc,-hcritbit,poll
Backtrace:
0x1000251c5: 01 0000 BNSYM+c5
0x1000288ce: 01 0000 BNSYM+2fe
0x10000d554: 01 0000 BNSYM+4a4
0x1000272c7: 01 0000 BNSYM+e7
0x10002779f: 01 0000 BNSYM+44f
0x7fff88ed94f6: _vsm_end+7ffe88e6ceb6
0x7fff88ed93a9: _vsm_end+7ffe88e6cd69
sp = 0x10081fc08 {
fd = 7, id = 7, xid = 1692407524,
client = 127.0.0.1 61076,
step = STP_DELIVER,
handling = deliver,
restarts = 0, esi_level = 0
ws = 0x10081fc80 {
id = "sess",
{s,f,r,e} = {0x1008208e0,+224,0x0,+65536},
},
http[req] = {
ws = 0x10081fc80[sess]
"GET",
"/",
"HTTP/1.1",
"User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7
OpenSSL/0.9.8l zlib/1.2.3",
"Host: 0.0.0.0:8881",
"Accept: */*",
"X-Forwarded-For: 127.0.0.1",
},
worker = 0x106786bc0 {
ws = 0x106786d60 {
id = "wrk",
{s,f,r,e} = {0x106774b40,+120,0x0,+65536},
},
http[resp] = {
ws = 0x106786d60[wrk]
"HTTP/1.1",
"200",
"OK",
"Status: 200 OK",
"Cache-Control: no-cache",
"Content-Type: text/html; charset=utf-8",
"X-UA-Compatible: IE=Edge",
"X-Runtime: 0.036742",
"Content-Length: 402",
"Accept-Ranges: bytes",
"Date: Wed, 01 Jun 2011 10:02:09 GMT",
"X-Varnish: 1692407524 1692407523",
"Age: 8",
"Via: 1.1 varnish",
"Connection: keep-alive",
},
},
vcl = {
srcname = {
"input",
"Default",
},
},
obj = 0x107b00320 {
xid = 1692407523,
ws = 0x107b00338 {
id = "obj",
{s,f,r,e} = {0x107b00540,+224,0x0,+256},
},
http[obj] = {
ws = 0x107b00338[obj]
"HTTP/1.1",
"OK",
"Date: Wed, 01 Jun 2011 10:02:01 GMT",
"Status: 200 OK",
"Cache-Control: no-cache",
"Content-Type: text/html; charset=utf-8",
"X-UA-Compatible: IE=Edge",
"X-Runtime: 0.036742",
"Content-Length: 402",
},
len = 402,
store = {
},
},
},
}}}
This is the complete VCL:
{{{
backend default {
.host = "127.0.0.1";
.port = "3000";
}
sub vcl_fetch {
set beresp.do_stream = true;
}
}}}
Unpatched sources as of b2c617d7be6745d8ba0d96b190a1e99fdf1eafd1
--
Ticket URL: <http://varnish-cache.org/trac/ticket/929>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list