[Varnish] #1637: Assert error in VFP_Fetch_Body()
Varnish
varnish-bugs at varnish-cache.org
Sat Nov 29 23:18:43 CET 2014
#1637: Assert error in VFP_Fetch_Body()
--------------------------+--------------------
Reporter: llavaud | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: 4.0.2
Severity: major | Resolution:
Keywords: Assert error |
--------------------------+--------------------
Description changed by fgsch:
Old description:
> Hello,
>
> I am using varnish 4.0.2 on a debian wheezy server.
>
> The varnish child regularly died with the following error log:
>
> Nov 27 16:03:26 webcache02 varnishd[27811]: Child (27830) Panic
> message:#012Assert error in VFP_Fetch_Body(), cache/cache_fetch_proc.c
> line 216:#012 Condition((bo->failed) == 0) not true.#012thread = (cache-
> worker)#012ident =
> Linux,3.2.0-4-amd64,x86_64,-sfile,-smalloc,-hcritbit,epoll#012Backtrace:#012
> 0x4347c5: /usr/sbin/varnishd() [0x4347c5]#012 0x42432a:
> /usr/sbin/varnishd(VFP_Fetch_Body+0x2ba) [0x42432a]#012 0x421569:
> /usr/sbin/varnishd() [0x421569]#012 0x4376b3:
> /usr/sbin/varnishd(Pool_Work_Thread+0x373) [0x4376b3]#012 0x44a98d:
> /usr/sbin/varnishd() [0x44a98d]#012 0x7fa6735ebb50: /lib/x86_64-linux-
> gnu/libpthread.so.0(+0x6b50) [0x7fa6735ebb50]#012 0x7fa6733357bd:
> /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7fa6733357bd]#012 busyobj
> = 0x7fa672b02020 {#012 ws = 0x7fa672b020e0 {#012 id = "bo",#012
> {s,f,r,e} = {0x7fa672b04008,+1920,(nil),+253976},#012 },#012 refcnt =
> 2#012 retries = 0#012 failed = 1#012 state = 1#012 is_do_esi#012
> is_do_gzip#012 is_is_gunzip#012 bodystatus = 3 (length),#012
> },#012 http[bereq] = {#012 ws = 0x7fa672b020e0[bo]#012
> "GET",#012 "/myuri",#012 "HTTP/1.1",#012 "User-
> Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101
> Firefox/33.0",#012 "Accept:
> image/png,image/*;q=0.8,*/*;q=0.5",#012 "Accept-Language: fr,fr-
> fr;q=0.8,en-us;q=0.5,en;q=0.3",#012 "Referer:
> http://myhost/myuri",#012 "Host: myhost",#012 "Surrogate-
> Capability: abc=ESI/1.0",#012 "X-Forwarded-For: xxx, xxx",#012
> "X-Varnish: 852351",#012 },#012 http[beresp] = {#012 ws =
> 0x7fa672b020e0[bo]#012 "HTTP/1.1",#012 "301",#012
> "Moved Permanently",#012 "Date: Thu, 27 Nov 2014 15:03:25
> GMT",#012 "Server: Apache",#012
New description:
Hello,
I am using varnish 4.0.2 on a debian wheezy server.
The varnish child regularly died with the following error log:
{{{
Nov 27 16:03:26 webcache02 varnishd[27811]: Child (27830) Panic message:
Assert error in VFP_Fetch_Body(), cache/cache_fetch_proc.c line 216:
Condition((bo->failed) == 0) not true.
thread = (cache-worker)
ident = Linux,3.2.0-4-amd64,x86_64,-sfile,-smalloc,-hcritbit,epoll
Backtrace:
0x4347c5: /usr/sbin/varnishd() [0x4347c5]
0x42432a: /usr/sbin/varnishd(VFP_Fetch_Body+0x2ba) [0x42432a]
0x421569: /usr/sbin/varnishd() [0x421569]
0x4376b3: /usr/sbin/varnishd(Pool_Work_Thread+0x373) [0x4376b3]
0x44a98d: /usr/sbin/varnishd() [0x44a98d]
0x7fa6735ebb50: /lib/x86_64-linux-gnu/libpthread.so.0(+0x6b50)
[0x7fa6735ebb50]
0x7fa6733357bd: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)
[0x7fa6733357bd]
busyobj = 0x7fa672b02020 {
ws = 0x7fa672b020e0 {
id = "bo",
{s,f,r,e} = {0x7fa672b04008,+1920,(nil),+253976},
},
refcnt = 2
retries = 0
failed = 1
state = 1
is_do_esi
is_do_gzip
is_is_gunzip
bodystatus = 3 (length),
},
http[bereq] = {
ws = 0x7fa672b020e0[bo]
"GET",
"/myuri",
"HTTP/1.1",
"User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0)
Gecko/20100101 Firefox/33.0",
"Accept: image/png,image/*;q=0.8,*/*;q=0.5",
"Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3",
"Referer: http://myhost/myuri",
"Host: myhost",
"Surrogate-Capability: abc=ESI/1.0",
"X-Forwarded-For: xxx, xxx",
"X-Varnish: 852351",
},
http[beresp] = {
ws = 0x7fa672b020e0[bo]
"HTTP/1.1",
"301",
"Moved Permanently",
"Date: Thu, 27 Nov 2014 15:03:25 GMT",
"Server: Apache",
}}}
--
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1637#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list