[Varnish] #164: Varnishd core dumps because of segmentation violation

Varnish varnish-bugs at projects.linpro.no
Mon Oct 8 20:22:43 CEST 2007


#164: Varnishd core dumps because of segmentation violation
--------------------------------+-------------------------------------------
 Reporter:  anders              |        Owner:  phk  
     Type:  defect              |       Status:  new  
 Priority:  normal              |    Milestone:       
Component:  varnishd            |      Version:  trunk
 Severity:  normal              |   Resolution:       
 Keywords:  varnishd core dump  |  
--------------------------------+-------------------------------------------
Comment (by anders):

 Updated to trunk/2094, and got another signal 11 core dump.

 Backtrace from GDB being attached to the child process:

 {{{
 Program received signal SIGSEGV, Segmentation fault.
 0x0000000800ca7349 in strtoul (nptr=0x0, endptr=0x0, base=10)
     at /usr/src/lib/libc/stdlib/strtoul.c:65
 65                      c = *s++;
 (gdb) bt
 #0  0x0000000800ca7349 in strtoul (nptr=0x0, endptr=0x0, base=10)
     at /usr/src/lib/libc/stdlib/strtoul.c:65
 #1  0x0000000000414958 in http_DissectResponse (w=0x7fff8c665ae0,
     htc=0x7fff8c663980, hp=0x3861038) at cache_http.c:509
 #2  0x0000000000411d82 in Fetch (sp=0x66f3008) at cache_fetch.c:305
 #3  0x000000000040e998 in cnt_fetch (sp=0x66f3008) at cache_center.c:301
 #4  0x000000000040fc5e in CNT_Session (sp=0x66f3008) at steps.h:40
 #5  0x00000000004175a8 in wrk_do_one (w=0x7fff8c665ae0) at
 cache_pool.c:193
 #6  0x0000000000417a68 in wrk_thread (priv=0x85b320) at cache_pool.c:245
 #7  0x000000080099cc71 in thread_start (curthread=0xc07e00)
     at /usr/src/lib/libthr/thread/thr_create.c:246
 #8  0x00007fff8c466000 in ?? ()
 Error accessing memory address 0x7fff8c666000: Bad address.
 }}}

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


More information about the varnish-bugs mailing list