[Varnish] #693: Assert error in WS_Release(), cache_ws.c line 175

Varnish varnish-bugs at varnish-cache.org
Mon May 10 15:28:03 CEST 2010


#693: Assert error in WS_Release(), cache_ws.c line 175
-------------------+--------------------------------------------------------
 Reporter:  tore   |        Type:  defect
   Status:  new    |    Priority:  normal
Milestone:         |   Component:  build 
  Version:  2.1.0  |    Severity:  normal
 Keywords:         |  
-------------------+--------------------------------------------------------
Description changed by phk:

Old description:

> The following errors appeared in the logs yesterday:
> {{{
> May  2 17:43:15 joanie varnishd[27393]: Child (27398) died signal=6
> May  2 17:43:15 joanie varnishd[27393]: Child (27398) Panic message:
> Assert error in WS_Release(), cache_ws.c line 175:   Condition(bytes <=
> ws->e - ws->f) not true. thread = (cache-worker) ident =
> Linux,2.6.18-53.1.21.el5,x86_64,-smalloc,-hcritbit,epoll Backtrace:
> 0x421e36: pan_ic+b6   0x42c5c5: WS_Release+e5   0x426eda:
> vrt_assemble_string+aa   0x42aeb5: VRT_SetHdr+f5   0x2aae5b406ddd:
> _end+2aae5ad96ed5   0x426416: VCL_deliver_method+46   0x412e0f:
> cnt_deliver+13f   0x413b59: CNT_Session+369   0x424228:
> wrk_do_cnt_sess+b8   0x42352e: wrk_thread_real+32e sp = 0x2aacace35008 {
> fd = 2210, id = 2210, xid = 673071254,   client = 85.165.170.142:54967,
> step = STP_DELIVER,   handling = deliver,   err_code = 200, err_reason =
> (null),   restarts = 0, esis = 0   ws = 0x2aacace35078 {      id =
> "sess",     {s,f,r,e} = {0x2aacace35c90,+495,(nil),+65536},   },
> http[req] = {     ws = 0x2aacace35078[sess]       "GET",       "/tv-
> guide/css/favstar.png",       "HTTP/1.1",       "Accept: */*",
> "Referer: http://w
> May  2 17:43:15 joanie varnishd[27393]: child (32486) Started
> May  2 17:43:15 joanie varnishd[27393]: Child (32486) said Closed fds: 3
> 4 5 9 10 12 13
> May  2 17:43:15 joanie varnishd[27393]: Child (32486) said Child starts
> }}}
> And on another machine:
> {{{
> May  2 20:50:18 dexter varnishd[23728]: Child (22882) died signal=6
> May  2 20:50:18 dexter varnishd[23728]: Child (22882) Panic message:
> Assert error in WS_Release(), cache_ws.c line 175:   Condition(bytes <=
> ws->e - ws->f) not true. thread = (cache-worker) ident =
> Linux,2.6.18-164.15.1.el5,x86_64,-smalloc,-hcritbit,epoll Backtrace:
> 0x421e36: pan_ic+b6   0x42c5c5: WS_Release+e5   0x426eda:
> vrt_assemble_string+aa   0x42aeb5: VRT_SetHdr+f5   0x2aadb8c06d9f:
> _end+2aadb8596e97   0x426416: VCL_deliver_method+46   0x412e0f:
> cnt_deliver+13f   0x413b59: CNT_Session+369   0x424228:
> wrk_do_cnt_sess+b8   0x42352e: wrk_thread_real+32e sp = 0x2aad132cc008 {
> fd = 3485, id = 3485, xid = 2325556459,   client = 171.23.129.9:23438,
> step = STP_DELIVER,   handling = deliver,   err_code = 200, err_reason =
> (null),   restarts = 0, esis = 0   ws = 0x2aad132cc078 {      id =
> "sess",     {s,f,r,e} = {0x2aad132ccc90,+516,(nil),+65536},   },
> http[req] = {     ws = 0x2aad132cc078[sess]       "GET",       "/tv-
> guide/css/icon_calendar.png",       "HTTP/1.1",       "Accept: */*",
> "Referer: ht
> May  2 20:50:18 dexter varnishd[23728]: child (1153) Started
> May  2 20:50:18 dexter varnishd[23728]: Child (1153) said Closed fds: 3 4
> 5 9 10 12 13
> May  2 20:50:18 dexter varnishd[23728]: Child (1153) said Child starts
> }}}
> I don't think it led to any serious consequences though.
>
> Tore

New description:

 The following errors appeared in the logs yesterday:
 {{{
 May  2 17:43:15 joanie varnishd[27393]: Child (27398) died signal=6
 May  2 17:43:15 joanie varnishd[27393]: Child (27398) Panic message:
 Assert error in WS_Release(), cache_ws.c line 175:   Condition(bytes <=
 ws->e - ws->f) not true. thread = (cache-worker) ident =
 Linux,2.6.18-53.1.21.el5,x86_64,-smalloc,-hcritbit,epoll Backtrace:
    0x421e36: pan_ic+b6
    0x42c5c5: WS_Release+e5
    0x426eda: vrt_assemble_string+aa
    0x42aeb5: VRT_SetHdr+f5
    0x2aae5b406ddd: _end+2aae5ad96ed5
    0x426416: VCL_deliver_method+46
    0x412e0f: cnt_deliver+13f
    0x413b59: CNT_Session+369
    0x424228: wrk_do_cnt_sess+b8
    0x42352e: wrk_thread_real+32e
  sp = 0x2aacace35008 {
    fd = 2210, id = 2210, xid = 673071254,
    client = 85.165.170.142:54967,
    step = STP_DELIVER,
    handling = deliver,
    err_code = 200, err_reason = (null),
    restarts = 0, esis = 0
    ws = 0x2aacace35078 {
       id = "sess",
      {s,f,r,e} = {0x2aacace35c90,+495,(nil),+65536},
    },
    http[req] = {
      ws = 0x2aacace35078[sess]
        "GET",
        "/tv-guide/css/favstar.png",
        "HTTP/1.1",
        "Accept: */*",
        "Referer: http://w
 May  2 17:43:15 joanie varnishd[27393]: child (32486) Started
 May  2 17:43:15 joanie varnishd[27393]: Child (32486) said Closed fds: 3 4
 5 9 10 12 13
 May  2 17:43:15 joanie varnishd[27393]: Child (32486) said Child starts
 }}}
 And on another machine:
 {{{
 May  2 20:50:18 dexter varnishd[23728]: Child (22882) died signal=6
 May  2 20:50:18 dexter varnishd[23728]: Child (22882) Panic message:
 Assert error in WS_Release(), cache_ws.c line 175:   Condition(bytes <=
 ws->e - ws->f) not true. thread = (cache-worker) ident =
 Linux,2.6.18-164.15.1.el5,x86_64,-smalloc,-hcritbit,epoll Backtrace:
    0x421e36: pan_ic+b6
    0x42c5c5: WS_Release+e5
    0x426eda: vrt_assemble_string+aa
    0x42aeb5: VRT_SetHdr+f5
    0x2aadb8c06d9f: _end+2aadb8596e97
    0x426416: VCL_deliver_method+46
    0x412e0f: cnt_deliver+13f
    0x413b59: CNT_Session+369
    0x424228: wrk_do_cnt_sess+b8
    0x42352e: wrk_thread_real+32e sp = 0x2aad132cc008 {
    fd = 3485, id = 3485, xid = 2325556459,
    client = 171.23.129.9:23438,
    step = STP_DELIVER,
    handling = deliver,
    err_code = 200, err_reason = (null),
    restarts = 0, esis = 0
    ws = 0x2aad132cc078 {
       id = "sess",
      {s,f,r,e} = {0x2aad132ccc90,+516,(nil),+65536},
    },
    http[req] = {
      ws = 0x2aad132cc078[sess]
        "GET",
        "/tv-guide/css/icon_calendar.png",
        "HTTP/1.1",
        "Accept: */*",
        "Referer: ht
 May  2 20:50:18 dexter varnishd[23728]: child (1153) Started
 May  2 20:50:18 dexter varnishd[23728]: Child (1153) said Closed fds: 3 4
 5 9 10 12 13
 May  2 20:50:18 dexter varnishd[23728]: Child (1153) said Child starts
 }}}
 I don't think it led to any serious consequences though.

 Tore

--

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




More information about the varnish-bugs mailing list