[Varnish] #144: Race in backend socket address replacement.

Varnish varnish-bugs at projects.linpro.no
Wed Jan 2 11:30:03 CET 2008


#144: Race in backend socket address replacement.
---------------------------------------+------------------------------------
 Reporter:  anders                     |        Owner:  phk        
     Type:  defect                     |       Status:  reopened   
 Priority:  high                       |    Milestone:  Varnish 1.2
Component:  varnishd                   |      Version:  1.1        
 Severity:  major                      |   Resolution:             
 Keywords:  varnishd core dump sig 10  |  
---------------------------------------+------------------------------------
Comment (by anders):

 Running with Varnish 1.1.2 (in FreeBSD 6.2-RELEASE-p3), this still
 happens:

 {{{
 (gdb) bt
 #0  0x0000000000408a90 in vbe_sock_conn (ai=0x0) at cache_backend.c:162
 #1  0x0000000000408b98 in vbe_conn_try (bp=0xaf1b80, pai=0x7ffffd1e7838)
     at cache_backend.c:190
 #2  0x0000000000408d14 in vbe_connect (sp=0xc15008, bp=0xaf1b80)
     at cache_backend.c:228
 #3  0x000000000040912e in vbe_nextfd (sp=0xc15008) at cache_backend.c:299
 #4  0x0000000000409372 in VBE_GetFd (sp=0xc15008) at cache_backend.c:336
 #5  0x000000000040cafa in Fetch (sp=0xc15008) at cache_fetch.c:278
 #6  0x000000000040a124 in cnt_fetch (sp=0xc15008) at cache_center.c:300
 #7  0x000000000040b18d in CNT_Session (sp=0xc15008) at steps.h:40
 #8  0x0000000000412cf8 in wrk_do_one (w=0x7ffffd1e7ad0) at
 cache_pool.c:194
 #9  0x00000000004131f3 in wrk_thread (priv=0x8562e0) at cache_pool.c:248
 #10 0x000000080098755b in pthread_create () from /usr/lib/libthr.so.2
 #11 0x00007ffffcfea000 in ?? ()
 Cannot access memory at address 0x7ffffd1ea000
 (gdb) quit
 }}}

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


More information about the varnish-bugs mailing list