[Varnish] #167: Varnishd crashes with assert error in RES_WriteObj

Varnish varnish-bugs at projects.linpro.no
Sat Oct 20 17:20:24 CEST 2007


#167: Varnishd crashes with assert error in RES_WriteObj
---------------------------------------------+------------------------------
 Reporter:  anders                           |        Owner:  phk  
     Type:  defect                           |       Status:  new  
 Priority:  normal                           |    Milestone:       
Component:  varnishd                         |      Version:  trunk
 Severity:  normal                           |   Resolution:       
 Keywords:  varnishd core dump RES_WriteObj  |  
---------------------------------------------+------------------------------
Comment (by anders):

 Got this one again, while running trunk/2096 including patches for ticket
 168 (changeset r2153) and ticket 164 (changeset 2151):

 {{{
 Child said (2, 51658): <<Assert error in RES_WriteObj(), cache_response.c
 line 184:
   Condition(u == sp->obj->len) not true.
   errno = 32 (Broken pipe)
 >>
 Cache child died pid=51658 status=0x86
 }}}

 The backtrace:

 {{{
 (gdb) bt
 #0  0x0000000800c0b48c in thr_kill () from /lib/libc.so.7
 #1  0x0000000800c9563b in abort () from /lib/libc.so.7
 #2  0x000000080066dc7f in lbv_assert (func=Could not find the frame base
 for "lbv_assert".
 ) at assert.c:58
 #3  0x0000000000419ce9 in RES_WriteObj (sp=0x2d84329008)
     at cache_response.c:184
 #4  0x000000000040e626 in cnt_deliver (sp=0x2d84329008) at
 cache_center.c:162
 #5  0x000000000041007a in CNT_Session (sp=0x2d84329008) at steps.h:41
 #6  0x0000000000417d7d in wrk_do_one (w=0x7ffffafd8ae0) at
 cache_pool.c:193
 #7  0x0000000000418227 in wrk_thread (priv=0x800e11200) at
 cache_pool.c:245
 #8  0x00000008009929a8 in pthread_getprio () from /lib/libthr.so.3
 #9  0x00007ffffadd9000 in ?? ()
 Cannot access memory at address 0x7ffffafd9000
 (gdb) frame 3
 #3  0x0000000000419ce9 in RES_WriteObj (sp=0x2d84329008)
     at cache_response.c:184
 184                     assert(u == sp->obj->len);
 }}}

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/167#comment:1>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list