[Varnish] #134: Varnishd dies on assert error in mgt_cli_callback when using varnishadm

Varnish varnish-bugs at projects.linpro.no
Thu Jul 26 10:33:22 CEST 2007


#134: Varnishd dies on assert error in mgt_cli_callback when using varnishadm
----------------------+-----------------------------------------------------
 Reporter:  anders    |       Owner:  phk                          
     Type:  defect    |      Status:  new                          
 Priority:  normal    |   Milestone:                               
Component:  varnishd  |     Version:  1.1                          
 Severity:  normal    |    Keywords:  varnishd varnishadm core dump
----------------------+-----------------------------------------------------
 I am using Varnish 1.1 in FreeBSD 6.2-RELEASE/amd64, now from ports, with
 des updates from july 25 (Varnish 1.1 + vendor fixes).

 I am running varnishd with -T localhost:8080. Also, my kernel has IPV6
 support removed. Localhost in /etc/hosts has only an IPv4 address,
 127.0.0.1.

 When running varnishadm, it fails:

 varnishadm -T localhost:8080 help
 Command failed with error code 101

 And varnishd + management process dies:

 CLI <helponst char *, ...);>
 Assert error in mgt_cli_callback(), mgt_cli.c line 324:
   Condition(i <= cp->nbuf) not true.
   errno = 0 (Unknown error: 0)
 Abort trap (core dumped)

 Using IP address does not help:

 varnishadm -T 127.0.0.1:8080 help

 Using other commands, like vcl.list fails with the same assert error.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/134>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list