[Varnish] #418: Segfault in cnt_lookup

Varnish varnish-bugs at projects.linpro.no
Mon Jan 5 14:41:06 CET 2009


#418: Segfault in cnt_lookup
--------------------+-------------------------------------------------------
 Reporter:  sky     |       Owner:       
     Type:  defect  |      Status:  new  
 Priority:  normal  |   Milestone:       
Component:  build   |     Version:  trunk
 Severity:  normal  |    Keywords:       
--------------------+-------------------------------------------------------
 {{{
 #0  0x00007f67a2d30095 in raise () from /lib/libc.so.6
 #1  0x00007f67a2d31af0 in abort () from /lib/libc.so.6
 #2  0x000000000042111a in pan_ic (func=0x44f14d "cnt_lookup",
 file=0x44ee8f "cache_center.c", line=625, cond=0x44f17e "sp->objhead !=
 NULL", err=11, xxx=0) at cache_panic.c:325
 #3  0x0000000000412c29 in cnt_lookup (sp=0x7f436525c008) at
 cache_center.c:625
 #4  0x000000000041423a in CNT_Session (sp=0x7f436525c008) at steps.h:38
 #5  0x0000000000422c89 in wrk_do_cnt_sess (w=0x7f45a9c72c30,
 priv=0x7f436525c008) at cache_pool.c:362
 #6  0x0000000000422320 in wrk_thread (priv=0x7f67a29432b0) at
 cache_pool.c:276
 #7  0x00007f67a35003f7 in start_thread () from /lib/libpthread.so.0
 #8  0x00007f67a2dd5b3d in clone () from /lib/libc.so.6
 #9  0x0000000000000000 in ?? ()

 }}}

 in

 {{{
         if (o == NULL) {
                 /*
                  * We hit a busy object, disembark worker thread and
 expect
                  * hash code to restart us, still in STP_LOOKUP, later.
                  */
                 assert(sp->objhead != NULL);
                 if (params->diag_bitmap & 0x20)
                         WSP(sp, SLT_Debug,
                             "on waiting list <%s>", sp->objhead->hash);
                 SES_Charge(sp);
                 return (1);
         }


 }}}

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


More information about the varnish-bugs mailing list