[Varnish] #1864: Assert error in BAN_CheckObject()

Varnish varnish-bugs at varnish-cache.org
Mon Feb 29 21:51:05 CET 2016


#1864: Assert error in BAN_CheckObject()
-------------------+----------------------
 Reporter:  batty  |       Type:  defect
   Status:  new    |   Priority:  normal
Milestone:         |  Component:  varnishd
  Version:  4.1.1  |   Severity:  major
 Keywords:         |
-------------------+----------------------
 Upgraded from Varnish 3.0.6 to 4.1.1 late last week on a tier of three
 servers.  We use BANs quite a bit.  On one of the servers in the tier,
 we've received this assert twice.

 {{{


 Last panic at: Thu, 25 Feb 2016 04:06:41 GMT

 "Assert error in BAN_CheckObject(), cache/cache_ban.c line 539:

   Condition((b) != NULL) not true.

 thread = (cache-worker)

 version = varnish-4.1.1 revision 66bb824

 ident =
 Linux,2.6.32-358.23.2.el6.x86_64,x86_64,-junix,-smalloc,-smalloc,-hcritbit,epoll

 Backtrace:

   0x4328b3: varnishd() [0x4328b3]

   0x4163d0: varnishd(BAN_CheckObject+0x320) [0x4163d0]

   0x4287b8: varnishd(HSH_Lookup+0x2f8) [0x4287b8]

   0x436291: varnishd() [0x436291]

   0x436c31: varnishd(CNT_Request+0x3b1) [0x436c31]

   0x44dc5b: varnishd(HTTP1_Session+0x11b) [0x44dc5b]

   0x439dbd: varnishd(SES_Proto_Req+0x5d) [0x439dbd]

   0x448a1d: varnishd() [0x448a1d]

   0x448e4b: varnishd() [0x448e4b]

   0x7fcb3ed97aa1: libpthread.so.0(+0x7aa1) [0x7fcb3ed97aa1]

 req = 0x7fcaee106020 {

   vxid = 5064422, step = R_STP_LOOKUP,

   req_body = R_BODY_NONE,

   restarts = 0, esi_level = 0,

   sp = 0x7fcae0e55020 {

     fd = 22, vxid = 5064354,

     client = xxxxx 48795,

     step = S_STP_H1PROC,

   },

   worker = 0x7fcb272f6bc0 {

     stack = {0x7fcb272f7000 -> 0x7fcb272eb000},

     ws = 0x7fcb272f6db8 {

       id = \"wrk\",

       {s,f,r,e} = {0x7fcb272f6380,0x7fcb272f6380,(nil),+2040},

     },

     VCL::method = HASH,

     VCL::return = lookup,

     VCL::methods = {RECV, PASS, HASH, MISS, HIT, DELIVER},

   },

   ws = 0x7fcaee106200 {

     id = \"req\",

     {s,f,r,e} = {0x7fcaee108000,+1984,+1040376,+1040376},

   },

   http_conn = 0x7fcaee106128 {

     fd = 22,

     doclose = NULL,

     ws = 0x7fcaee106200,

     {rxbuf_b, rxbuf_e} = {0x7fcaee108000, 0x7fcaee10876f},

     {pipeline_b, pipeline_e} = {(nil), (nil)},

     content_length = -1,

     body_status = none,

     first_byte_timeout = 0.000000,

     between_bytes_timeout = 0.000000,

   },

   http[req] = 0x7fcaee106298 {

     ws[req] = 0x7fcaee106200,

     hdrs {

       \"GET\",

       \"/xxxxx/xxxxx",

       \"HTTP/1.1\",

       \"User-Agent: xxxx",

       \"Accept: */*\",

       \"X-Forwarded-For: xxxxx, xxxxx\",

       \"host: varnish.xxxxx.com\",

     },

   },

   vcl = {

     temp = warm

     srcname = {

       \"/etc/varnish/default.vcl\",

       \"Builtin\",

     },

   },

   flags = {

   },

 },

 }}}

 I'm working with our operations team to try to enable core dumps and get a
 back trace.

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1864>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list