[Varnish] #685: Logging non-HTTP connections as null

Varnish varnish-bugs at varnish-cache.org
Mon May 31 20:48:15 CEST 2010


#685: Logging non-HTTP connections as null
-------------------------+--------------------------------------------------
 Reporter:  joshdevins   |       Owner:  kristian
     Type:  defect       |      Status:  assigned
 Priority:  normal       |   Milestone:          
Component:  varnishncsa  |     Version:  trunk   
 Severity:  major        |    Keywords:          
-------------------------+--------------------------------------------------

Comment(by jdzst):

 Hello,
 I think both tickets #633 and #685 are related with similar problems, a
 empty ReqEnd that is processed by varnishncsa

 In Solaris 10, instead printing "(null) (null) (null)" (null) - "-" "-"
 varnishncsa generates a coredump:
 {{{
 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
 varnishncsa.c:439
 #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
 (gdb)
 }}}

 More information in #633 and #709.

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




More information about the varnish-bugs mailing list