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

Varnish varnish-bugs at varnish-cache.org
Tue Feb 10 21:08:55 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:             |
-----------------------+----------------------------------

Comment (by mattrobenolt):

 Got a panic as well from this in 4.0.3-rc2

 {{{
 varnish> panic.show
 200
 Last panic at: Tue, 10 Feb 2015 20:02:20 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 1b96340
 ident = Linux,3.13.0-43-generic,x86_64,-smalloc,-smalloc,-hcritbit,epoll
 Backtrace:
   0x433d8a: /usr/sbin/varnishd() [0x433d8a]
   0x4379a6: /usr/sbin/varnishd() [0x4379a6]
   0x4382d9: /usr/sbin/varnishd(CNT_Request+0x869) [0x4382d9]
   0x42dd23: /usr/sbin/varnishd(HTTP1_Session+0x3f3) [0x42dd23]
   0x43c268: /usr/sbin/varnishd() [0x43c268]
   0x436ca1: /usr/sbin/varnishd(Pool_Work_Thread+0x381) [0x436ca1]
   0x449c58: /usr/sbin/varnishd() [0x449c58]
   0x7f393684ee9a: /lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)
 [0x7f393684ee9a]
   0x7f393657c2ed: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)
 [0x7f393657c2ed]
 req = 0x7f3492b5b020 {
   sp = 0x7f38ce3411e0, vxid = 1133905496,  step = R_STP_LOOKUP,
   req_body = R_BODY_NONE,
   restarts = 0, esi_level = 0,
   sp = 0x7f38ce3411e0 {
     fd = 11605, vxid = 60163671,
     client = 108.56.228.37 53694,
     step = S_STP_WORKING,
   },
   worker = 0x7f3920a2ec20 {
     ws = 0x7f3920a2ee40 {
       id = "wrk",
       {s,f,r,e} = {0x7f3920a2e410,0x7f3920a2e410,(nil),+2048},
     },
   VCL::method = 0x0,
   VCL::return = deliver,
   },
   ws = 0x7f3492b5b1b8 {
     id = "req",
     {s,f,r,e} = {0x7f3492b5d010,+4640,(nil),+73744},
   },
   http[req] = {
     ws = 0x7f3492b5b1b8[req]
       "GET",
 "/embed/comments/?base=default&f=ewm&s_o=default&t_d=Beck%20calls%20Kanye%20%27genius%27%20after%20Grammy%20interruption&t_t=Beck%20calls%20Kanye%20%27genius%27%20after%20Grammy%20interruption&t_u=http%3A%2F%2Fwww.ew.com%2Farticle%2F2015%2F02%2F09
 %2Fbeck-responds-kanyes-grammy-
 interruption&version=d1b39333cdab5cb490d069fe62825a04",
       "HTTP/1.1",
       "Connection: keep-alive",
       "Accept:
 text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
       "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1)
 AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111
 Safari/537.36",
       "Referer: http://www.ew.com/article/2015/02/09/beck-responds-kanyes-
 grammy-interruption",
       "Accept-Language: en-US,en;q=0.8",
       "X-Forwarded-For: 108.56.228.37",
       "X-Forwarded-Proto: http",
       "Host: disqus.com",
       "Disqus-Root: 1",
       "Accept-Encoding: gzip",
   },
   vcl = {
     srcname = {
       "input",
       "Builtin",
       "includes/4.0/recv-common.vcl",
       "includes/downgrade.vcl",
       "includes/4.0/responses/301-moved.vcl",
       "includes/4.0/responses/302-found.vcl",
       "includes/4.0/responses/404-not-found.vcl",
       "includes/4.0/responses/999-any.vcl",
       "includes/x-served-by.vcl",
     },
   },
   obj (REQ) = 0x7f3421b4e000 {
     vxid = 2187265575,
     http[obj] = {
       ws = (nil)[]
         "HTTP/1.1",
         "200",
         "OK",
         "Server: nginx",
         "Date: Tue, 10 Feb 2015 20:02:03 GMT",
         "Content-Type: text/html; charset=utf-8",
         "Content-Security-Policy: script-src https://*.twitter.com:*
 https://api.adsnative.com/v1/ad.json *.adsafeprotected.com *.google-
 analytics.com https://glitter-services.disqus.com
 https://*.services.disqus.com:* disqus.com http://*.twitter.com:*
 a.disquscdn.com api.taboola.com referrer.disqus.com
 *.scorecardresearch.com *.moatads.com
 https://admin.appnext.com/offerWallApi.aspx 'unsafe-eval'
 https://mobile.adnxs.com/mob *.services.disqus.com:*",
         "Cache-Control: s-stalewhilerevalidate=3600, stale-while-
 revalidate=30, no-cache, must-revalidate, public, s-maxage=5",
         "p3p: CP="DSP IDC CUR ADM DELi STP NAV COM UNI INT PHY DEM"",
         "Timing-Allow-Origin: *",
         "X-Content-Type-Options: nosniff",
         "X-XSS-Protection: 1; mode=block",
         "Vary: Accept-Encoding",
         "Surrogate-Control: max-age=5",
         "Last-Modified: Tue, 10 Feb 2015 00:03:45 GMT",
         "Content-Encoding: gzip",
         "Surrogate-Grace: 3600s",
         "Grace: 30s",
         "Disqus-Cachetype: CACHE",
         "X-Served-By: app-167.dal01, shield-1.dal01",
         "X-Cache: MISS, HIT",
         "X-Cache-Hits: 0, 2",
         "Content-Length: 2089",
         "X-Backend: embed, shield1",
     },
     len = 2089,
     store = {
       2089 {
         1f 8b 08 00 00 00 00 00 00 03 b5 58 6d 73 db 36 |...........Xms.6|
         12 fe ee 5f c1 f0 a6 ed 17 49 7c 7f 53 24 77 7c |..._.....I|.S$w||
         b1 db c9 5c 73 4d 63 b7 b9 9b 4c 46 03 93 90 84 |...\sMc...LF....|
         98 24 58 00 94 a2 64 fc df fb 00 a0 25 d9 9e b8 |.$X...d.....%...|
         [2025 more]
       },
     },
   },
 },
 }}}

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



More information about the varnish-bugs mailing list