[Varnish] #543: vcl.discard causes crash

Varnish varnish-bugs at projects.linpro.no
Tue Aug 18 08:41:01 CEST 2009


#543: vcl.discard causes crash
----------------------+-----------------------------------------------------
 Reporter:  sky       |        Owner:  phk  
     Type:  defect    |       Status:  new  
 Priority:  normal    |    Milestone:       
Component:  varnishd  |      Version:  trunk
 Severity:  normal    |   Resolution:       
 Keywords:            |  
----------------------+-----------------------------------------------------
Old description:

> {{{
> Aug 17 23:55:31 varnish2 varnishd[16391]: Child (308) Panic message:
> Assert erro
> r in STV_alloc(), stevedore.c line 71:   Condition((st) != NULL) not
> true.  errn
> o = 104 (Connection reset by peer)  thread = (cache-worker)sp =
> 0x7f93ffc02008 {
>   fd = 1654, id = 1654, xid = 741934159,   client = 208.68.167.133:56858,
> ste
> p = STP_FETCH,   handling = discard,   err_code = 200, err_reason =
> (null),   ws
> = 0x7f93ffc02080 {      id = "sess",     {s,f,r,e} =
> {0x7f93ffc02820,,+3084,(ni
> l),+131072},   },     worker = 0x7f98f4b90bd0 {     },     vcl = {
> srcname
> = {         "input",         "Default",
> "/etc/varnish/yellowiki.vcl",
>       "/etc/varnish/SJC_backends.vcl",
> "/etc/varnish/routing.vcl",       },     },   obj = 0x7fb986e90000 {
> refcnt = 1, xid = 741934159,     ws = 0x7fb986e90028 {        id = "obj",
> {s,f,r,e} = {0x7fb986e90358,,+238,(nil),+3240},     },     http = {
> ws = 0x7fb986e90028 {          id = "obj",         {s,f,r,e} =
> {0x7fb986e90358,,+238,(nil),+3240},       },
>

> }}}

New description:

 {{{
 Aug 17 23:55:31 varnish2 varnishd[16391]:
 Child (308) Panic message:
 Assert error in STV_alloc(), stevedore.c line 71:
 Condition((st) != NULL) not true.
 errno = 104 (Connection reset by peer)
   thread = (cache-worker)
   sp = 0x7f93ffc02008 {
   fd = 1654, id = 1654, xid = 741934159,
    client = 208.68.167.133:56858,
    step = STP_FETCH,
    handling = discard,
    err_code = 200,
    err_reason = (null),
    ws = 0x7f93ffc02080 {
       id = "sess",
      {s,f,r,e} = {0x7f93ffc02820,,+3084,(nil),+131072},
    },
      worker = 0x7f98f4b90bd0 {
      },
      vcl = {
        srcname= {
          "input",
          "Default",
          "/etc/varnish/yellowiki.vcl",
          "/etc/varnish/SJC_backends.vcl",
          "/etc/varnish/routing.vcl",
        },
      },
    obj = 0x7fb986e90000 {
      refcnt = 1, xid = 741934159,
      ws = 0x7fb986e90028 {
         id = "obj",
        {s,f,r,e} = {0x7fb986e90358,,+238,(nil),+3240},
      },
      http = {
        ws = 0x7fb986e90028 {
           id = "obj",
          {s,f,r,e} = {0x7fb986e90358,,+238,(nil),+3240},
        },
 }}}

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


More information about the varnish-bugs mailing list