[Varnish] #872: Assert error in VGZ_Destroy()
Varnish
varnish-bugs at varnish-cache.org
Tue Mar 15 10:25:59 CET 2011
#872: Assert error in VGZ_Destroy()
--------------------+-------------------------------------------------------
Reporter: perbu | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: build | Version: trunk
Severity: normal | Keywords:
--------------------+-------------------------------------------------------
Description changed by perbu:
Old description:
> On fresh trunk code (6cd23c2).
>
> www.varnish-cache.org/login is crashing varnish. I don't think this
> happended earlier. Might be because we're now ESI-processing everything
> that is "text/*". Anyway, here is an assert.
> {{{
> Mar 14 11:11:15 odd varnishd[17252]: Child (25776) died signal=6
> Mar 14 11:11:15 odd varnishd[17252]: Child (25776) Panic message: Assert
> error in VGZ_Destroy(), cache_gzip.c line 387:
> Condition((deflateEnd(&vg->vz)) == 0) not true.
> thread = (cache-worker)
> ident = Linux,2.6.32-28-generic,x86_64,-sfile,-smalloc,-hcritbit,epoll
> Backtrace:
> 0x42cb18: pan_ic+b8
> 0x423085: VGZ_Destroy+135
> 0x41b4ce: vfp_esi_end+16e
> 0x421b11: FetchBody+291
> 0x4161c2: cnt_fetch+702
> 0x4178b5: CNT_Session+345
> 0x42e2d8: wrk_do_cnt_sess+b8
> 0x42e759: wrk_thread_real+409
> 0x7f0fa09239ca: _end+7f0fa02ac7b2
> 0x7f0fa068070d: _end+7f0fa00094f5
> sp = 0x7f0f55303008 {
> fd = 16, id = 16, xid = 583115844,
> client = XX.238.35.17 44993,
> step = STP_FETCH,
> handling = deliver,
> err_code = 302, err_reason = (null),
> restarts = 0, esi_level = 0
> ws = 0x7f0f55303080 {
> id = "sess",
> {s,f,r,e} = {0x7f0f55303cf0,+1048,(nil),+65536},
> },
> http[req] = {
> ws = 0x7f0f55303080[sess]
> "GET",
> "/trac/login",
> "HTTP/1.1",
> "Host: www.varnish-cache.org",
> "User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)",
> "Accept:
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
> "Accept-Language: en-us,en;q=0.5",
> "Accept-Encoding: gzip,deflate",
> "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7",
> "Keep-Alive: 300",
> "Referer: http://www.varnish-
> cache.org/trac/attachment/wiki/VCLExamples/varnish_vcl.pdf",
> "DNT: 1",
> "Connection: keep-alive",
> "Authorization: Basic a3d5OmVsaXRlcGlsb3Q=",
> "X-Forwarded-For: XX.238.35.17",
> "Cookie: trac_form_token=a37857f8a86982568d228037;
> trac_session=dff0c9e82d61c90bf66255a1",
> },
> worker = 0x7f0f54afdb80 {
> ws = 0x7f0f54afdd10 {
> id = "wrk",
> {s,f,r,e} = {0x7f0f54aebb10,+896,(nil),+65536},
> },
> http[bereq] = {
> ws = 0x7f0f54afdd10[wrk]
> "GET",
> "/trac/login",
>
> Mar 14 11:11:15 odd varnishd[17252]: Child cleanup complete
> Mar 14 11:11:15 odd varnishd[17252]: child (26241) Started
> Mar 14 11:11:15 odd varnishd[17252]: Child (26241) said Child starts
> Mar 14 11:11:15 odd varnishd[17252]: Child (26241) said SMF.s0 mmap'ed
> 1073741824 bytes of 1073741824
> Mar 14 11:11:18 odd varnishd[17252]: Child (26241) said WARNING at 17397
> ESI 1.0 <esi:include> lacks final '/'
> Mar 14 11:11:18 odd varnishd[17252]: Child (26241) said ERROR at 17403
> ESI 1.0 </esi:include> illegal end-tag
> }}}
New description:
On fresh trunk code (6cd23c2).
www.varnish-cache.org/login is crashing varnish. I don't think this
happended earlier. Might be because we're now ESI-processing everything
that is "text/*". Anyway, here is an assert.
{{{
Mar 14 11:11:15 odd varnishd[17252]: Child (25776) died signal=6
Mar 14 11:11:15 odd varnishd[17252]: Child (25776) Panic message: Assert
error in VGZ_Destroy(), cache_gzip.c line 387:
Condition((deflateEnd(&vg->vz)) == 0) not true.
thread = (cache-worker)
ident = Linux,2.6.32-28-generic,x86_64,-sfile,-smalloc,-hcritbit,epoll
Backtrace:
0x42cb18: pan_ic+b8
0x423085: VGZ_Destroy+135
0x41b4ce: vfp_esi_end+16e
0x421b11: FetchBody+291
0x4161c2: cnt_fetch+702
0x4178b5: CNT_Session+345
0x42e2d8: wrk_do_cnt_sess+b8
0x42e759: wrk_thread_real+409
0x7f0fa09239ca: _end+7f0fa02ac7b2
0x7f0fa068070d: _end+7f0fa00094f5
sp = 0x7f0f55303008 {
fd = 16, id = 16, xid = 583115844,
client = XX.238.35.17 44993,
step = STP_FETCH,
handling = deliver,
err_code = 302, err_reason = (null),
restarts = 0, esi_level = 0
ws = 0x7f0f55303080 {
id = "sess",
{s,f,r,e} = {0x7f0f55303cf0,+1048,(nil),+65536},
},
http[req] = {
ws = 0x7f0f55303080[sess]
"GET",
"/trac/login",
"HTTP/1.1",
"Host: www.varnish-cache.org",
"User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)",
"Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"Accept-Language: en-us,en;q=0.5",
"Accept-Encoding: gzip,deflate",
"Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7",
"Keep-Alive: 300",
"Referer: http://www.varnish-
cache.org/trac/attachment/wiki/VCLExamples/varnish_vcl.pdf",
"DNT: 1",
"Connection: keep-alive",
"X-Forwarded-For: XX.238.35.17",
},
worker = 0x7f0f54afdb80 {
ws = 0x7f0f54afdd10 {
id = "wrk",
{s,f,r,e} = {0x7f0f54aebb10,+896,(nil),+65536},
},
http[bereq] = {
ws = 0x7f0f54afdd10[wrk]
"GET",
"/trac/login",
Mar 14 11:11:15 odd varnishd[17252]: Child cleanup complete
Mar 14 11:11:15 odd varnishd[17252]: child (26241) Started
Mar 14 11:11:15 odd varnishd[17252]: Child (26241) said Child starts
Mar 14 11:11:15 odd varnishd[17252]: Child (26241) said SMF.s0 mmap'ed
1073741824 bytes of 1073741824
Mar 14 11:11:18 odd varnishd[17252]: Child (26241) said WARNING at 17397
ESI 1.0 <esi:include> lacks final '/'
Mar 14 11:11:18 odd varnishd[17252]: Child (26241) said ERROR at 17403 ESI
1.0 </esi:include> illegal end-tag
}}}
--
--
Ticket URL: <http://www.varnish-cache.org/trac/ticket/872#comment:5>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list