[Varnish] #1647: Varnish 4 crashes occasionally under stress test: Assert error in cnt_lookup()

Varnish varnish-bugs at varnish-cache.org
Sat Dec 13 04:12:02 CET 2014


#1647: Varnish 4 crashes occasionally under stress test: Assert error in
cnt_lookup()
-------------------+----------------------
 Reporter:  wjy    |       Type:  defect
   Status:  new    |   Priority:  normal
Milestone:         |  Component:  varnishd
  Version:  4.0.2  |   Severity:  major
 Keywords:         |
-------------------+----------------------
 {{{
 Assert error in cnt_lookup(), cache/cache_req_fsm.c line 429:
   Condition((oc->flags & ((1<<9)|(1<<2))) == 0) not true.
 thread = (cache-worker)
 ident = Linux,2.6.32-431.23.3.el6.x86_64,x86_64,-smalloc,-hcritbit,epoll
 Backtrace:
   0x43b4ed: /usr/sbin/varnishd() [0x43b4ed]
   0x43b7fd: /usr/sbin/varnishd() [0x43b7fd]
   0x440c22: /usr/sbin/varnishd() [0x440c22]
   0x442db9: /usr/sbin/varnishd(CNT_Request+0x441) [0x442db9]
   0x433dd0: /usr/sbin/varnishd(HTTP1_Session+0x429) [0x433dd0]
   0x445e3f: /usr/sbin/varnishd() [0x445e3f]
   0x446067: /usr/sbin/varnishd() [0x446067]
   0x446613: /usr/sbin/varnishd(SES_pool_accept_task+0x1f9) [0x446613]
   0x43e44f: /usr/sbin/varnishd(Pool_Work_Thread+0x4ce) [0x43e44f]
   0x456f84: /usr/sbin/varnishd() [0x456f84]
 req = 0x7ff3ff3ee020 {
   sp = 0x7ff410827560, vxid = 1074171954,  step = R_STP_LOOKUP,
   req_body = R_BODY_NONE,
   restarts = 0, esi_level = 0
   sp = 0x7ff410827560 {
     fd = 22, vxid = 430129,
     client = 127.0.0.1 49083,
     step = S_STP_WORKING,
   },
   worker = 0x7ff42280cbf0 {
     ws = 0x7ff42280ce08 {
       id = "wrk",
       {s,f,r,e} = {0x7ff42280c3d0,0x7ff42280c3d0,(nil),+2048},
     },
   VCL::method = 0x0,
   VCL::return = deliver,
   },
   ws = 0x7ff3ff3ee1b8 {
     id = "req",
     {s,f,r,e} = {0x7ff3ff3f0010,+432,(nil),+57360},
   },
   http[req] = {
     ws = 0x7ff3ff3ee1b8[req]
       "GET",
       "/link",
       "HTTP/1.0",
       "Connection: close",
       "User-Agent: ApacheBench/2.3",
       "Accept: */*",
       "host: hostname",
       "grace: none",
       "X-Obj-TTL: 0.000",
   },
   vcl = {
     srcname = {
       "input",
       "Builtin",
     },
   },
   obj (REQ) = 0x7ff401bfe380 {
     vxid = 2147913770,
     http[obj] = {
       ws = (nil)[]
         "HTTP/1.1",
         "200",
         "OK",
         "Date: Sat, 13 Dec 2014 02:13:28 GMT",
         "Content-Type: text/html; charset=UTF-8",
         "Content-Encoding: gzip",
         "Cache-Control: public, max-age=600",
     },
     len = 0,
     store = {
     },
   },
 },
 }}}

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



More information about the varnish-bugs mailing list