[Varnish] #1607: Assert error in SES_ScheduleReq(), cache/cache_session.c line 229

Varnish varnish-bugs at varnish-cache.org
Fri Oct 10 06:21:56 CEST 2014


#1607: Assert error in SES_ScheduleReq(), cache/cache_session.c line 229
----------------------+-----------------------
 Reporter:  coredump  |       Owner:
     Type:  defect    |      Status:  needinfo
 Priority:  normal    |   Milestone:
Component:  varnishd  |     Version:  4.0.2
 Severity:  normal    |  Resolution:
 Keywords:            |
----------------------+-----------------------

Comment (by coredump):

 Got some more during the day

 {{{
 Last panic at: Thu, 09 Oct 2014 20:08:28 GMT
 Assert error in SES_ScheduleReq(), cache/cache_session.c line 229:
   Condition((sp)->magic == 0x2c2f9c5a) not true.
 errno = 32 (Broken pipe)
 thread = (cache-worker)
 ident = Linux,3.2.0-61-generic,x86_64,-smalloc,-smalloc,-hcritbit,epoll
 Backtrace:
   0x433135: /usr/sbin/varnishd() [0x433135]
   0x43be2d: /usr/sbin/varnishd(SES_ScheduleReq+0x16d) [0x43be2d]
   0x425338: /usr/sbin/varnishd() [0x425338]
   0x4261ea: /usr/sbin/varnishd(HSH_Unbusy+0xea) [0x4261ea]
   0x420b38: /usr/sbin/varnishd() [0x420b38]
   0x436033: /usr/sbin/varnishd(Pool_Work_Thread+0x373) [0x436033]
   0x4492f8: /usr/sbin/varnishd() [0x4492f8]
   0x7f2332ec3e9a: /lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)
 [0x7f2332ec3e9a]
   0x7f2332bf03fd: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)
 [0x7f2332bf03fd]
   busyobj = 0x7f2167287020 {
     ws = 0x7f21672870e0 {
       id = "bo",
       {s,f,r,e} = {0x7f2167289008,+1120,(nil),+57368},
     },
   refcnt = 2
   retries = 0
   failed = 0
   state = 1
     is_do_stream
     is_is_gunzip
     bodystatus = 2 (chunked),
     },
     http[bereq] = {
       ws = 0x7f21672870e0[bo]
         "GET",
         "/chorus_images/41399832/cinema/rss_large/1412883743",
         "HTTP/1.1",
         "Host: www.eater.com",
         "Accept: */*",
         "Accept-Language: en-us",
         "User-Agent: Flipboard/2.1.1 CFNetwork/672.0.2 Darwin/14.0.0",
         "X-Forwarded-For: 189.171.25.194",
         "X-Vox-ID: 068c66d6-4ff0-11e4-b169-fb5fd9519e71",
         "X-Vox-App: chorus",
         "Accept-Encoding: gzip",
         "X-Varnish: 34418404",
     },
     http[beresp] = {
       ws = 0x7f21672870e0[bo]
         "HTTP/1.1",
         "301",
         "Moved Permanently",
         "Server: nginx",
         "Date: Thu, 09 Oct 2014 20:08:25 GMT",
         "Content-Type: text/html; charset=utf-8",
         "Transfer-Encoding: chunked",
         "Connection: keep-alive",
         "Status: 301 Moved Permanently",
         "Location: http://cdn1.vox-
 cdn.com/uploads/chorus_image/image/41402754/OTable-Google-
 App-4.0.0_cinema_400.0.jpg",
         "X-UA-Compatible: IE=Edge,chrome=1",
         "Cache-Control: no-cache",
         "X-Request-Id: 8ba719b9c5d3f0bf28243d3af34fd60d",
         "X-Runtime: 1.130832",
         "P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa CONi OUR IND PHY
 ONL UNI COM NAV INT CNT STA"",
     },
     ws = 0x7f2167287270 {
       id = "obj",
       {s,f,r,e} = {0x7f22c1589df8,+520,(nil),+520},
     },
   objcore (FETCH) = 0x7f1a85d85400 {
     refcnt = 3
     flags = 0x0
     objhead = 0x7f19ef3fd320
   }
   obj (FETCH) = 0x7f22c1589c00 {
     vxid = 2181902052,
     http[obj] = {
       ws = (nil)[]
         "HTTP/1.1",
         "301",
         "Moved Permanently",
         "Server: nginx",
         "Date: Thu, 09 Oct 2014 20:08:25 GMT",
         "Content-Type: text/html; charset=utf-8",
         "Status: 301 Moved Permanently",
         "Location: http://cdn1.vox-
 cdn.com/uploads/chorus_image/image/41402754/OTable-Google-
 App-4.0.0_cinema_400.0.jpg",
         "X-UA-Compatible: IE=Edge,chrome=1",
         "Cache-Control: no-cache",
         "X-Request-Id: 8ba719b9c5d3f0bf28243d3af34fd60d",
         "X-Runtime: 1.130832",
         "P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa CONi OUR IND PHY
 ONL UNI COM NAV INT CNT STA"",
     },
     len = 0,
     store = {
     },
   },
   }
 }}}

 {{{
 Oct  9 15:49:33 varnish1 varnish1[17773]: Child (24312) Panic
 message:#012Assert error in SES_Schedul
 eReq(), cache/cache_session.c line 229:#012  Condition((sp)->magic ==
 0x2c2f9c5a) not true.#012thread
  = (cache-timeout)#012ident =
 Linux,3.2.0-61-generic,x86_64,-smalloc,-smalloc,-hcritbit,epoll#012Back
 trace:#012  0x433135: /usr/sbin/varnishd() [0x433135]#012  0x43be2d:
 /usr/sbin/varnishd(SES_ScheduleR
 eq+0x16d) [0x43be2d]#012  0x425338: /usr/sbin/varnishd() [0x425338]#012
 0x42696a: /usr/sbin/varnishd
 (HSH_DerefObjCore+0xba) [0x42696a]#012  0x41d977: /usr/sbin/varnishd()
 [0x41d977]#012  0x4491d1: /usr
 /sbin/varnishd() [0x4491d1]#012  0x7f2332ec3e9a: /lib/x86_64-linux-
 gnu/libpthread.so.0(+0x7e9a) [0x7f
 2332ec3e9a]#012  0x7f2332bf03fd: /lib/x86_64-linux-
 gnu/libc.so.6(clone+0x6d) [0x7f2332bf03fd]#012
 }}}

 {{{
 Oct  9 18:57:07 varnish1 varnish1[17773]: Child (21947) Panic
 message:#012Assert error in SES_Schedul
 eReq(), cache/cache_session.c line 229:#012  Condition((sp)->magic ==
 0x2c2f9c5a) not true.#012thread
  = (cache-worker)#012ident =
 Linux,3.2.0-61-generic,x86_64,-smalloc,-smalloc,-hcritbit,epoll#012Backt
 race:#012  0x433135: /usr/sbin/varnishd() [0x433135]#012  0x43be2d:
 /usr/sbin/varnishd(SES_ScheduleRe
 q+0x16d) [0x43be2d]#012  0x425338: /usr/sbin/varnishd() [0x425338]#012
 0x4261ea: /usr/sbin/varnishd(
 HSH_Unbusy+0xea) [0x4261ea]#012  0x420b38: /usr/sbin/varnishd()
 [0x420b38]#012  0x436033: /usr/sbin/v
 arnishd(Pool_Work_Thread+0x373) [0x436033]#012  0x4492f8:
 /usr/sbin/varnishd() [0x4492f8]#012  0x7f23
 32ec3e9a: /lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)
 [0x7f2332ec3e9a]#012  0x7f2332bf03fd: /lib/x
 86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f2332bf03fd]#012  busyobj =
 0x7f2027426020 {#012    ws = 0x
 7f20274260e0 {#012      id = "bo",#012      {s,f,r,e} =
 {0x7f2027428008,+7720,(nil),+57368},#012    }
 ,#012  refcnt = 2#012  retries = 0#012  failed = 0#012  state = 1#012
 is_do_stream#012    is_is_gu
 nzip#012    bodystatus = 2 (chunked),#012    },#012    http[bereq] = {#012
 ws = 0x7f20274260e0[b
 o]#012        "GET",#012        "/polygon_entries/polybar/forums",#012
 "HTTP/1.1",#012
 "X-Requested-With: XMLHttpRequest",#012        "Accept: text/html, */*;
 q=0.01",#012        "Referer:
  http://www.polygon.com/2014/5/23/5745986/watch-dogs-gameplay-video-
 walkthrough",#012        "Accept-
 Language: en-GB",#012        "User-Agent: Mozilla/5.0 (Windows NT 6.1;
 WOW64; Trident/7.0; rv:11.0) l
 ike Gecko",#012        "Host: www.polygon.com",#012        "X-Forwarded-
 For: 82.24.191.42",#012        "X-Vox-ID:
 0f025578-4fe6-11e4-b036-f7597b3b6c5e",#012        "Accept-Encoding:
 gzip",#012        "X-Varnish: 167418799",#012    },#012    http[beresp] =
 {#012      ws = 0x7f20274260e0[bo]#012        "HTTP/1.1",#012
 "200",#012        "OK",#012        "Server: nginx",#012        "Date: Thu,
 09 Oct 2014 18:57:04 GMT",#012
 }}}

 Sorry for the formatting, had to get the previous ones from the log.

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



More information about the varnish-bugs mailing list