[Varnish] #421: Varnish crashes with Assert error in cnt_done, cache_center.c line 209

Varnish varnish-bugs at projects.linpro.no
Wed Jan 21 13:32:26 CET 2009


#421: Varnish crashes with Assert error in cnt_done, cache_center.c line 209
----------------------+-----------------------------------------------------
 Reporter:  anders    |        Owner:  phk
     Type:  defect    |       Status:  new
 Priority:  high      |    Milestone:     
Component:  varnishd  |      Version:  2.0
 Severity:  major     |   Resolution:     
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by anders):

 By using a backported version of your patch (http://anders.fupp.net/diffs
 /patch-ticket421-try2-varnish2.0.2.diff), I get a crash another place in
 cache_center.c, at line 310 in the cnt_error function. This is the
 AZ(sp->bereq) that was introduced by r3530.

 {{{
 Jan 20 18:09:03 aicache8 varnishd[68071]: Child (68072) Panic message:
 Assert er
 ror in cnt_error(), cache_center.c line 310:   Condition((sp->bereq) == 0)
 not t
 rue.  thread = (cache-worker)sp = 0x807f31008 {   fd = 214, id = 214, xid
 = 1419
 057355,   client = 80.91.40.241:58819,   step = STP_ERROR,   handling =
 ERROR,
  err_code = 200, err_reason = Purged in pass mode.,   ws = 0x807f31078 {
 id
  = "sess",     {s,f,r,e} = {0x807f317b0,,+223,0x0,+8192},   },     worker
 = 0x7f
 ffef37aac0 {     },     vcl = {       srcname = {
 "/usr/local/etc/varnis
 h.vcl",         "Default",       },     }, },
 }}}

 How do we handle this? No coredump unfortunately.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/421#comment:4>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list