[Varnish] #762: varnishstat segfault

Varnish varnish-bugs at varnish-cache.org
Tue Aug 24 21:33:14 CEST 2010


#762: varnishstat segfault
---------------------+------------------------------------------------------
 Reporter:  victori  |        Type:  defect
   Status:  new      |    Priority:  normal
Milestone:           |   Component:  build 
  Version:  trunk    |    Severity:  normal
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by victori):

 dbx backtrace

 {{{
 (dbx) run
 Running: varnishstat
 (process id 14359)
 Cannot open t at 1 (l at 1) signal SEGV (no mapping at the fault address) in
 strlen at 0xfffffd7fff0b94b0
 0xfffffd7fff0b94b0: strlen+0x0040:      movq     (%rsi),%rax
 (dbx) where
 current thread: t at 1
 =>[1] strlen(0x0, 0x0, 0x0, 0x0, 0x0, 0x53), at 0xfffffd7fff0b94b0
   [2] _ndoprnt(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff0fcb1e
   [3] fprintf(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff0ff852
   [4] vsm_open(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff3453d0
   [5] main(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x40244d
 }}}


 gdb backtrace

 {{{
 (gdb) run
 Starting program: /opt/extra/bin/varnishstat
 Warning:
 Cannot insert breakpoint -2.
 Error accessing memory address 0xd276: I/O error.

 (gdb) bt
 #0  0x0000000000000000 in ?? ()
 Cannot access memory at address 0x0
 (gdb) backtrace
 #0  0x0000000000000000 in ?? ()
 Cannot access memory at address 0x0

 }}}

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




More information about the varnish-bugs mailing list