[Varnish] #994: Assert error in http_GetHdr(), cache_http.c

Varnish varnish-bugs at varnish-cache.org
Tue Aug 30 10:29:00 CEST 2011


#994: Assert error in http_GetHdr(), cache_http.c
---------------------+------------------------------------------------------
 Reporter:  pmialon  |        Type:  defect  
   Status:  new      |    Priority:  normal  
Milestone:           |   Component:  varnishd
  Version:  trunk    |    Severity:  blocker 
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by pmialon):

 We recompiled the package with the debug info, here a panic with correct
 references.

 Unfortunately we didn't have the coredump. We succeed to produce one but
 it was incomplete. Perhaps we need to use less space on our storage to
 keep place for the core ? Now we are dedicating 80% of the space to
 varnish store file.


 We start varnishlog and we will update this ticket with the content of
 Vary: header as soon as varnish will crash.


 {{{
 /usr/sbin/varnishd -P /var/run/varnishd.pid -a :80 -t 3600 -T
 localhost:6082 -f /etc/varnish/default.vcl -S /etc/varnish/secret -w
 100,4000 -p thread_pools 8 -p listen_depth 4096 -p thread_pool_add_delay 2
 -p session_linger 50/100/150 -p sess_workspace 262144 -s
 file,/var/lib/varnish/varnish_storage.bin,80%
 }}}



 {{{
 Last panic at: Tue, 30 Aug 2011 08:15:55 GMT
 Assert error in http_GetHdr(), cache_http.c line 266:
   Condition(l == strlen(hdr + 1)) not true.
 thread = (cache-worker)
 ident = Linux,2.6.32-5-amd64,x86_64,-sfile,-smalloc,-hcritbit,epoll
 Backtrace:
   0x437201: pan_backtrace+19
   0x4374d6: pan_ic+1ad
   0x430d57: http_GetHdr+67
   0x43e69a: VRY_Match+ac
   0x42e37d: HSH_Lookup+657
   0x41b302: cnt_lookup+230
   0x41d11c: CNT_Session+66d
   0x4391d8: wrk_do_cnt_sess+130
   0x438a40: wrk_thread_real+897
   0x438e3a: wrk_thread+12a
 sp = 0x7ec5e6102008 {
   fd = 56, id = 56, xid = 1001188130,
   client = 127.0.0.1 47062,
   step = STP_LOOKUP,
   handling = hash,
   restarts = 0, esi_level = 0
   flags =
   bodystatus = 4
   ws = 0x7ec5e6102080 {
     id = "sess",
     {s,f,r,e} = {0x7ec5e6102cc8,+3640,+262144,+262144},
   },
   http[req] = {
     ws = 0x7ec5e6102080[sess]
       "GET",
 "/searchkw/xml/?_q%5B0%5D=%28maison%7Bw%3D1%7D+a%7Bw%3D1%7D+vendre%7Bw%3D1%7D%29+-category%3Aall+%28Croix%7Bw%3D1%7D%29+country%3AFR+%28category%3Ahousing%29+querywords%3E%3D2+querywords%3C%3D7&_q%5B1%5D=%28maison%7Bw%3D1%7D+a%7Bw%3D1%7D%29+OPT%28vendre%29+-category%3Aall+OPT%28Croix%29+country%3AFR+%28category%3Ahousing%29+querywords%3E%3D2+querywords%3C%3D6&_q%5B2%5D=OPT%28maison+OR+a+OR+vendre%29+-category%3Aall+OPT%28Croix%29+country%3AFR+%28category%3Ahousing%29+querywords%3E%3D2+querywords%3C%3D6&_q%5B3%5D=OPT%28maison+OR+a+OR+vendre%29+-category%3Aall+country%3AUS+%28category%3Ahousing%29+querywords%3E%3D2&_vn%5B0%5D=defaultkw_new&_vn%5B1%5D=defaultkw_new&_vn%5B2%5D=defaultkw_new&_vn%5B3%5D=seo_keywords_round_new&_cc%5B0%5D=FR&_cc%5B1%5D=FR&_cc%5B2%5D=FR&_cc%5B3%5D=US&_comp=gzip&_fmt=JSON&_hashq%5B1%5D=1&_hashq%5B2%5D=1&_hashq%5B3%5D=1&_hstart%5B2%5D=1",
       "HTTP/1.1",
       "Connection: Close",
       "X-URL:
 /searchkw/xml/?_q%5B0%5D=%28maison%7Bw%3D1%7D+a%7Bw%3D1%7D+vendre%7Bw%3D1%7D%29+-category%3Aall+%28Croix%7Bw%3D1%7D%29+country%3AFR+%28category%3Ahousing%29+querywords%3E%3D2+querywords%3C%3D7&_q%5B1%5D=%28maison%7Bw%3D1%7D+a%7Bw%3D1%7D%29+OPT%28vendre%29+-category%3Aall+OPT%28Croix%29+country%3AFR+%28category%3Ahousing%29+querywords%3E%3D2+querywords%3C%3D6&_q%5B2%5D=OPT%28maison+OR+a+OR+vendre%29+-category%3Aall+OPT%28Croix%29+country%3AFR+%28category%3Ahousing%29+querywords%3E%3D2+querywords%3C%3D6&_q%5B3%5D=OPT%28maison+OR+a+OR+vendre%29+-category%3Aall+country%3AUS+%28category%3Ahousing%29+querywords%3E%3D2&_vn%5B0%5D=defaultkw_new&_vn%5B1%5D=defaultkw_new&_vn%5B2%5D=defaultkw_new&_vn%5B3%5D=seo_keywords_round_new&_cc%5B0%5D=FR&_cc%5B1%5D=FR&_cc%5B2%5D=FR&_cc%5B3%5D=US&_comp=gzip&_fmt=JSON&_hashq%5B1%5D=1&_hashq%5B2%5D=1&_hashq%5B3%5D=1&_hstart%5B2%5D=1&ttls=672",
   },
   worker = 0x7ec7319e0b70 {
     ws = 0x7ec7319e0d18 {
       id = "wrk",
       {s,f,r,e} = {0x7ec7319ceac0,0x7ec7319ceac0,(nil),+65536},
     },
     },
     vcl = {
       srcname = {
         "input",
         "Default",
       },
     },
 },

 }}}

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




More information about the varnish-bugs mailing list