[Varnish] #864: Varnishlog crashes when searching for 503 errors

Varnish varnish-bugs at varnish-cache.org
Sat Feb 26 20:19:04 CET 2011


#864: Varnishlog crashes when searching for 503 errors
---------------------+------------------------------------------------------
 Reporter:  kriller  |        Type:  defect
   Status:  new      |    Priority:  normal
Milestone:           |   Component:  build 
  Version:  2.1.5    |    Severity:  normal
 Keywords:           |  
---------------------+------------------------------------------------------
 I'm trying to find the cause of some 503 errors I'm observing during a
 load-test.

 Running "varnishlog -r /path/to/logfile -o TxStatus 503" causes varnishlog
 to segfault with the following backtrace:

 Program received signal SIGSEGV, Segmentation fault.
 0x00000000004015cb in h_order (priv=0x0, tag=SLT_SessionOpen, fd=6843503,
 len=0, spec=1, ptr=0x774777 "o") at varnishlog.c:130
 130             if (ob[fd] == NULL) {
 (gdb) bt full
 #0  0x00000000004015cb in h_order (priv=0x0, tag=SLT_SessionOpen,
 fd=6843503, len=0, spec=1, ptr=0x774777 "o") at varnishlog.c:130
         type = 99 'c'
         __func__ = "h_order"
 #1  0x00007ffff77c3e73 in VSL_Dispatch (vd=0x6d4010, func=0x40152f
 <h_order>, priv=0x0) at shmlog.c:383
         i = 1
         u = 6843503
         l = 0
         s = 1
         p = 0x774770 "\006"
         __PRETTY_FUNCTION__ = "VSL_Dispatch"
 #2  0x0000000000401aa1 in do_order (vd=0x6d4010, argc=2,
 argv=0x7fffffffe0f8) at varnishlog.c:227
         i = 32767
         error = 0x0
         erroroffset = 0
 #3  0x0000000000401f25 in main (argc=6, argv=0x7fffffffe0d8) at
 varnishlog.c:391
         c = -1
         a_flag = 0
         D_flag = 0
         o_flag = 1
         u_flag = 0
         n_arg = 0x0
         P_arg = 0x0
         w_arg = 0x0
         pfh = 0x0
         vd = 0x6d4010

-- 
Ticket URL: <http://varnish-cache.org/trac/ticket/864>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list