[Pkg-varnish-devel] Bug#789621: Assert error in SES_ScheduleReq()

Steinar H. Gunderson sgunderson at bigfoot.com
Mon Jun 22 17:58:18 UTC 2015


Package: varnish
Version: 4.0.2-1
Severity: grave
Tags: upstream patch

Hi,

My Varnish keeps crashing with messages like this:

Jun 22 19:55:15 pannekake varnishd[20885]: Child (2880) Panic message:#012Assert error in SES_ScheduleReq(), cache/cache_session.c line 229:#012  Condition
((sp)->magic == 0x2c2f9c5a) not true.#012thread = (cache-worker)#012ident = Linux,4.0.4,x86_64,-smalloc,-smalloc,-hcritbit,epoll#012Backtrace:#012  0x4330a
8: /usr/sbin/varnishd() [0x4330a8]#012  0x43baed: /usr/sbin/varnishd(SES_ScheduleReq+0x18d) [0x43baed]#012  0x425208: /usr/sbin/varnishd() [0x425208]#012  
0x4276d0: /usr/sbin/varnishd(HSH_DerefObjCore+0x1a0) [0x4276d0]#012  0x4279a5: /usr/sbin/varnishd(HSH_DerefObj+0x45) [0x4279a5]#012  0x436f47: /usr/sbin/va
rnishd(CNT_Request+0x4a7) [0x436f47]#012  0x42d18b: /usr/sbin/varnishd(HTTP1_Session+0x3eb) [0x42d18b]#012  0x43b537: /usr/sbin/varnishd() [0x43b537]#012  
0x435cdc: /usr/sbin/varnishd(Pool_Work_Thread+0x39c) [0x435cdc]#012  0x44912c: /usr/sbin/varnishd() [0x44912c]#012req = 0x7f8033c3e020 {#012  sp = 0x7f8033
c0e560, vxid = 1074397190,  step = R_STP_DELIVER,#012  req_body = R_BODY_NONE,#012  restarts = 0, esi_level = 0#012  sp = 0x7f8033c0e560 {#012    fd = 140,
 vxid = 655365,#012    client = 86.60.190.83 63497,#012    step = S_STP_WORKING,#012  },#012  worker = 0x7f803b0fdc90 {#012    ws = 0x7f803b0fdea8 {#012   
   id = "wrk",#012      {s,f,r,e} = {0x7f803b0fd490,0x7f803b0fd490,(nil),+2048},#012    },#012  VCL::method = 0x0,#012  VCL::return = deliver,#012  },#012 
 ws = 0x7f8033c3e1b8 {#012    id = "req",#012    {s,f,r,e} = {0x7f8033c40010,+704,(nil),+57360},#012  },#012  http[req] = {#012    ws = 0x7f8033c3e1b8[req]
#012      "GET",#012      "/analysis.pl?ims=1434995708000&unique=0.4145990631941726",#012      "HTTP/1.1",#012      "Host: analysis.sesse.net",#012      "U
ser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0",#012      "Accept: */*",#012      "Accept-Language: fi-FI,fi;q=0.8,en-
US;q=0.5,en;q=0.3",#012      "DNT: 1",#012      "X-Requested-With: XMLHttpRequest",#012      "Referer: http://analysis.sesse.net/",#012      "Connection: k
eep-alive",#012      "X-Forwarded-For: 86.60.190.83, 86.60.190.83",#012      "x-analysis-backend: backend1",#012      "Accept-Encoding: gzip",#012  },#012 
 http[resp] = {#012    ws = 0x7f8033c3e1b8[req]#012      "HTTP/1.1",#012      "200",#012      "OK",#012      "Content-Type: text/json",#012      "X-RGLM: 1
434995714000",#012      "X-RGNV: 376",#012      "Access-Control-Expose-Headers: X-RGLM, X-RGNV, X-RGMV",#012      "Vary: Accept-Encoding",#012      "Conten
t-Encoding: gzip",#012      "Date: Mon, 22 Jun 2015 17:55:14 GMT",#012      "Content-Length: 319",#012      "Connection: keep-alive",#012      "Accept-Rang
es: bytes",#012  },#012  vcl = {#012    srcname = {#012      "input",#012      "Builtin",#012    },#012  },#012},

This is https://www.varnish-cache.org/trac/ticket/1607, and indeed upgrading to 4.0.3
fixes it. Could we please have a stable upload?

-- System Information:
Debian Release: 8.1
  APT prefers stable
  APT policy: (750, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.4 (SMP w/40 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages varnish depends on:
ii  adduser               3.113+nmu3
ii  gcc                   4:4.9.2-2
ii  libc6                 2.19-18
ii  libc6-dev [libc-dev]  2.19-18
ii  libedit2              3.1-20140620-2
ii  libjemalloc1          3.6.0-3
ii  libncurses5           5.9+20140913-1+b1
ii  libpcre3              2:8.35-3.3
ii  libtinfo5             5.9+20140913-1+b1
ii  libvarnishapi1        4.0.3-2~wheezy

varnish recommends no packages.

Versions of packages varnish suggests:
pn  varnish-doc  <none>

-- Configuration Files:
/etc/default/varnish changed [not included]
/etc/default/varnishlog changed [not included]
/etc/default/varnishncsa changed [not included]
/etc/logrotate.d/varnish changed [not included]
/etc/varnish/default.vcl changed [not included]

-- no debconf information



More information about the Pkg-varnish-devel mailing list