[Varnish] #1450: Segfault in varnishstat with -l

Varnish varnish-bugs at varnish-cache.org
Fri Mar 14 12:57:18 CET 2014


#1450: Segfault in varnishstat with -l
-------------------------+--------------------
 Reporter:  lkarsten     |       Owner:
     Type:  defect       |      Status:  new
 Priority:  low          |   Milestone:
Component:  varnishstat  |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+--------------------

Comment (by daghf):

 {{{
 (gdb) run
 Starting program: /opt/varnish4-git/bin/varnishstat -f MAIN.shm_writes -n
 /tmp/foo -l
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
 Varnishstat -f option fields:
 Field name                     Description
 ----------                     -----------

 Program received signal SIGSEGV, Segmentation fault.
 0x0000000000402b9c in do_list_cb (priv=0x0, pt=0x0)
     at varnishstat.c:213
 213             sec = pt->section;
 (gdb) bt
 #0  0x0000000000402b9c in do_list_cb (priv=0x0, pt=0x0)
     at varnishstat.c:213
 #1  0x00007ffff79c644e in VSC_Iter (vd=0x609010, fantom=0x0,
     func=0x402b80 <do_list_cb>, priv=0x0) at vsc.c:516
 #2  0x000000000040201d in list_fields (vd=0x609010)
     at varnishstat.c:233
 #3  0x0000000000401d65 in main (argc=6, argv=0x7fffffffe1b8)
     at varnishstat.c:282
 (gdb)
 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1450#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list