[Varnish] #1539: Assert error in cnt_lookup(), cache/cache_req_fsm.c line 411:

Varnish varnish-bugs at varnish-cache.org
Thu Jan 29 12:38:59 CET 2015


#1539: Assert error in cnt_lookup(), cache/cache_req_fsm.c line 411:
-----------------------+----------------------------------
 Reporter:  shing6326  |       Owner:
     Type:  defect     |      Status:  reopened
 Priority:  normal     |   Milestone:  Varnish 4.0 release
Component:  varnishd   |     Version:  4.0.1
 Severity:  normal     |  Resolution:
 Keywords:             |
-----------------------+----------------------------------
Changes (by xcir):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Hi,
 I caught the error that is similar in the varnish4.0.3-rc2
 (b62b01144ed845a76455d2722c765ac47571605d)

 {{{
 Last panic at: Mon, 26 Jan 2015 15:20:02 GMT
 Assert error in cnt_lookup(), cache/cache_req_fsm.c line 430:
   Condition((oc->exp_flags & (1<<7)) == 0) not true.
 thread = (cache-worker)
 version = varnish-4.0.3-rc2 revision NOGIT
 ident =
 Linux,2.6.32-431.17.1.el6.x86_64,x86_64,-smalloc,-sfile,-sfile,-smalloc,-hcritbit,epoll
 Backtrace:
   0x431c15: pan_ic+0x145
   0x435740: cnt_purge+0x0
   0x436f71: CNT_Request+0x241
   0x417b95: ESI_Deliver+0x855
   0x439058: V1D_Deliver+0x748
   0x436526: cnt_deliver+0x296
   0x436e69: CNT_Request+0x139
   0x42c183: HTTP1_Session+0x543
   0x43ab48: ses_req_pool_task+0x68
   0x434695: Pool_Work_Thread+0x365
 req = 0x7f7cad641530 {
   sp = 0x18f8670, vxid = 1141003282,  step = R_STP_LOOKUP,
   req_body = R_BODY_NONE,
   restarts = 0, esi_level = 1,
   sp = 0x18f8670 {
     fd = 122, vxid = 67324354,
     client = *** ***,
     step = S_STP_WORKING,
   },
   worker = 0x7f7c8b3b0c30 {
     ws = 0x7f7c8b3b0e50 {
       id = "wrk",
       {s,f,r,e} = {0x7f7c8b3b0420,0x7f7c8b3b0420,(nil),+2048},
     },
   VCL::method = 0x0,
   VCL::return = deliver,
   },
   ws = 0x7f7cad6416c8 {
     id = "req",
     {s,f,r,e} = {0x7f7cad643520,0x7f7cad643520,(nil),+122896},
   },
   http[req] = {
     ws = 0x7f7cae0c3538[req]
       "GET",
       "***",
       "HTTP/1.1",
       "Accept: text/html, application/xhtml+xml, */*",
       "Accept-Language: ja-JP",
       "User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1;
 Trident/6.0)",
       "DNT: 1",
       "Connection: Keep-Alive",
       "X-Full-Uri: ***",
       "X-Forwarded-For: ***",
       "host: ***",
       "x-storage: file",
       "x-varnish-ttl: 600s",
       "x-v-doesi: 1",
       "Accept-Encoding: gzip",
   },
   vcl = {
     srcname = {
       "input",
       "Builtin",
       "/etc/varnish/***.vcl",
       "/etc/varnish/***.vcl",
       "/etc/varnish/***.vcl",
       "/etc/varnish/***.vcl",
       "/etc/varnish/***.vcl",
       "/etc/varnish/***.vcl",
       "/etc/varnish/***.vcl",
     },
   },
   obj (REQ) = 0x7f7f94dcc000 {
     vxid = 2201367624,
     http[obj] = {
       ws = (nil)[]
         "HTTP/1.1",
         "200",
         "OK",
         "Server: Apache",
         "X-Powered-By: PHP/5.3.15",
         "Content-Type: text/html; charset=UTF-8",
         "Date: Mon, 26 Jan 2015 14:10:00 GMT",
         "X-Varnish: 290092700",
         "Via: 1.1 varnish",
         "Vary: Accept-Encoding",
         "x-storage: file",
         "x-src-url: ***",
         "x-src-host: ***",
         "Content-Encoding: gzip",
     },
     len = 513,
     store = {
       513 {
         1f 8b 08 00 00 00 00 00 00 03 00 00 00 ff ff a4 |................|
         94 df 6a d4 40 14 c6 5f 25 cc 85 77 cd 64 26 7f |..j. at .._%..w.d&.|
         36 d1 24 3e 4a c8 ee ce 6e a6 4e b2 21 99 b4 b7 |6.$>J...n.N.!...|
         ce 44 11 b6 17 5e 88 08 de aa 45 59 0a 82 e0 45 |.D...^....EY...E|
         [449 more]
       },
     },
   },
 },


 }}}

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



More information about the varnish-bugs mailing list