[Varnish] #885: startup crash
Varnish
varnish-bugs at varnish-cache.org
Wed Mar 30 12:15:49 CEST 2011
#885: startup crash
--------------------+-------------------------------------------------------
Reporter: perbu | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: build | Version: trunk
Severity: normal | Keywords:
--------------------+-------------------------------------------------------
Just started varnishd with fresh source
(2e3b5a5d3256f2f917019bd3b8c4253c0e0a0d1f)
cmd line:
{{{
./varnishd -P /var/run/varnishd.pid -a :80 -T localhost:6082 -f
/etc/varnish/default-3.0.vcl -S /etc/varnish/secret -p cli_timeout=60 -p
http_gzip_support=on -p esi_syntax=0x00000001 -s
file,/var/lib/varnish/odd/varnish_storage.bin,1G -p ban_lurker_sleep=1
}}}
It crashed right away:
{{{
Last panic at: Wed, 30 Mar 2011 10:13:05 GMT
Assert error in VGZ_Gunzip(), cache_gzip.c line 292:
Condition((vg->vz.avail_out) != 0) not true.
thread = (cache-worker)
ident = Linux,2.6.32-30-generic,x86_64,-sfile,-smalloc,-hcritbit,epoll
Backtrace:
0x42cca8: pan_ic+b8
0x423895: VGZ_Gunzip+e5
0x423e80: VGZ_WrwGunzip+a0
0x42f4f7: res_WriteGunzipObj+167
0x42f723: RES_WriteObj+153
0x416b70: cnt_deliver+230
0x4179fd: CNT_Session+2ed
0x42e468: wrk_do_cnt_sess+b8
0x42e8f1: wrk_thread_real+411
0x7fde6dec79ca: _end+7fde6d84f752
sp = 0x7fde22303008 {
fd = 12, id = 12, xid = 917869269,
client = 89.150.191.204 39891,
step = STP_DELIVER,
handling = deliver,
err_code = 200, err_reason = (null),
restarts = 0, esi_level = 0
ws = 0x7fde22303080 {
id = "sess",
{s,f,r,e} = {0x7fde22303cf0,+392,(nil),+65536},
},
http[req] = {
ws = 0x7fde22303080[sess]
"GET",
"/rss.xml",
"HTTP/1.1",
"User-Agent: Java/1.6.0_24",
"Host: www.varnish-cache.org",
"Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2",
"Connection: keep-alive",
"If-Modified-Since: Wed, 30 Mar 2011 07:12:43 GMT",
"X-Forwarded-For: 89.150.191.204, 89.150.191.204",
},
worker = 0x7fde1eaf7b70 {
ws = 0x7fde1eaf7d10 {
id = "wrk",
{s,f,r,e} = {0x7fde1eae5b00,+2680,(nil),+65536},
},
http[resp] = {
ws = 0x7fde1eaf7d10[wrk]
"HTTP/1.1",
"200",
"OK",
"Server: Apache/2.2.14 (Ubuntu)",
"X-Powered-By: PHP/5.3.2-1ubuntu4.7",
"Cache-Control: public, max-age=43200",
"Last-Modified: Wed, 30 Mar 2011 10:13:05 +0000",
"Expires: Sun, 11 Mar 1984 12:00:00 GMT",
"Vary: Cookie,Accept-Encoding",
"ETag: "1301479985"",
"Content-Type: application/rss+xml; charset=utf-8",
"X-ESI: off",
"Transfer-Encoding: chunked",
"Date: Wed, 30 Mar 2011 10:13:05 GMT",
"X-Varnish: 917869269",
"Age: 0",
"Via: 1.1 varnish",
"Connection: keep-alive",
},
},
vcl = {
srcname = {
"input",
"Default",
},
},
obj = 0x7fde44700000 {
xid = 917869269,
ws = 0x7fde44700018 {
id = "obj",
{s,f,r,e} = {0x7fde44700280,+472,(nil),+504},
},
http[obj] = {
ws = 0x7fde44700018[obj]
"HTTP/1.1",
"OK",
"Date: Wed, 30 Mar 2011 10:13:05 GMT",
"Server: Apache/2.2.14 (Ubuntu)",
"X-Powered-By: PHP/5.3.2-1ubuntu4.7",
"Cache-Control: public, max-age=43200",
"Last-Modified: Wed, 30 Mar 2011 10:13:05 +0000",
"Expires: Sun, 11 Mar 1984 12:00:00 GMT",
vcl = {
srcname = {
"input",
"Default",
},
},
obj = 0x7fde44700000 {
xid = 917869269,
ws = 0x7fde44700018 {
id = "obj",
{s,f,r,e} = {0x7fde44700280,+472,(nil),+504},
},
http[obj] = {
ws = 0x7fde44700018[obj]
"HTTP/1.1",
"OK",
"Date: Wed, 30 Mar 2011 10:13:05 GMT",
"Server: Apache/2.2.14 (Ubuntu)",
"X-Powered-By: PHP/5.3.2-1ubuntu4.7",
"Cache-Control: public, max-age=43200",
"Last-Modified: Wed, 30 Mar 2011 10:13:05 +0000",
"Expires: Sun, 11 Mar 1984 12:00:00 GMT",
"Vary: Cookie,Accept-Encoding",
"ETag: "1301479985"",
"Content-Encoding: gzip",
"Content-Type: application/rss+xml; charset=utf-8",
"X-ESI: off",
"Content-Length: 2083",
},
len = 2083,
store = {
2083 {
1f 8b 08 00 00 00 00 00 00 03 e5 5a db 6e dc 46 |...........Z.n.F|
12 7d f6 00 f9 87 82 16 f0 cb 7a c8 b9 48 b1 3d |.}........z..H.=|
96 15 d8 56 02 7b 11 5f b0 72 2e 6f 41 93 2c 0e |...V.{._.r.oA.,.|
db 22 bb e9 be 68 3c f9 fa 3d dd 24 75 89 35 e3 |."...h<..=.$u.5.|
[2019 more]
},
},
},
},
}}}
--
Ticket URL: <http://www.varnish-cache.org/trac/ticket/885>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list