[Varnish] #173: Varnish dies with assert error in vca_kev

Varnish varnish-bugs at projects.linpro.no
Mon Oct 29 12:43:42 CET 2007


#173: Varnish dies with assert error in vca_kev
----------------------------------------+-----------------------------------
 Reporter:  anders                      |        Owner:  phk  
     Type:  defect                      |       Status:  new  
 Priority:  high                        |    Milestone:       
Component:  varnishd                    |      Version:  trunk
 Severity:  major                       |   Resolution:       
 Keywords:  varnishd core dump vca_kev  |  
----------------------------------------+-----------------------------------
Comment (by anders):

 Had this same bug happen on another, 8-core server running the same
 version of Varnish and FreeBSD:

 {{{
 Child said (2, 49526): <<Assert error in vca_kev(),
 cache_acceptor_kqueue.c line 91:
   Condition((ss[j]->obj) == 0) not true.
   errno = 9 (Bad file descriptor)
 >>
 Cache child died pid=49526 status=0x86
 }}}

 Backtrace:

 {{{
 (gdb) bt
 #0  0x0000000800d1248c in thr_kill () from /lib/libc.so.7
 #1  0x0000000800d9c63b in abort () from /lib/libc.so.7
 #2  0x000000080066fc7f in lbv_assert (func=Could not find the frame base
 for "lbv_assert".
 ) at assert.c:58
 #3  0x000000000040840d in vca_kev (kp=0x7fffff5fb380)
     at cache_acceptor_kqueue.c:91
 #4  0x00000000004088c4 in vca_kqueue_main (arg=0x0)
     at cache_acceptor_kqueue.c:151
 #5  0x0000000800a999a8 in pthread_getprio () from /lib/libthr.so.3
 #6  0x0000000000000000 in ?? ()
 Cannot access memory at address 0x7fffff5fc000
 (gdb) frame 3
 #3  0x000000000040840d in vca_kev (kp=0x7fffff5fb380)
     at cache_acceptor_kqueue.c:91
 91                              AZ(ss[j]->obj);
 (gdb) print ss[j]->obj
 $1 = (struct object *) 0x8408a3000
 (gdb) print *ss[j]->obj
 Cannot access memory at address 0x8408a3000
 }}}

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


More information about the varnish-bugs mailing list