[Varnish] #725: Assert error in _vsb_assert_integrity(), vsb.c line 84
Varnish
varnish-bugs at varnish-cache.org
Thu Jun 17 16:14:47 CEST 2010
#725: Assert error in _vsb_assert_integrity(), vsb.c line 84
----------------------+-----------------------------------------------------
Reporter: anakin | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone: Varnish 2.1 release
Component: varnishd | Version: 2.1.0
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
I am getting two different panic messages when try to test the performance
of just written VCL code. Before these I was getting an assert error on
WS_Release, mentioned in different tickets and maked as fixed - that ended
after I removed line changing header value in vcl_hit (increasing
sess_workspace did nothing).
Now im getting two different panic messages, every time I try to run
multiple requests on Varnish.
{{{
Child (12510) Panic message: Assert error in _vsb_assert_integrity(),
vsb.c line 84:
Condition(s->s_magic == 0x4a82dd8a) not true.
thread = (cache-worker)
ident = Linux,2.6.18-6-xen-amd64,x86_64,-smalloc,-hcritbit,epoll
Backtrace:
0x422136: /usr/sbin/varnishd [0x422136]
0x2b31f37bfab3: /usr/lib/libvarnish.so.1 [0x2b31f37bfab3]
0x2b31f37bfdb3: /usr/lib/libvarnish.so.1(vsb_delete+0x13)
[0x2b31f37bfdb3]
0x43bf54: /usr/sbin/varnishd [0x43bf54]
0x41afaf: /usr/sbin/varnishd(HSH_Freestore+0x2f) [0x41afaf]
0x43bfd7: /usr/sbin/varnishd(SMS_Makesynth+0x47) [0x43bfd7]
0x428da5: /usr/sbin/varnishd(VRT_synth_page+0xa5) [0x428da5]
0x2aaaaad03405: ./vcl.1P9zoqAU.so [0x2aaaaad03405]
0x2aaaaad04bbf: ./vcl.1P9zoqAU.so [0x2aaaaad04bbf]
0x426726: /usr/sbin/varnishd(VCL_deliver_method+0x46) [0x426726]
sp = 0x2aaaab408008 {
fd = 14, id = 14, xid = 1732731011,
client = 10.1.12.134:36792,
step = STP_DELIVER,
handling = deliver,
restarts = 0, esis = 0
ws = 0x2aaaab408078 {
id = "sess",
{s,f,r,e} = {0x2aaaab409510,+246,(nil),+131072},
},
http[req] = {
ws = 0x2aaaab408078[sess]
"GET",
"/1",
"HTTP/1.0",
"User-Agent: ApacheBench/2.0.40-dev",
"Host: uc1.avatars.pl",
"Accept: */*",
"_request_type: user_avatar",
"_request_state: object_lookup",
"X-Avatar-Size: small",
"X-Avatar-Id: 0",
"X-Avatar-Type: user",
},
worker = 0x4600ae80 {
ws = 0x4600afe8 {
id = "wrk",
{s,f,r,e} = {0x45fe8e30,+94,(nil),+131072},
},
},
vcl = {
srcname = {
"input",
"Default",
"/etc/varnish/conf-enabled/000-backend.avatars2.vcl",
"/etc/varnish/conf-enabled/000-initialize.avatars2.vcl",
"/etc/varnish/conf-enabled/010-error-handler.avatars2.vcl",
"/etc/varnish/conf-enabled/100-common.avatars2.vcl",
"/etc/varnish/conf-enabled/110-router.avatars2.vcl",
"/etc/varnish/conf-enabled/200-user-
avatar.application.avatars2.vcl",
"/etc/varnish/conf-enabled/800-error-handler.avatars2.vcl",
"/etc/varnish/conf-enabled/810-protocol-cleanup.avatars2.vcl",
"/etc/varnish/conf-enabled/900-dummy.avatars2.vcl",
},
},
obj = 0x2b31f4d1b000 {
xid = 1732730854,
ws = 0x2b31f4d1b020 {
id = "obj",
{s,f,r,e} = {0x2b31f4d1b25a,+335,(nil),+347},
},
http[obj] = {
ws = 0x2b31f4d1b020[obj]
"HTTP/1.1",
"404",
"Not Found",
"X-Powered-By: PHP/5.2.9",
"Cache-Control: public, max-age=86400, must-revalidate",
"Expires: Thu, 17 Jun 2010 15:05:34 GMT",
"Last-Modified: Thu, 17 Jun 2010 14:05:34 GMT",
"X-Error: 2",
"Content-type: text/html",
"Date: Thu, 17 Jun 2010 14:05:34 GMT",
"Server: lighttpd/1.4.19",
"X-Cache: miss",
"X-Status: 404",
},
len = 0,
store = {
0 {
},
},
},
},
Child cleanup complete
}}}
{{{
Child (12900) Panic message: Assert error in _vsb_assert_state(), vsb.c
line 100:
Condition((s->s_flags & 0x00020000) == state) not true.
thread = (cache-worker)
ident = Linux,2.6.18-6-xen-amd64,x86_64,-smalloc,-hcritbit,epoll
Backtrace:
0x422136: /usr/sbin/varnishd [0x422136]
0x2b31f37bfbe4: /usr/lib/libvarnish.so.1(vsb_finish+0x24)
[0x2b31f37bfbe4]
0x43be12: /usr/sbin/varnishd(SMS_Finish+0x82) [0x43be12]
0x428e4b: /usr/sbin/varnishd(VRT_synth_page+0x14b) [0x428e4b]
0x2aaaaac03405: ./vcl.1P9zoqAU.so [0x2aaaaac03405]
0x2aaaaac04bbf: ./vcl.1P9zoqAU.so [0x2aaaaac04bbf]
0x426726: /usr/sbin/varnishd(VCL_deliver_method+0x46) [0x426726]
0x41318f: /usr/sbin/varnishd [0x41318f]
0x413ed3: /usr/sbin/varnishd(CNT_Session+0x373) [0x413ed3]
0x424538: /usr/sbin/varnishd [0x424538]
sp = 0x2aaaaab82008 {
fd = 12, id = 12, xid = 327947177,
client = 10.1.12.134:57507,
step = STP_DELIVER,
handling = deliver,
restarts = 0, esis = 0
ws = 0x2aaaaab82078 {
id = "sess",
{s,f,r,e} = {0x2aaaaab83510,+246,(nil),+131072},
},
http[req] = {
ws = 0x2aaaaab82078[sess]
"GET",
"/1",
"HTTP/1.0",
"User-Agent: ApacheBench/2.0.40-dev",
"Host: uc1.avatars.pl",
"Accept: */*",
"_request_type: user_avatar",
"_request_state: object_lookup",
"X-Avatar-Size: small",
"X-Avatar-Id: 0",
"X-Avatar-Type: user",
},
worker = 0x4800ee80 {
ws = 0x4800efe8 {
id = "wrk",
{s,f,r,e} = {0x47fece30,+92,(nil),+131072},
},
},
vcl = {
srcname = {
"input",
"Default",
"/etc/varnish/conf-enabled/000-backend.avatars2.vcl",
"/etc/varnish/conf-enabled/000-initialize.avatars2.vcl",
"/etc/varnish/conf-enabled/010-error-handler.avatars2.vcl",
"/etc/varnish/conf-enabled/100-common.avatars2.vcl",
"/etc/varnish/conf-enabled/110-router.avatars2.vcl",
"/etc/varnish/conf-enabled/200-user-
avatar.application.avatars2.vcl",
"/etc/varnish/conf-enabled/800-error-handler.avatars2.vcl",
"/etc/varnish/conf-enabled/810-protocol-cleanup.avatars2.vcl",
"/etc/varnish/conf-enabled/900-dummy.avatars2.vcl",
},
},
obj = 0x2b31f4d1b000 {
xid = 327946745,
ws = 0x2b31f4d1b020 {
id = "obj",
{s,f,r,e} = {0x2b31f4d1b25a,+335,(nil),+347},
},
http[obj] = {
ws = 0x2b31f4d1b020[obj]
"HTTP/1.1",
"404",
"Not Found",
"X-Powered-By: PHP/5.2.9",
"Cache-Control: public, max-age=86400, must-revalidate",
"Expires: Thu, 17 Jun 2010 15:08:16 GMT",
"Last-Modified: Thu, 17 Jun 2010 14:08:16 GMT",
"X-Error: 2",
"Content-type: text/html",
"Date: Thu, 17 Jun 2010 14:08:16 GMT",
"Server: lighttpd/1.4.19",
"X-Cache: miss",
"X-Status: 404",
},
len = 0,
store = {
0 {
},
},
},
},
Child cleanup complete
}}}
--
Ticket URL: <http://varnish-cache.org/ticket/725>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list