[Varnish] #159: Assert error in exp_hangman()

Varnish varnish-bugs at projects.linpro.no
Fri Sep 7 10:25:59 CEST 2007


#159: Assert error in exp_hangman()
---------------------------+------------------------------------------------
 Reporter:  janis.putrams  |       Owner:  phk  
     Type:  defect         |      Status:  new  
 Priority:  normal         |   Milestone:       
Component:  varnishd       |     Version:  trunk
 Severity:  normal         |    Keywords:       
---------------------------+------------------------------------------------
 while running varnishd trunk (04.09.207) in debug mode
 varnishd -d -d -f /etc/varnishd/varnishd.conf -T 127.0.0.1:81 -P
 /var/run/varnishd.pid -s
 file,/var/spool/varnishd/varnishd_storage.bin,512M -w 20,250,120

 got assertion:
 > Child said (2, 1476): <<Assert error in exp_hangman(), cache_expire.c
 line 113:
 >   Condition((o)->magic == 0x32851d42) not true.
 >   errno = 0 (Success)
 > >>
 > Cache child died pid=1476 status=0x6
 > Clean child
 > Child cleaned
 > start child pid 12020

 my vlc:

 {{{
 backend www {
         set backend.host = "1.1.1.1";
         set backend.port = "8080";
 }

 backend g {
         set backend.host = "1.1.1.1";
         set backend.port = "8081";
 }


 sub vcl_recv {
         if (!req.http.host) {
                 error 400 "No Host: header";
         } elsif (req.http.host == "www.delfi.lv") {
                         set req.backend = www;
         } elsif (req.http.host == "delfi.lv") {
                         set req.backend = www;
         } elsif (req.http.host == "rus.delfi.lv") {
                         set req.backend = www;
         } elsif (req.http.host == "notikumi.delfi.lv") {
                         set req.backend = www;
         } elsif (req.http.host == "woman.delfi.lv") {
                         set req.backend = www;
         } elsif (req.http.host == "opensociety.delfi.lv") {
                         set req.backend = www;
         } elsif (req.http.host == "sport.delfi.lv") {
                         set req.backend = www;
         } elsif (req.http.host == "g.delfi.lv") {
                         set req.backend = g;
         } else {
                         error 404 "Unknown virtual host";
         }

         if (req.request == "POST") {
                         pipe;
         }
         lookup;
 }
 }}}


 Running in PLD Linux 2.0 ac 2.6.16.52-1smp on Intel platform with 8G of
 ram.

 i have ulimit set right, but never get any core file. dono why.

 Though I have been running this version for 4 days but got this assertion
 only once.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/159>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list