[Varnish] #1807: Assert error in cnt_deliver()

Varnish varnish-bugs at varnish-cache.org
Thu Oct 22 16:33:56 CEST 2015


#1807: Assert error in cnt_deliver()
--------------------------+----------------------
 Reporter:  llavaud       |       Type:  defect
   Status:  new           |   Priority:  normal
Milestone:                |  Component:  varnishd
  Version:  4.1.0-TP1     |   Severity:  normal
 Keywords:  Assert error  |
--------------------------+----------------------
 {{{
 webcache12:~# varnishadm panic.show
 Last panic at: Wed, 21 Oct 2015 18:17:05 GMT
 Assert error in cnt_deliver(), cache/cache_req_fsm.c line 119:
   Condition((HTTP_Decode(req->resp, ObjGetattr(req->wrk, req->objcore,
 OA_HEADERS, ((void *)0)))) == 0) not true.
 thread = (cache-worker)
 version = varnish-4.1.0-tp1 revision 0e4e1bc
 ident = Linux,3.2.0-4-amd64,x86_64,-junix,-sfile,-smalloc,-hcritbit,epoll
 Backtrace:
   0x4343a4: pan_ic+0x134
   0x43938b: CNT_Request+0x23cb
   0x44eba3: HTTP1_Session+0x133
   0x43a841: SES_Proto_Req+0x61
   0x44947a: WRK_Thread+0x48a
   0x4499eb: pool_thread+0x2b
   0x7f02e6346b50: libpthread.so.0(+0x6b50) [0x7f02e6346b50]
   0x7f02e609095d: libc.so.6(clone+0x6d) [0x7f02e609095d]
 req = 0x7ee940406020 {
   sp = 0x7ee905224d20, vxid = 862409941,  step = R_STP_DELIVER,
   req_body = R_BODY_TAKEN,
   restarts = 0, esi_level = 0,
   sp = 0x7ee905224d20 {
     fd = 804, vxid = 862409940,
     client = xxx.xxx.xxx.xxx 11623,
     step = S_STP_H1PROC,
   },
   worker = 0x7ee9cb336c30 {
     stack = {0x7ee9cb337000 -> 0x7ee9cb32b000}
     ws = 0x7ee9cb336e30 {
       id = "wrk",
       {s,f,r,e} = {0x7ee9cb335bd0,0x7ee9cb335bd0,(nil),+4088},
     },
     VCL::method = PASS,
     VCL::return = fetch,
     VCL::methods = {RECV, PASS, HASH},
   },
   ws = 0x7ee940406220 {
     id = "req",
     {s,f,r,e} = {0x7ee940408028,+11816,(nil),+253904},
   },
   http[req] = {
     ws = 0x7ee940406220[req]
       "POST",
       "/action/login",
       "HTTP/1.1",
       "Connection: keep-alive",
       "Content-Length: 260",
       "Accept: application/json, text/javascript, */*",
       "Origin: http://replay.gulli.fr",
       "X-Requested-With: XMLHttpRequest",
       "User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36",
       "Content-Type: application/x-www-form-urlencoded",
       "Referer:
 http://replay.gulli.fr/action/login?ReturnUrl=http://replay.gulli.fr/recherche/replay?searchText=Chica+vampiro?return_modal=http://replay.gulli.fr/layout/set/ajax/replay/favori/(prog)/chica_vampiro",
       "Accept-Encoding: gzip, deflate",
       "Accept-Language: fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4",
       "X-Forwarded-For: xxx.xxx.xxx.xxx",
       "Host: replay.gulli.fr",
       "Surrogate-Capability: abc=ESI/1.0",
       "Cookie: my_cookies",
   },
   http[resp] = {
     ws = 0x7ee940406220[req]
   },
   vcl = {
     srcname = {
       "input",
       "Builtin",
       "/etc/varnish/backends/probe.vcl",
       "/etc/varnish/backends/webssi.vcl",
       "/etc/varnish/backends/webdyn.vcl",
       "/etc/varnish/backends/webservice.vcl",
       "/etc/varnish/backends/bograph.vcl",
       "/etc/varnish/acl.vcl",
       "/etc/varnish/rules/init.vcl",
       "/etc/varnish/rules/recv.vcl",
       "/etc/varnish/rules/hash.vcl",
       "/etc/varnish/rules/hit.vcl",
       "/etc/varnish/rules/miss.vcl",
       "/etc/varnish/rules/backend_fetch.vcl",
       "/etc/varnish/rules/backend_response.vcl",
       "/etc/varnish/rules/backend_error.vcl",
       "/etc/varnish/rules/deliver.vcl",
       "/etc/varnish/rules/synth.vcl",
       "/etc/varnish/rules/pipe.vcl",
     },
   },
   objcore (REQ) = 0x7ee9b3b2c840 {
     refcnt = 1
     flags = 0x104
     objhead = 0x7f02e54ee500
     stevedore = 0x7f02e54eb240 (malloc Transient)
   }
   flags = {
     wantbody,
   }
 },

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1807>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list