[Varnish] #1501: crash on hash director with all backends down

Varnish varnish-bugs at varnish-cache.org
Mon May 12 19:39:55 CEST 2014


#1501: crash on hash director with all backends down
-------------------------+----------------------
 Reporter:  g.gerritsen  |       Type:  defect
   Status:  new          |   Priority:  normal
Milestone:               |  Component:  varnishd
  Version:  4.0.0        |   Severity:  normal
 Keywords:               |
-------------------------+----------------------
 varnish crashes when handling any requests using a hash director with all
 backends sick. I have included the vcl to reproduce the problem.

 {{{
 # varnishadm panic.show
 Last panic at: Mon, 12 May 2014 17:36:17 GMT
 Assert error in vbf_stp_mkbereq(), cache/cache_fetch.c line 184:
   Condition((bo->director) != 0) not true.
 thread = (cache-worker)
 ident =
 Linux,2.6.32-431.11.2.el6.x86_64,x86_64,-smalloc,-smalloc,-hcritbit,epoll
 Backtrace:
   0x43a796: pan_backtrace+0x19
   0x43aaa6: pan_ic+0x1e8
   0x42281b: vbf_stp_mkbereq+0x1dd
   0x42549c: vbf_fetch_thread+0x39c
   0x43c581: Pool_Work_Thread+0x3e6
   0x455081: wrk_thread_real+0x143
   0x4551aa: WRK_thread+0x27
   0x7feb0962e9d1: /lib64/libpthread.so.0(+0x79d1) [0x7feb0962e9d1]
   0x7feb0937bb6d: /lib64/libc.so.6(clone+0x6d) [0x7feb0937bb6d]
   busyobj = 0x7feaf7406020 {
     ws = 0x7feaf74060e0 {
       id = "bo",
       {s,f,r,e} = {0x7feaf7407fe8,0x7feaf7407fe8,(nil),+57400},
     },
   refcnt = 2
   retries = 0
   failed = 0
   state = 0
     is_do_stream
     bodystatus = 0 (none),
     },
     ws = 0x7feaf7406268 { BAD_MAGIC(0x00000000) },
     },
   objcore (FETCH) = 0x7feb08bfe080 {
     refcnt = 2
     flags = 0x2
     objhead = 0x7feaf7441080
   }
   }
 }}}

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



More information about the varnish-bugs mailing list