[Varnish] #104: varnishncsa assertion fails sometimes

Varnish varnish-bugs at projects.linpro.no
Fri Nov 30 16:08:03 CET 2007


#104: varnishncsa assertion fails sometimes
-------------------------+--------------------------------------------------
 Reporter:  dirkgomez    |        Owner:  des     
     Type:  defect       |       Status:  reopened
 Priority:  normal       |    Milestone:          
Component:  varnishncsa  |      Version:  1.0.3   
 Severity:  normal       |   Resolution:          
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by anders):

  * status:  closed => reopened
  * resolution:  worksforme =>

Comment:

 This seems to still happen, varnishncsa (built from trunk/2272) crashed on
 me. Backtrace:

 {{{
 root at aicache5:/# gdb -c varnishncsa.core /usr/local/bin/varnishncsa
 GNU gdb 6.1.1 [FreeBSD]
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you
 are
 welcome to change it and/or distribute copies of it under certain
 conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for
 details.
 This GDB was configured as "i386-marcel-freebsd"...
 Core was generated by `varnishncsa'.
 Program terminated with signal 6, Aborted.
 Reading symbols from /usr/local/lib/libvarnish.so.0...done.
 Loaded symbols for /usr/local/lib/libvarnish.so.0
 Reading symbols from /usr/local/lib/libvarnishcompat.so.0...done.
 Loaded symbols for /usr/local/lib/libvarnishcompat.so.0
 Reading symbols from /usr/local/lib/libvarnishapi.so.0...done.
 Loaded symbols for /usr/local/lib/libvarnishapi.so.0
 Reading symbols from /lib/libc.so.6...done.
 Loaded symbols for /lib/libc.so.6
 Reading symbols from /libexec/ld-elf.so.1...done.
 Loaded symbols for /libexec/ld-elf.so.1
 #0  0x28143ecb in kill () from /lib/libc.so.6
 (gdb) bt
 #0  0x28143ecb in kill () from /lib/libc.so.6
 #1  0x28143e68 in raise () from /lib/libc.so.6
 #2  0x28142b78 in abort () from /lib/libc.so.6
 #3  0x2807d0ed in lbv_assert (func=0x8049bb6 "trimline",
     file=0x8049d2e "varnishncsa.c", line=171, cond=0x8049d24 "p != NULL",
     err=12) at assert.c:58
 #4  0x08048ed0 in trimline (str=0x28684b9e "www.aftenposten.no",
     end=0x1 <Address 0x1 out of bounds>) at varnishncsa.c:171
 #5  0x08049069 in h_ncsa (priv=0x2816ada0, tag=SLT_RxHeader, fd=432,
 len=24,
     spec=1, ptr=0x28684b98 "Host: www.aftenposten.no") at
 varnishncsa.c:305
 #6  0x28085b35 in VSL_Dispatch (vd=0x804c000, func=0x8048ed8 <h_ncsa>,
     priv=0x2816ada0) at shmlog.c:333
 #7  0x08049a1d in main (argc=134598656, argv=0x2816ada0) at
 varnishncsa.c:522
 (gdb)
 }}}

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/104#comment:5>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list