[Varnish] #869: Assert error in ESI_Deliver()

Varnish varnish-bugs at varnish-cache.org
Tue Mar 15 14:47:47 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:       
--------------------+-------------------------------------------------------

Comment(by perbu):

 New sighting of this bug. This time caught with panic.show. :-)

 {{{
 Last panic at: Tue, 15 Mar 2011 13:09:05 GMT
 Assert error in ESI_Deliver(), cache_esi_deliver.c line 354:
   Condition(i == Z_OK || i == Z_STREAM_END) not true.
 thread = (cache-worker)
 ident = Linux,2.6.32-28-generic,x86_64,-sfile,-smalloc,-hcritbit,epoll
 Backtrace:
   0x42cbe8: pan_ic+b8
   0x41f778: ESI_Deliver+438
   0x42f838: RES_WriteObj+248
   0x416a70: cnt_deliver+230
   0x4178fd: CNT_Session+31d
   0x42e3a8: wrk_do_cnt_sess+b8
   0x42e829: wrk_thread_real+409
   0x7fcee90a79ca: _end+7fcee8a30752
   0x7fcee8e0470d: _end+7fcee878d495
 sp = 0x7fcedf81a008 {
   fd = 16, id = 16, xid = 626502088,
   client = 127.0.0.1 33245,
   step = STP_DELIVER,
   handling = deliver,
   restarts = 0, esi_level = 0
   ws = 0x7fcedf81a080 {
     id = "sess",
     {s,f,r,e} = {0x7fcedf81acf0,+544,(nil),+65536},
   },
   http[req] = {
     ws = 0x7fcedf81a080[sess]
       "GET",
 "/trac/browser/bin/varnishd/storage_file.c?annotate=blame&rev=7b1256c46773a018884da22849c24ab7628fd2e9",
       "HTTP/1.0",
       "Host: www.varnish-cache.org",
       "X-Real-IP: 66.249.66.21",
       "X-Forwarded-Proto: https",
       "Connection: close",
       "Accept: */*",
       "From: googlebot(at)googlebot.com",
       "User-Agent: Mozilla/5.0 (compatible; Googlebot/2.1;
 +http://www.google.com/bot.html)",
       "X-Forwarded-For: 127.0.0.1, 127.0.0.1",
   },
   worker = 0x7fce9a5ecb80 {
     ws = 0x7fce9a5ecd10 {
       id = "wrk",
       {s,f,r,e} = {0x7fce9a5dab10,+112,(nil),+65536},
     },
     http[resp] = {
       ws = 0x7fce9a5ecd10[wrk]
         "HTTP/1.1",
         "200",
         "Ok",
         "Server: Apache/2.2.14 (Ubuntu)",

 Last panic at: Tue, 15 Mar 2011 13:09:05 GMT
 Assert error in ESI_Deliver(), cache_esi_deliver.c line 354:
   Condition(i == Z_OK || i == Z_STREAM_END) not true.
 thread = (cache-worker)
 ident = Linux,2.6.32-28-generic,x86_64,-sfile,-smalloc,-hcritbit,epoll
 Backtrace:
   0x42cbe8: pan_ic+b8
   0x41f778: ESI_Deliver+438
   0x42f838: RES_WriteObj+248
   0x416a70: cnt_deliver+230
   0x4178fd: CNT_Session+31d
   0x42e3a8: wrk_do_cnt_sess+b8
   0x42e829: wrk_thread_real+409
   0x7fcee90a79ca: _end+7fcee8a30752
   0x7fcee8e0470d: _end+7fcee878d495
 sp = 0x7fcedf81a008 {
   fd = 16, id = 16, xid = 626502088,
   client = 127.0.0.1 33245,
   step = STP_DELIVER,
   handling = deliver,
   restarts = 0, esi_level = 0
   ws = 0x7fcedf81a080 {
     id = "sess",
     {s,f,r,e} = {0x7fcedf81acf0,+544,(nil),+65536},
   },
   http[req] = {
     ws = 0x7fcedf81a080[sess]
       "GET",
 "/trac/browser/bin/varnishd/storage_file.c?annotate=blame&rev=7b1256c46773a018884da22849c24ab7628fd2e9",
       "HTTP/1.0",
       "Host: www.varnish-cache.org",
       "X-Real-IP: 66.249.66.21",
       "X-Forwarded-Proto: https",
       "Connection: close",
       "Accept: */*",
       "From: googlebot(at)googlebot.com",
       "User-Agent: Mozilla/5.0 (compatible; Googlebot/2.1;
 +http://www.google.com/bot.html)",
       "X-Forwarded-For: 127.0.0.1, 127.0.0.1",
   },
   worker = 0x7fce9a5ecb80 {
     ws = 0x7fce9a5ecd10 {
       id = "wrk",
       {s,f,r,e} = {0x7fce9a5dab10,+112,(nil),+65536},
     },
     http[resp] = {
       ws = 0x7fce9a5ecd10[wrk]
         "HTTP/1.1",
         "200",
         "Ok",
         "Server: Apache/2.2.14 (Ubuntu)",

         "Cache-Control: must-revalidate",
         "Vary: Accept-Encoding",
         "Content-Type: text/html;charset=utf-8",
         "X-ESI: on",
         "Date: Tue, 15 Mar 2011 13:09:05 GMT",
         "X-Varnish: 626502088 626502078",
         "Age: 1",
         "Via: 1.1 varnish",
         "Connection: close",
     },
     },
     vcl = {
       srcname = {
         "input",
         "Default",
       },
     },
   obj = 0x7fcebf8bb000 {
     xid = 626502078,
     ws = 0x7fcebf8bb018 {
       id = "obj",
       {s,f,r,e} = {0x7fcebf8bb238,+288,(nil),+312},
     },
     http[obj] = {
       ws = 0x7fcebf8bb018[obj]
         "HTTP/1.1",
         "Ok",
         "Date: Tue, 15 Mar 2011 13:09:02 GMT",
         "Server: Apache/2.2.14 (Ubuntu)",
         "Cache-Control: must-revalidate",
         "Vary: Accept-Encoding",
         "Content-Encoding: gzip",
         "Content-Type: text/html;charset=utf-8",
         "X-ESI: on",
         "Content-Length: 166154",
     },
     len = 166154,
     store = {
       131072 {
         1f 8b 08 00 00 00 00 00 00 03 02 00 00 00 ff ff |................|
         b2 51 74 f1 77 0e 89 0c 70 55 c8 28 c9 cd 51 08 |.Qt.w...pU.(..Q.|
         08 75 f2 f1 74 56 50 d2 d5 d7 0f 37 76 d6 d7 77 |.u..tVP....7v..w|
         09 71 51 88 f0 08 f1 f5 51 30 d4 33 50 08 2e 29 |.qQ.....Q0.3P..)|
         [131008 more]
       },
       35082 {
         58 4b dc 7b 97 2c c4 cd 91 dd 13 f1 eb f5 04 7b |XK.{.,.........{|
         fb 81 99 39 ec bf 5f bf 89 8f 3a 71 e4 92 34 c3 |...9.._...:q..4.|
         e0 f1 5f 61 bc 89 c6 47 ea 2a 56 c6 68 de 7a ca |.._a...G.*V.h.z.|
         b8 4e 52 11 78 20 17 5f 63 ce 6d a9 bb 13 54 45 |.NR.x ._c.m...TE|
         [35018 more]
       },
     },
   },
 },

-- 
Ticket URL: <http://varnish-cache.org/trac/ticket/869#comment:2>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list