[Varnish] #1184: Assert error in vfp_esi_bytes_gg

Varnish varnish-bugs at varnish-cache.org
Thu Aug 9 18:00:43 CEST 2012


#1184: Assert error in vfp_esi_bytes_gg
--------------------------+------------------------------
 Reporter:  dbakerflight  |       Owner:
     Type:  defect        |      Status:  new
 Priority:  high          |   Milestone:  Varnish 3.0 dev
Component:  build         |     Version:  trunk
 Severity:  critical      |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by dbakerflight):

 We applied this patch and are not seeing any more crashes:

 {{{
 --- cache_esi_fetch.c.orig      2012-08-07 21:28:47.724109347 +0000
 +++ cache_esi_fetch.c   2012-08-07 21:39:32.301109679 +0000
 @@ -271,6 +271,9 @@
                         VGZ_Obuf(sp->wrk->vgz_rx, ibuf2, sizeof ibuf2);
                         i = VGZ_Gunzip(sp->wrk->vgz_rx, &dp, &dl);
                         /* XXX: check i */
 +if (i < VGZ_OK) {
 +    return -1;
 +}
                         assert(i >= VGZ_OK);
                         vef->bufp = ibuf2;
                         if (dl > 0)

 }}}

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




More information about the varnish-bugs mailing list