[Varnish] #869: Assert error in ESI_Deliver()
Varnish
varnish-bugs at varnish-cache.org
Mon Mar 14 09:19:14 CET 2011
#869: Assert error in ESI_Deliver()
--------------------+-------------------------------------------------------
Reporter: perbu | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: build | Version: trunk
Severity: normal | Keywords:
--------------------+-------------------------------------------------------
Description changed by phk:
Old description:
> Google-bot came along and tried to fetch cache_esi_deliver, through
> Varnish with ESI processing. Oh, the irony.
>
> We might want to warn people about ESI-processing the Varnish Source
> code. :)
>
> Per.
>
> Mar 12 17:17:36 odd varnishd[10810]: Child (10811) said INFLATE=-3
> (invalid stored block lengths)
> Mar 12 17:17:36 odd varnishd[10810]: Child (10811) died signal=6
> Mar 12 17:17:36 odd varnishd[10810]: Child (10811)
> Panic message: Assert error in ESI_Deliver(), cache_esi_deliver.c line
> 354:
> #012 Condition(i == Z_OK || i == Z_STREAM_END) not true.
> #012thread = (cache-worker)#012ident =
> Linux,2.6.32-28-generic,x86_64,-sfile,-smalloc,-hcritbit,epoll
> #012Backtrace:
> #012 0x42c938: pan_ic+b8#012 0x41f558: ESI_Deliver+438
> #012 0x42f588: RES_WriteObj+248
> #012 0x4169b0: cnt_deliver+230#012 0x41783d: CNT_Session+31d
> #012 0x42e0f8: wrk_do_cnt_sess+b8#012 0x42e579: wrk_thread_real+409
> #012 0x7ff04d4759ca: _end+7ff04cdfe7f2
> #012 0x7ff04d1d270d: _end+7ff04cb5b535
> #012sp = 0x7feffcc8a008 {
> #012 fd = 15, id = 15, xid = 266236633,
> #012 client = XX.249.66.180 36079,
> #012 step = STP_DELIVER,
> #012 handling = deliver,
> #012 restarts = 0, esi_level = 0
> #012 ws = 0x7feffcc8a080 {
> #012 id = "sess",
> #012 {s,f,r,e} = {0x7feffcc8acf0,+472,(nil),+65536},
> #012 },
> #012 http[req] = {
> #012 ws = 0x7feffcc8a080[sess]
> #012 "GET",
> #012
> "/trac/browser/bin/varnishd/cache_esi.c?annotate=blame&rev=3026e9ad36cc519bb8b19ad7e905f69f1eb66954",
> #012 "HTTP/1.1",
> #012 "Host: www.varnish-cache.org",
> #012 "Connection: Keep-alive",
> #012 "Accept: */*",
> #012 "From: googlebot(at)googlebot.com",
> #012 "User-Agent: Mozilla/5.0 (compatible; Googlebot/2.1;
> +http://www.google.com/bot.html)",
> #012 "X-Forwarded-For: 66.249.66.180, 66.249.66.180",
> #012 },
> #012 worker = 0x7fefff1eeb80 {
> #012 ws = 0x7fefff1eed10 {
> #012 id = "wrk",
> #012 {s,f,r,e} = {0x7fefff1dcb10,+144,(nil),+65536},
> #012 },
> #012 http[resp] = {
> #012 ws = 0x7fefff1eed10[wrk]#012 "HTTP/1.1",
> #012 "200",#012 "Ok",
> #012 "Server: Apache/2.2.14 (Ubuntu)",
> #012 "Cache-Control: must-revalidate",
> #012 "Vary: Accept-Encoding",
> #012 "Content-Type: text/html;charset=utf-8",
> #012 "Transfer-Encoding: chunked",
> #012 "Date: Sat, 12 Mar 2011 16:17:36 GMT",
> #012 "X-Varnish: 266236633 266236629",
> #012 "Age: 0",
> #012 "Via: 1.1 varnish",
> #012 "Connectio
> Mar 12 17:17:36 odd varnishd[10810]: Child cleanup complete
> Mar 12 17:17:36 odd varnishd[10810]: child (21915) Started
> Mar 12 17:17:36 odd varnishd[10810]: Pushing vcls failed:
> dlopen(./vcl.1P9zoqAU.so): ./vcl.1P9zoqAU.so: cannot open shared object
> file: No such file or directory
> Mar 12 17:17:36 odd varnishd[10810]: Stopping Child
> Mar 12 17:17:36 odd varnishd[10810]: Child (21915) said Child starts
> Mar 12 17:17:36 odd varnishd[10810]: Child (21915) said SMF.s0 mmap'ed
> 1073741824 bytes of 1073741824
> Mar 12 17:17:36 odd varnishd[10810]: Child (21915) said Child dies
> Mar 12 17:17:36 odd varnishd[10810]: Child (21915) died
> Mar 12 17:17:36 odd varnishd[10810]: Child cleanup complete
New description:
Google-bot came along and tried to fetch cache_esi_deliver, through
Varnish with ESI processing. Oh, the irony.
We might want to warn people about ESI-processing the Varnish Source code.
:)
Per.
{{{
Mar 12 17:17:36 odd varnishd[10810]: Child (10811) said INFLATE=-3
(invalid stored block lengths)
Mar 12 17:17:36 odd varnishd[10810]: Child (10811) died signal=6
Mar 12 17:17:36 odd varnishd[10810]: Child (10811)
Panic message: Assert error in ESI_Deliver(), cache_esi_deliver.c line
354:
#012 Condition(i == Z_OK || i == Z_STREAM_END) not true.
#012thread = (cache-worker)#012ident =
Linux,2.6.32-28-generic,x86_64,-sfile,-smalloc,-hcritbit,epoll
#012Backtrace:
#012 0x42c938: pan_ic+b8#012 0x41f558: ESI_Deliver+438
#012 0x42f588: RES_WriteObj+248
#012 0x4169b0: cnt_deliver+230#012 0x41783d: CNT_Session+31d
#012 0x42e0f8: wrk_do_cnt_sess+b8#012 0x42e579: wrk_thread_real+409
#012 0x7ff04d4759ca: _end+7ff04cdfe7f2
#012 0x7ff04d1d270d: _end+7ff04cb5b535
#012sp = 0x7feffcc8a008 {
#012 fd = 15, id = 15, xid = 266236633,
#012 client = XX.249.66.180 36079,
#012 step = STP_DELIVER,
#012 handling = deliver,
#012 restarts = 0, esi_level = 0
#012 ws = 0x7feffcc8a080 {
#012 id = "sess",
#012 {s,f,r,e} = {0x7feffcc8acf0,+472,(nil),+65536},
#012 },
#012 http[req] = {
#012 ws = 0x7feffcc8a080[sess]
#012 "GET",
#012
"/trac/browser/bin/varnishd/cache_esi.c?annotate=blame&rev=3026e9ad36cc519bb8b19ad7e905f69f1eb66954",
#012 "HTTP/1.1",
#012 "Host: www.varnish-cache.org",
#012 "Connection: Keep-alive",
#012 "Accept: */*",
#012 "From: googlebot(at)googlebot.com",
#012 "User-Agent: Mozilla/5.0 (compatible; Googlebot/2.1;
+http://www.google.com/bot.html)",
#012 "X-Forwarded-For: 66.249.66.180, 66.249.66.180",
#012 },
#012 worker = 0x7fefff1eeb80 {
#012 ws = 0x7fefff1eed10 {
#012 id = "wrk",
#012 {s,f,r,e} = {0x7fefff1dcb10,+144,(nil),+65536},
#012 },
#012 http[resp] = {
#012 ws = 0x7fefff1eed10[wrk]#012 "HTTP/1.1",
#012 "200",#012 "Ok",
#012 "Server: Apache/2.2.14 (Ubuntu)",
#012 "Cache-Control: must-revalidate",
#012 "Vary: Accept-Encoding",
#012 "Content-Type: text/html;charset=utf-8",
#012 "Transfer-Encoding: chunked",
#012 "Date: Sat, 12 Mar 2011 16:17:36 GMT",
#012 "X-Varnish: 266236633 266236629",
#012 "Age: 0",
#012 "Via: 1.1 varnish",
#012 "Connectio
Mar 12 17:17:36 odd varnishd[10810]: Child cleanup complete
Mar 12 17:17:36 odd varnishd[10810]: child (21915) Started
Mar 12 17:17:36 odd varnishd[10810]: Pushing vcls failed:
dlopen(./vcl.1P9zoqAU.so): ./vcl.1P9zoqAU.so: cannot open shared object
file: No such file or directory
Mar 12 17:17:36 odd varnishd[10810]: Stopping Child
Mar 12 17:17:36 odd varnishd[10810]: Child (21915) said Child starts
Mar 12 17:17:36 odd varnishd[10810]: Child (21915) said SMF.s0 mmap'ed
1073741824 bytes of 1073741824
Mar 12 17:17:36 odd varnishd[10810]: Child (21915) said Child dies
Mar 12 17:17:36 odd varnishd[10810]: Child (21915) died
Mar 12 17:17:36 odd varnishd[10810]: Child cleanup complete
}}}
--
--
Ticket URL: <http://www.varnish-cache.org/trac/ticket/869#comment:1>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list