[Varnish] #1284: varnishd assert in cnt_error when producing 503 after STV_NewObject fails in cnt_fetchbody()

Varnish varnish-bugs at varnish-cache.org
Mon Mar 18 15:34:55 CET 2013


#1284: varnishd assert in cnt_error when producing 503 after STV_NewObject fails
in cnt_fetchbody()
----------------------+-------------------
 Reporter:  martin    |      Owner:
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  varnishd  |    Version:  trunk
 Severity:  normal    |   Keywords:
----------------------+-------------------
 Only applicable to master.

 Assert message:
 {{{
 Child (20807) Panic message: Assert error in cnt_error(),
 cache/cache_req_fsm.c line 266:\n
   Condition((req->objcore) == 0) not true.\n
 thread = (cache-worker)\n
 ident = Linux,3.2.0-4-amd64,x86_64,-smalloc,-smalloc,-hcritbit,epoll\n
 Backtrace:\n
   0x43a803: sess_close_2str+12b4\n
   0x43ab30: sess_close_2str+15e1\n
   0x43de0a: Pool_Init+e77\n
   0x442092: CNT_Request+5e3\n
   0x433fa2: HTTP1_Session+436\n
   0x444654: SES_Charge+7ab\n
   0x44489f: SES_Charge+9f6\n
   0x444d01: SES_pool_accept_task+210\n
   0x43c394: Pool_Work_Thread+3eb\n
   0x4567ec: WRK_BgThread+28f\n
 req = 0x7f532eb15020 {\n
   sp = 0x7f532eb0c320, vxid = 1073742831,  step = R_STP_ERROR,\n
   req_body = R_BODY_NONE,\n
   handling = deliver,\n
   err_code = 503, err_reason = (null),\n
   restarts = 0, esi_level = 0\n
   sp = 0x7f532eb0c320 {\n
     fd = 14, vxid = 1006,\n
     client = 127.0.0.1 46731,\n
     step = S_STP_WORKING,\n
   },\n
   worker = 0x7f5328ecec70 {\n
     ws = 0x7f5328ecee60 { \n
       id = "wrk",\n
       {s,f,r,e} = {0x7f5328ece430,0x7f5328ece430,(nil),+2048},\n
     },\n
   },\n
   ws = 0x7f532eb151b8 { \n
     id = "req",\n
     {s,f,r,e} = {0x7f532eb167c8,+88,(nil),+59480},\n
   },\n
   http[req] = {\n
     ws = 0x7f532eb151b8[req]\n
       "GET",\n
       "/obj3",\n
       "HTTP/1.1",\n
       "X-Forwarded-For: 127.0.0.1",\n
   },\n
   vcl = {\n
     srcname = {\n
       "input",\n
       "Default",\n
     },\n
   },\n
 },\n
 \n
 \n
 }}}

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




More information about the varnish-bugs mailing list