[Varnish] #1629: Assert error in SES_ReleaseReq(), ../../include/tbl/acct_fields_req.h line 33

Varnish varnish-bugs at varnish-cache.org
Mon Nov 17 12:04:24 CET 2014


#1629: Assert error in SES_ReleaseReq(), ../../include/tbl/acct_fields_req.h line
33
----------------------+------------------------------
 Reporter:  xieyugui  |       Owner:
     Type:  defect    |      Status:  new
 Priority:  normal    |   Milestone:  Varnish 4.0-TP2
Component:  varnishd  |     Version:  4.0.2
 Severity:  normal    |  Resolution:
 Keywords:            |
----------------------+------------------------------
Description changed by phk:

Old description:

> Nov 17 16:52:01 localhost /xxx/varnish/var/varnish/cache[17234]: Child
> (17236) Panic message:#012Assert error in SES_ReleaseReq(),
> ../../include/tbl/acct_fields_req.h line 33:#012
> Condition((req->acct.req_hdrbytes) == 0) not true.#012thread = (cache-
> worker)#012ident =
> Linux,2.6.32-358.el6.x86_64,x86_64,-smalloc,-sfile,-sfile,-smalloc,-hcritbit,epoll#012Backtrace:#012
> 0x431015: pan_ic+0xc5#012  0x43960d: SES_ReleaseReq+0x27d#012  0x43a203:
> SES_ScheduleReq+0xa3#012  0x423e90: hsh_rush+0xa0#012  0x424161:
> HSH_Unbusy+0xf1#012  0x41ea46: vbf_stp_fetch+0x526#012  0x41f0db:
> vbf_fetch_thread+0x20b#012  0x433ab7: Pool_Work_Thread+0x357#012
> 0x446719: wrk_thread_real+0xb9#012  0x7f8ec1abf9d1:
> /lib64/libpthread.so.0(+0x79d1) [0x7f8ec1abf9d1]#012  busyobj =
> 0x7f45f8e9b240 {#012    ws = 0x7f45f8e9b300 {#012      id = "bo",#012
> {s,f,r,e} = {0x7f45f8e9f868,+1856,(nil),+113112},#012    },#012  refcnt =
> 2#012  retries = 0#012  failed = 0#012  state = 1#012    is_do_stream#012
> is_is_gunzip#012    is_should_close#012    bodystatus = 3 (length),#012
> },#012    http[bereq] = {#012      ws = 0x7f45f8e9b300[bo]#012
> "GET",#012        "/manhuatuku/3670/20131031161810322.jpg",#012
> "HTTP/1.1",#012        "X-Real-IP: 127.0.0.1",#012        "User-Agent:
> Mozilla/5.0",#012        "Referer:
> http://www.xxx.com/manhua/3670/240059.html?p=5",#012        "X-Forwarded-
> For: 10.0.0.21, 127.0.0.1, 10.0.0.22, 10.0.0.22",#012        "Host:
> cartoon.xxxx.cc",#012        "grace: none",#012        "Accept-Encoding:
> gzip",#012        "X-Varnish: 233308163",#012        "connection:
> close",#012    },#012    http[beresp] = {#012      ws =
> 0x7f45f8e9b300[bo]#012        "HTTP/1.1",#012        "200",#012
> "OK",#012        "Cache-Control: max-age=31536000",#012        "Content-
> Type: image/jpeg",#012        "Last-Modified: Thu, 31 Oct 2013 08:18:10
> GMT",#012        "Accept-Ranges: bytes",#012        "ETag:
> "578437bc11d6ce1:0"",#012        "Server: Microsoft-IIS/7.5",#012
> "Date: Mon, 17 Nov 2014 08:48:40 GMT",#012

New description:

 {{{
 v 17 16:52:01 localhost /xxx/varnish/var/varnish/cache[17234]:
 Child (17236) Panic message:
 Assert error in SES_ReleaseReq(), ../../include/tbl/acct_fields_req.h line
 33:
   Condition((req->acct.req_hdrbytes) == 0) not true.
 thread = (cache-worker)
 ident =
 Linux,2.6.32-358.el6.x86_64,x86_64,-smalloc,-sfile,-sfile,-smalloc,-hcritbit,epoll
 Backtrace:
   0x431015: pan_ic+0xc5
   0x43960d: SES_ReleaseReq+0x27d
   0x43a203: SES_ScheduleReq+0xa3
   0x423e90: hsh_rush+0xa0
   0x424161: HSH_Unbusy+0xf1
   0x41ea46: vbf_stp_fetch+0x526
   0x41f0db: vbf_fetch_thread+0x20b
   0x433ab7: Pool_Work_Thread+0x357
   0x446719: wrk_thread_real+0xb9
   0x7f8ec1abf9d1: /lib64/libpthread.so.0(+0x79d1) [0x7f8ec1abf9d1]
   busyobj = 0x7f45f8e9b240 {
     ws = 0x7f45f8e9b300 {
       id = "bo",
       {s,f,r,e} = {0x7f45f8e9f868,+1856,(nil),+113112},
     },
   refcnt = 2
   retries = 0
   failed = 0
   state = 1
     is_do_stream
     is_is_gunzip
     is_should_close
     bodystatus = 3 (length),
     },
     http[bereq] = {
       ws = 0x7f45f8e9b300[bo]
         "GET",
         "/manhuatuku/3670/20131031161810322.jpg",
         "HTTP/1.1",
         "X-Real-IP: 127.0.0.1",
         "User-Agent: Mozilla/5.0",
         "Referer: http://www.xxx.com/manhua/3670/240059.html?p=5",
         "X-Forwarded-For: 10.0.0.21, 127.0.0.1, 10.0.0.22, 10.0.0.22",
         "Host: cartoon.xxxx.cc",
         "grace: none",
         "Accept-Encoding: gzip",
         "X-Varnish: 233308163",
         "connection: close",
     },
     http[beresp] = {
       ws = 0x7f45f8e9b300[bo]
         "HTTP/1.1",
         "200",
         "OK",
         "Cache-Control: max-age=31536000",
         "Content-Type: image/jpeg",
         "Last-Modified: Thu, 31 Oct 2013 08:18:10 GMT",
         "Accept-Ranges: bytes",
         "ETag: "578437bc11d6ce1:0"",
         "Server: Microsoft-IIS/7.5",
         "Date: Mon, 17 Nov 2014 08:48:40 GMT",
 }}}

--

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



More information about the varnish-bugs mailing list