[Varnish] #922: Missing errorhandling code in cnt_error()

Varnish varnish-bugs at varnish-cache.org
Wed May 25 06:20:57 CEST 2011


#922: Missing errorhandling code in cnt_error()
-----------------------------+----------------------------------------------
 Reporter:  mkania           |        Type:  defect  
   Status:  new              |    Priority:  normal  
Milestone:  Varnish 3.0 dev  |   Component:  varnishd
  Version:  trunk            |    Severity:  normal  
 Keywords:                   |  
-----------------------------+----------------------------------------------
 I've had one crash so far testing 3.0beta1. This is the output from
 panic.show


 {{{
 varnish> panic.show
 200
 Last panic at: Wed, 25 May 2011 02:14:31 GMT
 Missing errorhandling code in cnt_error(), cache_center.c line 418:
   Condition((sp->obj) != 0) not true.errno = 110 (Connection timed out)
 thread = (cache-worker)
 ident = Linux,2.6.32-5-amd64,x86_64,-smalloc,-smalloc,-hcritbit,epoll
 Backtrace:
   0x42d368: /usr/sbin/varnishd() [0x42d368]
   0x41793e: /usr/sbin/varnishd() [0x41793e]
   0x418165: /usr/sbin/varnishd(CNT_Session+0x245) [0x418165]
   0x42f958: /usr/sbin/varnishd() [0x42f958]
   0x42eb49: /usr/sbin/varnishd() [0x42eb49]
   0x7f23348248ba: /lib/libpthread.so.0(+0x68ba) [0x7f23348248ba]
   0x7f233458c02d: /lib/libc.so.6(clone+0x6d) [0x7f233458c02d]
 sp = 0x7f1f3623b008 {
   fd = 65, id = 65, xid = 45290058,
   client = 10.6.14.10 60026,
   step = STP_ERROR,
   handling = error,
   err_code = 503, err_reason = (null),
   restarts = 0, esi_level = 0
   ws = 0x7f1f3623b080 {
     id = "sess",
     {s,f,r,e} = {0x7f1f3623bcf0,+416,(nil),+65536},
   },
   http[req] = {
     ws = 0x7f1f3623b080[sess]
       "HEAD",
       "/dist/blacklist.xml",
       "HTTP/1.1",
       "Host: varnish-cache",
       "Accept-Encoding: identity",
       "Max-Forwards: 10",
       "Connection: Keep-Alive",
       "X-Forwarded-For: 10.3.7.15, 10.6.14.10",
   },
   worker = 0x7f1f52b51b90 {
     ws = 0x7f1f52b51d30 {
       id = "wrk",
       {s,f,r,e} = {0x7f1f52b3fb20,+24,(nil),+65536},
     },
     },
     vcl = {
       srcname = {
         "input",
         "Default",
       },
     },
 },

 }}}

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




More information about the varnish-bugs mailing list