[Varnish] #1188: Assert error in hcb_insert(), hash_critbit.c line 212: Condition((y)->magic == 0x125c4bd2) not true.

Varnish varnish-bugs at varnish-cache.org
Thu Aug 23 07:43:26 CEST 2012


#1188: Assert error in hcb_insert(), hash_critbit.c line 212:
Condition((y)->magic == 0x125c4bd2) not true.
-------------------+----------------------
 Reporter:  flies  |       Type:  defect
   Status:  new    |   Priority:  normal
Milestone:         |  Component:  varnishd
  Version:  3.0.3  |   Severity:  normal
 Keywords:         |
-------------------+----------------------
 Hi, we have been able to reproduce this error in version 3.0.3 (we
 previously had it on 2.1.3, 2.1.5).

 It happens very often, if the traffic is high. If the traffic is medium it
 crashes once per a day or two.

 We are using credis library in varnish VCL.

 Here's the output from screen:

 {{{

 Aug 23 07:13:28 blog-dev varnishd[19541]: Child (19553) Panic message:
 Assert error in hcb_insert(), hash_critbit.c line 212:
   Condition((y)->magic == 0x125c4bd2) not true.
 errno = 115 (Operation now in progress)
 thread = (cache-worker)
 ident = Linux,2.6.32-5-amd64,x86_64,-sfile,-smalloc,-hcritbit,epoll
 Backtrace:
   0x43cca8: pan_backtrace+28
   0x43cfa0: pan_ic+1bc
   0x452989: hcb_insert+ef
   0x453a4b: hcb_lookup+191
   0x432d71: HSH_Lookup+3ac
   0x41de2f: cnt_lookup+27e
   0x41fe14: CNT_Session+6be
   0x43e75d: wrk_thread_real+9c5
   0x43ec08: wrk_thread+139
   0x7f9bf7a968ca: _end+7f9bf73f8272
 sp = 0x7f9adf2e0008 {
   fd = 249, id = 249, xid = 1121929969,
   client = 180.76.5.107 20988,
   step = STP_LOOKUP,
   handling = hash,
   restarts = 0, esi_level = 0
   flags =
   bodystatus = 4
   ws = 0x7f9adf2e0080 {
     id = "sess",
     {s,f,r,e} = {0x7f9adf2e0c78,+432,+65536,+65536},
   },
   http[req] = {
     ws = 0x7f9adf2e0080[sess]
       "GET",
       "/PATH_OF_THE_URL",
       "HTTP/1.1",
       "Host: HOST.XXX.PL",
       "Connection: close",
       "User-Agent: Mozilla/5.0 (compatible; Baiduspider/2.0;
 +http://www.baidu.com/search/spider.html)",
       "Accept-Language: en-US",
       "Accept: */*",
       "X-Forwarded-For: XXX.XXX.XXX.XXX",
       "X-User-Host: HOST.XXX.PL",
   },
   worker = 0x7f9accef5a90 {
     ws = 0x7f9accef5cc8 {
       id = "wrk",
       {s,f,r,e} = {0x7f9accee39e0,0x7f9accee39e0,(nil),+65536},
     },
     },
     vcl = {
       srcname = {
         "input",
         "Default",
       },
     },
 },


 }}}

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




More information about the varnish-bugs mailing list