[Varnish] #1401: Assert error in vbf_stp_startfetch(), cache/cache_fetch.c line 118

Varnish varnish-bugs at varnish-cache.org
Wed Jan 1 19:27:34 CET 2014


#1401: Assert error in vbf_stp_startfetch(), cache/cache_fetch.c line 118
-----------------------------+----------------------
 Reporter:  dmalinow         |       Type:  defect
   Status:  new              |   Priority:  normal
Milestone:  Varnish 4.0-TP1  |  Component:  varnishd
  Version:  trunk            |   Severity:  normal
 Keywords:                   |
-----------------------------+----------------------
 After I add the option '''return (retry);''' in vcl_backend_response
 varnish crashed

 {{{#!python
 sub vcl_backend_response {
 ...
 return (retry);
 ...
 }
 }}}

 {{{#!python
 Panic message: Assert error in vbf_stp_startfetch(), cache/cache_fetch.c
 line 118:
   Condition((bo->should_close) == 0) not true.
 thread = (cache-worker)
 ident =
 Linux,2.6.32-431.1.2.0.1.el6.x86_64,x86_64,-sfile,-smalloc,-hcritbit,epoll
 Backtrace:
   0x437a73: /usr/sbin/varnishd() [0x437a73]
   0x437d83: /usr/sbin/varnishd() [0x437d83]
   0x422052: /usr/sbin/varnishd() [0x422052]
   0x42419e: /usr/sbin/varnishd() [0x42419e]
   0x4394f7: /usr/sbin/varnishd(Pool_Work_Thread+0x416) [0x4394f7]
   0x451fd4: /usr/sbin/varnishd() [0x451fd4]
   0x4520fd: /usr/sbin/varnishd(WRK_thread+0x27) [0x4520fd]
   0x7fcdf210f9d1: /lib64/libpthread.so.0(+0x79d1) [0x7fcdf210f9d1]
   0x7fcdf1e5cb6d: /lib64/libc.so.6(clone+0x6d) [0x7fcdf1e5cb6d]
   busyobj = 0x7fcd840916f0 {
     ws = 0x7fcd84091790 {
       id = "bo",
       {s,f,r,e} = {0x7fcd840936b8,+608,(nil),+57400},
     },
     do_stream
     should_close
     bodystatus = 3 (length),
     },
     http[bereq] = {
       ws = 0x7fcd84091790[bo]
         "GET",
         "/new.php",
         "HTTP/1.1",
         "Host: 168.192.1.36",
         "User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0)
 Gecko/20100101 Firefox/26.0",
         "Accept:
 text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
         "Accept-Language: pl,en-us;q=0.7,en;q=0.3",
         "Accept-Encoding: gzip, deflate",
         "x-up-calling-line-id: 48509000223",
         "X-Forwarded-For: 168.192.1.42",
         "X-Varnish: 3",
         "X-MALINA: PHPSESSID=9tvmc0k9s2v7ppstsfvb9gojf3",
     },
     http[beresp] = {
       ws = 0x7fcd84091790[bo]
         "HTTP/1.1",
         "200",
         "OK",
         "Date: Wed, 01 Jan 2014 18:00:53 GMT",
         "Server: Apache/2.2.15 (CentOS) DAV/2 PHP/5.3.3",
         "X-Powered-By: PHP/5.3.3",
         "Set-Cookie: PHPSESSID=9tvmc0k9s2v7ppstsfvb9gojf3; path=/",
         "Expires: Thu, 19 Nov 1981
 }}}

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




More information about the varnish-bugs mailing list