[Varnish] #927: Assert error in stv_alloc(), stevedore.c in varnish_32e40a6ececf4a2ea65830e723c770d1ce261898

Varnish varnish-bugs at varnish-cache.org
Tue May 31 10:33:58 CEST 2011


#927: Assert error in stv_alloc(), stevedore.c in
varnish_32e40a6ececf4a2ea65830e723c770d1ce261898
--------------------+-------------------------------------------------------
 Reporter:  kdajka  |        Type:  defect  
   Status:  new     |    Priority:  normal  
Milestone:          |   Component:  varnishd
  Version:  trunk   |    Severity:  normal  
 Keywords:          |  
--------------------+-------------------------------------------------------
 Hi, I'm seeing "Assert error in stv_alloc(), stevedore.c line 194:" in
 newest trunk 32e40a6ececf4a2ea65830e723c770d1ce261898

 My system: Linux varnishic06 2.6.26-2-amd64 #1 SMP Thu Nov 25 04:30:55 UTC
 2010 x86_64 GNU/Linux
 {{{
 /usr/local/inp/varnish/sbin/varnishd -P /var/tmp/foo.bar.pl_varnishd.pid
 -a :8084 \
 -i foo.bar_varnishic06 -n foo.bar_varnishic06 -f
 /exp/confvarnish/foo.bar.pl/foo.bar.pl.vcl \
 -T :2084 -h classic,20011 -p thread_pools 4 -p ban_lurker_sleep 0.1 -w
 200,4000,2 \
 -t 0 -s malloc,1G
 }}}

 {{{
 panic.show
 200
 Last panic at: Tue, 31 May 2011 04:44:02 GMT
 Assert error in stv_alloc(), stevedore.c line 194:
   Condition((st) != NULL) not true.
 thread = (cache-worker)
 ident = Linux,2.6.26-2-amd64,x86_64,-smalloc,-smalloc,-hclassic,epoll
 Backtrace:
   0x434e0d: pan_backtrace+16
   0x435076: pan_ic+164
   0x450ea0: stv_alloc+280
   0x45182e: STV_alloc+1d
   0x427c2c: FetchStorage+9a
   0x4279cd: vfp_nop_bytes+27
   0x428204: fetch_chunked+339
   0x428fac: FetchBody+3e0
   0x4199f1: cnt_fetchbody+9b9
   0x41c32b: CNT_Session+5ae
 sp = 0x7fc61573f008 {
   fd = 145, id = 145, xid = 1059381681,
   client = 123.123.123.123 14836,
   step = STP_FETCHBODY,
   handling = deliver,
   err_code = 200, err_reason = (null),
   restarts = 0, esi_level = 0
   ws = 0x7fc61573f080 {
     id = "sess",
     {s,f,r,e} = {0x7fc61573fcf0,+728,(nil),+65536},
   },
   http[req] = {
     ws = 0x7fc61573f080[sess]
       "GET",
       "/resource/5_wetlinska__003.jpg",
       "HTTP/1.1",
       "Accept: */*",
       "Referer: http://foo.bar.pl/html/1310721,262146,169,170.html?3,1",
       "Accept-Language: pl",
       "User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
 Trident/4.0; .NET CLR 1.1.4322)",
       "Host: foo.bar.pl",
       "Connection: Keep-Alive",
       "x-real-forwarded-for: 123.123.123.123",
       "X-Forwarded-For: 123.123.123.123",
   },
   worker = 0x7fc6e4fefe10 {
     ws = 0x7fc6e4feffb0 {
       id = "wrk",
       {s,f,r,e} = {0x7fc6e4fddd20,+3040,(nil),+65536},
     },
     http[bereq] = {
       ws = 0x7fc6e4feffb0[wrk]
         "GET",
         "/resource/5_wetlinska__003.jpg",
         "HTTP/1.1",
         "Accept: */*",
         "Referer: http://foo.bar.pl/html/1310721,262146,169,170.html?3,1",
         "Accept-Language: pl",
         "User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
 Trident/4.0; .NET CLR 1.1.4322)",
         "Host: foo.bar.pl",
         "x-real-forwarded-for: 123.123.123.123",
         "X-Forwarded-For: 123.123.123.123",
         "X-Varnish: 1059381681",
         "Accept-Encoding: gzip",
     },
     http[beresp] = {
       ws = 0x7fc6e4feffb0[wrk]
         "HTTP/1.1",
         "200",
         "OK",
         "Date: Tue, 31 May 2011 04:44:02 GMT",
         "Server: Apache",
         "Cache-Control: PUBLIC, max-age=0, must-revalidate",
         "Last-Modified: Mon, 09 May 2011 22:17:04 GMT",
         "Expires: Thu, 01 Jan 1970 00:00:00 GMT",
         "Connection: close",
         "Transfer-Encoding: chunked",
         "Content-Type: image/jpeg",
         "x-url: /resource/5_wetlinska__003.jpg",
         "x-host: foo.bar.pl",
     },
     },
     vcl = {
       srcname = {
         "input",
         "Default",
         "/exp/confvarnish/foo.bar.pl/backends_foo.bar.pl.vcl",
         "/exp/confvarnish/global/500.vcl",
       },
     },
   obj = 0x7fc58c9f4800 {
     xid = 1059381681,
     ws = 0x7fc58c9f4818 {
       id = "obj",
       {s,f,r,e} = {0x7fc58c9f4a40,+328,(nil),+384},
     },
     http[obj] = {
       ws = 0x7fc58c9f4818[obj]
         "HTTP/1.1",
         "OK",
         "Date: Tue, 31 May 2011 04:44:02 GMT",
         "Server: Apache",
         "Cache-Control: PUBLIC, max-age=0, must-revalidate",
         "Last-Modified: Mon, 09 May 2011 22:17:04 GMT",
         "Expires: Thu, 01 Jan 1970 00:00:00 GMT",
         "Content-Type: image/jpeg",
         "x-url: /resource/5_wetlinska__003.jpg",
         "x-host: foo.bar.pl",
     },
     len = 131072,
     store = {
       131072 {
         ff d8 ff e0 00 10 4a 46 49 46 00 01 01 01 00 48 |......JFIF.....H|
         00 48 00 00 ff ed 00 a8 50 68 6f 74 6f 73 68 6f |.H......Photosho|
         70 20 33 2e 30 00 38 42 49 4d 04 04 00 00 00 00 |p 3.0.8BIM......|
         00 8c 1c 02 00 00 02 00 02 1c 02 74 00 80 20 20 |...........t..  |
         [131008 more]
       },
     },
   },
 },
 }}}

-- 
Ticket URL: <http://www.varnish-cache.org/trac/ticket/927>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list