[Varnish] #633: varnishncsa segfaults

Varnish varnish-bugs at varnish-cache.org
Tue May 18 01:22:00 CEST 2010

#633: varnishncsa segfaults
 Reporter:  victori  |       Owner:  kristian
     Type:  defect   |      Status:  assigned
 Priority:  normal   |   Milestone:          
Component:  build    |     Version:  trunk   
 Severity:  normal   |    Keywords:          

Comment(by jdzst):

 I think I have the same problem with varnishncsa, I run it with
 "rotatelogs" and after a while it dumps a "Segmentation Fault".

 I have inspected the core with GDB and the stacktrace is:

 Core was generated by `/export/home/web1/varnish/bin/varnishncsa'.
 Program terminated with signal 11, Segmentation fault.
 [New process 87281    ]
 #0  0xfefb1d70 in strlen () from /lib/libc.so.1
 (gdb) bt
 #0  0xfefb1d70 in strlen () from /lib/libc.so.1
 #1  0xff01b038 in _ndoprnt () from /lib/libc.so.1
 #2  0xff01d048 in fprintf () from /lib/libc.so.1
 #3  0x000123e0 in h_ncsa (priv=0x23660, tag=SLT_ReqEnd, fd=5, len=79,
 spec=1, ptr=0xfa15b35b <Address 0xfa15b35b out of bounds>) at
 #4  0xff102d00 in VSL_Dispatch (vd=0x4df88, func=0x11e28 <h_ncsa>,
 priv=0x23660) at shmlog.c:383
 #5  0x00012ba4 in main (argc=1, argv=0xffbffa0c) at varnishncsa.c:598

Ticket URL: <http://varnish-cache.org/ticket/633#comment:3>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list