[Varnish] #489: Assert error in BAN_CheckObject()

Varnish varnish-bugs at projects.linpro.no
Wed May 13 16:44:19 CEST 2009


#489: Assert error in BAN_CheckObject()
----------------------+-----------------------------------------------------
 Reporter:  waschtl   |        Owner:  phk  
     Type:  defect    |       Status:  new  
 Priority:  normal    |    Milestone:       
Component:  varnishd  |      Version:  trunk
 Severity:  major     |   Resolution:       
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by waschtl):

 In response to phk's update in r4055, I installed the latest version in
 the environment causing the issues. I received the following output from
 start to next crash:

 {{{
 start
 child (20479) Started
 200 0

 Child (20479) said Closed fds: 4 5 7 10 11 13 14
 Child (20479) said Child starts
 Child (20479) said managed to mmap 1073741824 bytes of 1073741824
 Child (20479) said Ready
 Child (20479) died signal=6
 Child (20479) Panic message: Assert error in BAN_CheckObject(),
 cache_ban.c line 423:
   Condition((o->ban) != NULL) not true.
 thread = (cache-worker)
 Backtrace:
   0x42641f: pan_ic+132
   0x411675: BAN_CheckObject+127
   0x41f46e: HSH_Lookup+65a
   0x414874: cnt_lookup+17b
   0x41609a: CNT_Session+4e2
   0x4280e3: wrk_do_cnt_sess+12a
   0x427979: wrk_thread_real+5cd
   0x427d67: wrk_thread+a0
 sp = 0x2aab2182a008 {
   fd = 30, id = 30, xid = 569023539,
   client = 127.0.0.1:56258,
   step = STP_LOOKUP,
   handling = hash,
   restarts = 0, esis = 0
   ws = 0x2aab2182a078 {
     id = "sess",
     {s,f,r,e} = {0x2aab2182a808,+317,(nil),+16384},
   },
   http[req] = {
     ws = 0x2aab2182a078[sess]
       "GET",
       "/VirtualHostBase/http/<hidden-hostname>/<hidden-
 instance>/VirtualHostRoot//",
       "HTTP/1.0",
       "X-Enable-SSI: True",
       "X-Hosting: <hidden-hosting>",
       "X-Real-IP: <hidden-ip>",
       "X-Forwarded-For: <hidden-ip>",
       "Host: <hidden-hostname>",
       "Connection: close",
       "Cache-Control: no-cache",
       "User-Agent: ApacheBench/2.0.40-dev",
       "Accept: */*",
   },
   worker = 0x49811420 {
     ws = 0x49811910 {
       id = "wrk",
       {s,f,r,e} = {0x4980b3a0,0x4980b3a0,(nil),+16384},
     },
     },
     vcl = {
       srcname = {
         "input",
         "Default",
       },
     },
 },
 }}}

 Unfortunately, no core dump was created because I made a mistake with
 ulimit -c.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/489#comment:6>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list