[Varnish] #97: Varnishd fails to start in FreeBSD if IPv6 support is missing in kernel and -T localhost:<n> is used

Varnish varnish-bugs at projects.linpro.no
Mon Nov 24 13:34:44 CET 2008


#97: Varnishd fails to start in FreeBSD if IPv6 support is missing in kernel and
-T localhost:<n> is used
-----------------------------+----------------------------------------------
 Reporter:  anders at fupp.net  |        Owner:  phk     
     Type:  defect           |       Status:  reopened
 Priority:  normal           |    Milestone:          
Component:  varnishd         |      Version:  2.0     
 Severity:  normal           |   Resolution:          
 Keywords:                   |  
-----------------------------+----------------------------------------------
Changes (by anders):

  * version:  1.0 => 2.0

Comment:

 The problem still exists in Varnish 2.0.2:

 {{{
 (gdb) bt
 #0  0x0000000800dabe7c in kill () from /lib/libc.so.7
 #1  0x0000000800daaceb in abort () from /lib/libc.so.7
 #2  0x000000080067a4fc in lbv_assert_default (
     func=0xaddf <Address 0xaddf out of bounds>,
     file=0x6 <Address 0x6 out of bounds>, line=0,
     cond=0x800dabe9c "r\001ÃH\213\rZ\230\022", err=43, xxx=-7112)
     at assert.c:61
 #3  0x000000000042cd52 in mgt_cli_telnet (dflag=Variable "dflag" is not
 available.
 ) at mgt_cli.c:478
 #4  0x000000000042c227 in mgt_run (dflag=0,
     T_arg=0x7fffffffedc2 "localhost:8080") at mgt_child.c:518
 #5  0x000000000043716a in main (argc=Variable "argc" is not available.
 ) at varnishd.c:630
 }}}

 If I remove the IPv6 address for localhost in hosts, this crash does not
 happen.

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


More information about the varnish-bugs mailing list