[Varnish] #1037: Assert in VGZ_Destroy
Varnish
varnish-bugs at varnish-cache.org
Mon Oct 24 13:47:07 CEST 2011
#1037: Assert in VGZ_Destroy
----------------------+-----------------------------------------------------
Reporter: scoof | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
While trying to figure out what triggered #1036, I triggered this assert:
{{{
Last panic at: Mon, 24 Oct 2011 11:19:05 GMT
Assert error in VGZ_Destroy(), cache_gzip.c line 426:
Condition((deflateEnd(&vg->vz)) == 0) not true.
thread = (cache-worker)
ident = Linux,3.0.0-1-amd64,x86_64,-smalloc,-smalloc,-hcritbit,epoll
Backtrace:
0x42f2d5: pan_ic+d5
0x425c50: VGZ_Destroy+140
0x41dc71: vfp_esi_end+171
0x423f5f: FetchBody+88f
0x415aa8: cnt_fetchbody+5b8
0x417865: CNT_Session+905
0x430cfd: Pool_Work_Thread+1bd
0x43fca2: wrk_thread_real+202
0x7f0ac00b2b40: _end+7f0abfa32e10
0x7f0abfdfd36d: _end+7f0abf77d63d
sp = 0x7f0aafb02040 {
fd = 14, id = 14, xid = 1795924191,
client = 127.0.0.1 50335,
step = STP_FETCHBODY,
handling = deliver,
err_code = 200, err_reason = (null),
restarts = 0, esi_level = 0
flags = do_esi is_gzip
bodystatus = 3
ws = 0x7f0aafb021a8 {
id = "sess",
{s,f,r,e} = {0x7f0aafb02c48,+192,(nil),+65536},
},
http[req] = {
ws = 0x7f0aafb021a8[sess]
"GET",
"/esi.html?1",
"HTTP/1.1",
"User-Agent: Wget/1.13 (linux-gnu)",
"Accept: */*",
"Host: localhost",
"Connection: Keep-Alive",
"X-Forwarded-For: 127.0.0.1",
},
worker = 0x7f0ab04eda20 {
ws = 0x7f0ab04edcf0 {
id = "wrk",
{s,f,r,e} = {0x7f0ab04db9d0,+8744,(nil),+65536},
},
http[bereq] = {
ws = 0x7f0ab04edcf0[wrk]
"GET",
"/esi.html?1",
"HTTP/1.1",
"User-Agent: Wget/1.13 (linux-gnu)",
"Accept: */*",
"Host: localhost",
"X-Forwarded-For: 127.0.0.1",
"X-Varnish: 1795924191",
"Accept-Encoding: gzip",
},
http[beresp] = {
ws = 0x7f0ab04edcf0[wrk]
"HTTP/1.1",
"200",
"OK",
"Date: Mon, 24 Oct 2011 11:19:05 GMT",
"Server: Apache/2.2.21 (Debian)",
"Last-Modified: Mon, 24 Oct 2011 11:19:01 GMT",
"ETag: "8807fe-100021-4b00997054d78"",
"Accept-Ranges: bytes",
"Vary: Accept-Encoding",
"Content-Encoding: gzip",
"Transfer-Encoding: chunked",
"Content-Type: text/html",
},
},
vcl = {
srcname = {
"input",
"Default",
},
},
obj = 0x7f0aaf3b3000 {
xid = 1795924191,
ws = 0x7f0aaf3b3018 {
id = "obj",
{s,f,r,e} = {0x7f0aaf3b3200,+280,(nil),+336},
},
http[obj] = {
ws = 0x7f0aaf3b3018[obj]
"HTTP/1.1",
"OK",
"Date: Mon, 24 Oct 2011 11:19:05 GMT",
"Server: Apache/2.2.21 (Debian)",
"Last-Modified: Mon, 24 Oct 2011 11:19:01 GMT",
"ETag: "8807fe-100021-4b00997054d78"",
"Vary: Accept-Encoding",
"Content-Encoding: gzip",
"Content-Type: text/html",
},
len = 131072,
store = {
131072 {
1f 8b 08 00 00 00 00 00 00 03 02 00 00 00 ff ff |................|
b2 49 2d ce b4 ca cc 4b ce 29 4d 49 55 28 2e 4a |.I-....K.)MIU(.J|
b6 55 d7 07 8a 18 e9 65 94 e4 e6 a8 2b e8 db 01 |.U.....e....+...|
00 00 00 ff ff 00 0d 40 f2 bf 0a a3 5f 15 87 e2 |....... at ...._...|
[131008 more]
},
},
},
},
}}}
The assert occured right after I enabled mod_deflate on the backend. I've
been unable to reproduce it.
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1037>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list