[Varnish] #945: segfault at vlc.discard

Varnish varnish-bugs at varnish-cache.org
Thu Jun 30 11:51:18 CEST 2011


#945: segfault at vlc.discard
--------------------+-------------------------------------------------------
 Reporter:  elurin  |        Type:  defect
   Status:  new     |    Priority:  normal
Milestone:          |   Component:  build 
  Version:  3.0.0   |    Severity:  normal
 Keywords:          |  
--------------------+-------------------------------------------------------
Description changed by phk:

Old description:

> Varnish 3.0 crash at vcl.discard operation:
>
> vcl.load testname /etc/varnish/beta-maps.vcl
> 200 13
> VCL compiled.
> vcl.discard testname
> Child (19143) not responding to CLI, killing it.
> 400 29
> CLI communication error (hdr)
> Child (19143) died signal=6
> Child (19143) Panic message: Assert error in VBP_Stop(),
> cache_backend_poll.c line 543:
>   Condition((vcl) != 0) not true.
> thread = (cache-main)
> ident = Linux,2.6.33-5-server,x86_64,-smalloc,-smalloc,-hcritbit,epoll
> Backtrace:
>   0x42c247: /usr/sbin/varnishd [0x42c247]
>   0x411c04: /usr/sbin/varnishd(VBP_Stop+0x144) [0x411c04]
>   0x40fae8: /usr/sbin/varnishd [0x40fae8]
>   0x4109af: /usr/sbin/varnishd(VRT_fini_dir+0x6f) [0x4109af]
>   0x7fb9c62fb0aa: ./vcl.2ejNwRGh.so [0x7fb9c62fb0aa]
>   0x43206f: /usr/sbin/varnishd [0x43206f]
>   0x7fb9fc21bf38: /usr/lib/varnish/libvarnish.so [0x7fb9fc21bf38]
>   0x7fb9fc21c2af: /usr/lib/varnish/libvarnish.so [0x7fb9fc21c2af]
>   0x7fb9fc21ef07: /usr/lib/varnish/libvarnish.so [0x7fb9fc21ef07]
>   0x7fb9fc21b0c9: /usr/lib/varnish/libvarnish.so(VCLS_Poll+0x179)
> [0x7fb9fc21b0c9]
>

> Child cleanup complete
> child (19612) Started
> Child (19612) said Child starts
>
> I have some directors in my config, like:
> irector test random {
> {
> .backend =   {
>     .host = "192.168.0.1";
>     .port = "80";
>     .connect_timeout = 5s;
>     .probe = {
>              .request =
>                 "GET /tiles?query HTTP/1.1"
>                 "Host: mytest.ru"
>                 "Connection: close";
>              .timeout = 10s;
>              .window = 1;
>              .threshold = 1;
>              .interval = 1s;
>         }
>     }
> .weight = 10;
> }
> {
> .backend =   {
>     .host = "192.168.0.2";
>     .port = "80";
>     .connect_timeout = 5s;
>     .probe = {
>              .request =
>                 "GET /tiles?query HTTP/1.1"
>                 "Host: mytest.ru"
>                 "Connection: close";
>              .timeout = 10s;
>              .window = 1;
>              .threshold = 1;
>              .interval = 1s;
>         }
>     }
> .weight = 10;
> }
> }

New description:

 Varnish 3.0 crash at vcl.discard operation:
 {{{
 vcl.load testname /etc/varnish/beta-maps.vcl
 200 13
 VCL compiled.
 vcl.discard testname
 Child (19143) not responding to CLI, killing it.
 400 29
 CLI communication error (hdr)
 Child (19143) died signal=6
 Child (19143) Panic message: Assert error in VBP_Stop(),
 cache_backend_poll.c line 543:
   Condition((vcl) != 0) not true.
 thread = (cache-main)
 ident = Linux,2.6.33-5-server,x86_64,-smalloc,-smalloc,-hcritbit,epoll
 Backtrace:
   0x42c247: /usr/sbin/varnishd [0x42c247]
   0x411c04: /usr/sbin/varnishd(VBP_Stop+0x144) [0x411c04]
   0x40fae8: /usr/sbin/varnishd [0x40fae8]
   0x4109af: /usr/sbin/varnishd(VRT_fini_dir+0x6f) [0x4109af]
   0x7fb9c62fb0aa: ./vcl.2ejNwRGh.so [0x7fb9c62fb0aa]
   0x43206f: /usr/sbin/varnishd [0x43206f]
   0x7fb9fc21bf38: /usr/lib/varnish/libvarnish.so [0x7fb9fc21bf38]
   0x7fb9fc21c2af: /usr/lib/varnish/libvarnish.so [0x7fb9fc21c2af]
   0x7fb9fc21ef07: /usr/lib/varnish/libvarnish.so [0x7fb9fc21ef07]
   0x7fb9fc21b0c9: /usr/lib/varnish/libvarnish.so(VCLS_Poll+0x179)
 [0x7fb9fc21b0c9]


 Child cleanup complete
 child (19612) Started
 Child (19612) said Child starts

 I have some directors in my config, like:
 irector test random {
 {
 .backend =   {
     .host = "192.168.0.1";
     .port = "80";
     .connect_timeout = 5s;
     .probe = {
              .request =
                 "GET /tiles?query HTTP/1.1"
                 "Host: mytest.ru"
                 "Connection: close";
              .timeout = 10s;
              .window = 1;
              .threshold = 1;
              .interval = 1s;
         }
     }
 .weight = 10;
 }
 {
 .backend =   {
     .host = "192.168.0.2";
     .port = "80";
     .connect_timeout = 5s;
     .probe = {
              .request =
                 "GET /tiles?query HTTP/1.1"
                 "Host: mytest.ru"
                 "Connection: close";
              .timeout = 10s;
              .window = 1;
              .threshold = 1;
              .interval = 1s;
         }
     }
 .weight = 10;
 }
 }
 }}}

--

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




More information about the varnish-bugs mailing list