[Varnish] #1615: Panic message:#012Assert error in vbf_fetch_thread(), cache/cache_fetch.c line 842

Varnish varnish-bugs at varnish-cache.org
Tue Oct 21 10:15:31 CEST 2014


#1615: Panic message:#012Assert error in vbf_fetch_thread(), cache/cache_fetch.c
line 842
------------------------------+--------------------
 Reporter:  xieyugui          |       Owner:
     Type:  defect            |      Status:  new
 Priority:  normal            |   Milestone:  Later
Component:  build             |     Version:  4.0.2
 Severity:  normal            |  Resolution:
 Keywords:  vbf_fetch_thread  |
------------------------------+--------------------
Description changed by fgsch:

Old description:

> {{{
> Oct 19 10:07:03 localhost /xxx/varnish/var/varnish/cache[19719]: Child
> (26298) not responding to CLI, killing it.
> Oct 19 10:07:04 localhost /xxx/varnish/var/varnish/cache[19719]: Child
> (26298) died signal=6
> Oct 19 10:07:04 localhost /xxx/varnish/var/varnish/cache[19719]: Child
> (26298) Panic message:#012Assert error in vbf_fetch_thread(),
> cache/cache_fetch.c line 842:#012  Condition(uu == bo->fetch_obj->len)
> not true.#012thread = (cache-worker)#012ident =
> Linux,2.6.32-358.el6.x86_64,x86_64,-smalloc,-sfile,-sfile,-smalloc,-hcritbit,epoll#012Backtrace:#012
> 0x4310e5: pan_ic+0xc5#012  0x41fac4: vbf_fetch_thread+0xbf4#012
> 0x433b87: Pool_Work_Thread+0x357#012  0x4467d9: wrk_thread_real+0xb9#012
> 0x7ff3472959d1: /lib64/libpthread.so.0(+0x79d1) [0x7ff3472959d1]#012
> 0x7ff346fe286d: /lib64/libc.so.6(clone+0x6d) [0x7ff346fe286d]#012
> busyobj = 0x7f9b4fe8f970 {#012    ws = 0x7f9b4fe8fa30 {#012      id =
> "bo",#012      {s,f,r,e} = {0x7f9b4fe93f98,+480,(nil),+113112},#012
> },#012  refcnt = 1#012  retries = 0#012  failed = 0#012  state = 3#012
> is_do_pass#012    is_uncacheable#012    is_abandon#012
> is_is_gunzip#012    is_should_close#012    bodystatus = 3 (length),#012
> },#012    ws = 0x7f9b4fe8fbc0 {#012      id = "obj",#012      {s,f,r,e} =
> {0x7f9aae9d30a0,+232,(nil),+232},#012    },#012  objcore (FETCH) =
> 0x7feb12d649f0 {#012    refcnt = 1#012    flags = 0x104#012    objhead =
> 0x11d8ea0#012  }#012  obj (FETCH) = 0x7f9aae9d2ee0 {#012    vxid =
> 2200159394,#012    http[obj] = {#012      ws = (nil)[]#012
> "HTTP/1.1",#012        "400",#012        "Bad Request",#012
> "Server: nginx",#012        "Date: Sun, 19 Oct 2014 02:07:00 GMT",#012
> "Content-Type: text/html; charset=utf-8",#012        "Content-Length:
> 166",#012        "Domain-Id: 061fa35c95a8cc19b782c6",#012
> "X-TAN14: ORIGIN",#012        "x-storage: mem",#012    },#012    len =
> 166,#012    store = {#012    },#012  },#012  }#012
> }}}

New description:

 {{{
 Oct 19 10:07:03 localhost /xxx/varnish/var/varnish/cache[19719]: Child
 (26298) not responding to CLI, killing it.
 Oct 19 10:07:04 localhost /xxx/varnish/var/varnish/cache[19719]: Child
 (26298) died signal=6
 Oct 19 10:07:04 localhost /xxx/varnish/var/varnish/cache[19719]: Child
 (26298) Panic message:
 Assert error in vbf_fetch_thread(), cache/cache_fetch.c line 842:
   Condition(uu == bo->fetch_obj->len) not true.
 thread = (cache-worker)
   ident =
 Linux,2.6.32-358.el6.x86_64,x86_64,-smalloc,-sfile,-sfile,-smalloc,-hcritbit,epoll
 Backtrace:
   0x4310e5: pan_ic+0xc5
   0x41fac4: vbf_fetch_thread+0xbf4
   0x433b87: Pool_Work_Thread+0x357
   0x4467d9: wrk_thread_real+0xb9
   0x7ff3472959d1: /lib64/libpthread.so.0(+0x79d1) [0x7ff3472959d1]
   0x7ff346fe286d: /lib64/libc.so.6(clone+0x6d) [0x7ff346fe286d]
   busyobj = 0x7f9b4fe8f970 {
     ws = 0x7f9b4fe8fa30 {
     id = "bo",
       {s,f,r,e} = {0x7f9b4fe93f98,+480,(nil),+113112},
     },
   refcnt = 1
   retries = 0
   failed = 0
   state = 3
     is_do_pass
     is_uncacheable
     is_abandon
     is_is_gunzip
     is_should_close
     bodystatus = 3 (length),
     },
     ws = 0x7f9b4fe8fbc0 {
       id = "obj",
       {s,f,r,e} = {0x7f9aae9d30a0,+232,(nil),+232},
     },
   objcore (FETCH) = 0x7feb12d649f0 {
     refcnt = 1
     flags = 0x104
     objhead = 0x11d8ea0
   }
   obj (FETCH) = 0x7f9aae9d2ee0 {
     vxid = 2200159394,
     http[obj] = {
       ws = (nil)[]
         "HTTP/1.1",
         "400",
         "Bad Request",
         "Server: nginx",
         "Date: Sun, 19 Oct 2014 02:07:00 GMT",
         "Content-Type: text/html; charset=utf-8",
         "Content-Length: 166",
         "Domain-Id: 061fa35c95a8cc19b782c6",
         "X-TAN14: ORIGIN",
         "x-storage: mem",
     },
     len = 166,
     store = {
     },
   },
   }
 }}}

--

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1615#comment:3>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list