[Varnish] #1185: Assert error in VRT_IP_string(), cache/cache_vrt.c line 313

Varnish varnish-bugs at varnish-cache.org
Mon Aug 13 12:52:36 CEST 2012


#1185: Assert error in VRT_IP_string(), cache/cache_vrt.c line 313
----------------------+--------------------
 Reporter:  kristian  |       Owner:
     Type:  defect    |      Status:  new
 Priority:  normal    |   Milestone:
Component:  build     |     Version:  3.0.0
 Severity:  normal    |  Resolution:
 Keywords:            |
----------------------+--------------------

Comment (by kristian):

 To reproduce you simply need a large set of requests. Varnishtest has a
 limited buffer size, so I first applied this (please ignore the numbers -
 they were pulled out randomly):

 {{{

 diff --git a/bin/varnishtest/vtc_main.c b/bin/varnishtest/vtc_main.c
 index fb1c42e..b5f5992 100644
 --- a/bin/varnishtest/vtc_main.c
 +++ b/bin/varnishtest/vtc_main.c
 @@ -260,7 +260,7 @@ start_test(void)
         ALLOC_OBJ(jp, JOB_MAGIC);
         AN(jp);

 -       jp->bufsiz = 256*1024;          /* XXX */
 +       jp->bufsiz = 168740*1024;               /* XXX */

         jp->buf = mmap(NULL, jp->bufsiz, PROT_READ|PROT_WRITE,
             MAP_ANON | MAP_SHARED, -1, 0);
 }}}

 Then used the attached test case.

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




More information about the varnish-bugs mailing list