[Varnish] #387: Varnish crashes on Missing errorhandling code in fetch_chunked

Varnish varnish-bugs at projects.linpro.no
Tue Nov 25 13:46:14 CET 2008


#387: Varnish crashes on Missing errorhandling code in fetch_chunked
----------------------+-----------------------------------------------------
 Reporter:  anders    |       Owner:  phk  
     Type:  defect    |      Status:  new  
 Priority:  normal    |   Milestone:       
Component:  varnishd  |     Version:  trunk
 Severity:  normal    |    Keywords:       
----------------------+-----------------------------------------------------
 While running Varnish trunk/2980 (from july 21st), I got a crash like
 this:

 {{{
 Oct 14 21:13:52 cache12 varnishd[15319]: Child (15331) Panic message:
 Missing
 errorhandling code in fetch_chunked(), cache_fetch.c line 113:
 Condition(be >
 bp) not true.  errno = 22 (Invalid argument)  thread = (cache-worker)sp =
 0x80bd5e008 {   fd = 64, id = 64, xid = 1644558162,   client =
 195.159.226.113:9553,   step = STP_FETCH,   handling = FETCH,   ws =
 0x80bd5e078
 {      id = "sess",     {s,f,r,e} = {0x80bd5e7a0,,+853,0x0,+8192},   },
 worker = 0x7fffd48a5ac0 {     },     vcl = {       srcname = {
 "/usr/local/etc/varnish.vcl",         "Default",       },     },   obj =
 0x13fd348000 {     refcnt = 1, xid = 1644558162,     ws = 0x13fd348028 {
 id = "obj",       {s,f,r,e} = {0x13fd348350,,+338,0x0,+3248},     },
 http =
 {       ws = 0x13fd348028 {          id = "obj",         {s,f,r,e} =
 {0x13fd348350,,+338,0x0,+3248},       },       hd = {         "Set-Cookie:
 finn_ld=aeb69f3baeb69f33baeebab8; path=/",         "Date: Tue, 14 Oct 2008
 21:13:28 GMT",         "Server: Apache/2.2.3 (Debian
 }}}

 It looks like this portion of cache_fetch.c has not been changed since
 then, and that this could still be a problem. Unfortunately I don't have
 the core-dump anymore. Let me know if any more info is needed.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/387>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list