[Varnish] #863: crash in vcl.discard when using dns director (2.1.5)

Varnish varnish-bugs at varnish-cache.org
Wed Feb 23 21:18:00 CET 2011


#863: crash in vcl.discard when using dns director (2.1.5)
----------------------+-----------------------------------------------------
 Reporter:  askalski  |        Type:  defect  
   Status:  new       |    Priority:  normal  
Milestone:            |   Component:  varnishd
  Version:            |    Severity:  normal  
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by askalski):

 In the generated C code, the director is freed twice:

 {{{
 static void
 VGC_Fini(struct cli *cli)
 {

         VRT_fini_dir(cli, VGCDIR(_default));  // once...
         VRT_fini_dir(cli, VGCDIR(default_1));
         VRT_fini_dir(cli, VGCDIR(default_2));
         VRT_fini_dir(cli, VGCDIR(default_3));
         VRT_fini_dir(cli, VGCDIR(default_4));
         VRT_fini_dir(cli, VGCDIR(_default));  // ...and again
         VRT_re_fini(VGC_re_0);
 }
 }}}

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




More information about the varnish-bugs mailing list