[Varnish] #1463: Assert in cnt_lookup(), cache/cache_req_fsm.c line 417

Varnish varnish-bugs at varnish-cache.org
Tue Apr 22 22:45:24 CEST 2014


#1463: Assert in cnt_lookup(), cache/cache_req_fsm.c line 417
----------------------+---------------------
 Reporter:  lkarsten  |       Owner:
     Type:  defect    |      Status:  closed
 Priority:  normal    |   Milestone:
Component:  varnishd  |     Version:  trunk
 Severity:  normal    |  Resolution:  fixed
 Keywords:            |
----------------------+---------------------

Comment (by patrice):

 hit the bug today on 4.0.0 ubuntu packaged version :
 {{{
 root at sc95:/etc# varnishd -V
 varnishd (varnish-4.0.0 revision 2acedeb)
 Copyright (c) 2006 Verdens Gang AS
 Copyright (c) 2006-2011 Varnish Software AS
 }}}

 {{{
 varnish> panic.show
 200
 Last panic at: Tue, 22 Apr 2014 19:46:37 GMT
 Assert error in cnt_lookup(), cache/cache_req_fsm.c line 416:
   Condition((oc->exp_flags & (1<<7)) == 0) not true.
 thread = (cache-worker)
 ident = Linux,3.11.0-12-generic,x86_64,-sfile,-smalloc,-hcritbit,epoll
 Backtrace:
   0x4325b5: /usr/sbin/varnishd() [0x4325b5]
   0x4356f6: /usr/sbin/varnishd() [0x4356f6]
   0x436001: /usr/sbin/varnishd(CNT_Request+0x841) [0x436001]
   0x42cccb: /usr/sbin/varnishd(HTTP1_Session+0x3eb) [0x42cccb]
   0x439f78: /usr/sbin/varnishd() [0x439f78]
   0x43aff9: /usr/sbin/varnishd(SES_pool_accept_task+0x2a9) [0x43aff9]
   0x434ab4: /usr/sbin/varnishd(Pool_Work_Thread+0xb4) [0x434ab4]
   0x4477e8: /usr/sbin/varnishd() [0x4477e8]
   0x7f1b25131f6e: /lib/x86_64-linux-gnu/libpthread.so.0(+0x7f6e)
 [0x7f1b25131f6e
 ]
   0x7f1b24e5c9cd: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)
 [0x7f1b24e5c9cd]
 req = 0x7eb6edd8ac00 {
   sp = 0x7eb6b285ba10, vxid = 1155607705,  step = R_STP_LOOKUP,
   req_body = R_BODY_NONE,
   restarts = 0, esi_level = 0
   sp = 0x7eb6b285ba10 {
     fd = 117, vxid = 81865880,
     client = 172.19.80.3 29065,
     step = S_STP_WORKING,
   },
   worker = 0x7eb6133b9c30 {
     ws = 0x7eb6133b9e40 {
       id = "wrk",
       {s,f,r,e} = {0x7eb6133b9420,0x7eb6133b9420,(nil),+2048},
     },
   VCL::method = 0x0,
   VCL::return = deliver,
   },
   ws = 0x7eb6edd8ad90 {
     id = "req",
     {s,f,r,e} = {0x7eb6edd8cbd0,+616,(nil),+57392},
   },
   http[req] = {
     ws = 0x7eb6edd8ad90[req]
       "GET",
       "/art/PRIP.82445706.3.0.jpg",
       "HTTP/1.1",
       "User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML,
 like
 Gecko) Chrome/34.0.1847.116 Safari/537.36",
       "Accept: image/webp,*/*;q=0.8",
       "Cache-Control: max-age=0",
       "Accept-Language: fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4",
       "Host: auto.mgl.skyrock.net",
       "Referer:
 http://skyrock.com/m/messages/show_mess.php?id_thread=1520142875
 &msg_sent=1&sent_from_thread=1",
       "X-Cluster-Client-Ip: XXXXX",
       "Connection: keep-alive",
       "X-Forwarded-For: 172.19.80.3",
       "x-vc-backend: mogilefs",
       "Accept-Encoding: gzip",
   },
   vcl = {
     srcname = {
       "input",
       "Builtin",
     },
   },
   obj (REQ) = 0x7ee2a6106000 {
     vxid = 2230887897,
     http[obj] = {
       ws = 0x7eb677d79d70[]
         "HTTP/1.1",
         "404",
         "Not Found",
         "Server: nginx",
         "Date: Tue, 22 Apr 2014 19:46:11 GMT",
     },
     len = 1,
     store = {
       1 {
         0a                                              |.|
       },
     },
   },
 },
 }}}

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




More information about the varnish-bugs mailing list