[Varnish] #1529: Assert error in hcb_insert(), hash/hash_critbit.c line 260: Condition(y->critbit != y2->critbit) not true.

Varnish varnish-bugs at varnish-cache.org
Wed Jun 25 15:55:58 CEST 2014


#1529: Assert error in hcb_insert(), hash/hash_critbit.c line 260:
Condition(y->critbit != y2->critbit) not true.
----------------------+--------------------
 Reporter:  joakim    |       Owner:
     Type:  defect    |      Status:  new
 Priority:  normal    |   Milestone:
Component:  varnishd  |     Version:  4.0.0
 Severity:  normal    |  Resolution:
 Keywords:            |
----------------------+--------------------

Comment (by joakim):

 Bah, noticed I'd pasted the wrong panic output in this ticket. However,
 the panic is still present in varnish master as of commit
 a9d746324385f55f080e7a6fc9e400c412cac40f

 Panic message:

 {{{
 Last panic at: Wed, 25 Jun 2014 13:41:38 GMT
 Assert error in hcb_insert(), hash/hash_critbit.c line 260:
   Condition(y->critbit != y2->critbit) not true.
 thread = (cache-worker)
 ident = Linux,3.2.0-4-amd64,x86_64,-smalloc,-smalloc,-hcritbit,epoll
 Backtrace:
   0x434585: /usr/sbin/varnishd() [0x434585]
   0x44e3e8: /usr/sbin/varnishd() [0x44e3e8]
   0x44e6f7: /usr/sbin/varnishd() [0x44e6f7]
   0x428b72: /usr/sbin/varnishd(HSH_Lookup+0x572) [0x428b72]
   0x4378d8: /usr/sbin/varnishd() [0x4378d8]
   0x438f09: /usr/sbin/varnishd(CNT_Request+0x519) [0x438f09]
   0x42ea3b: /usr/sbin/varnishd(HTTP1_Session+0x7cb) [0x42ea3b]
   0x43cb08: /usr/sbin/varnishd() [0x43cb08]
   0x437470: /usr/sbin/varnishd(Pool_Work_Thread+0x370) [0x437470]
   0x449fbd: /usr/sbin/varnishd() [0x449fbd]
 req = 0x7faac5129020 {
   sp = 0x7fccc6c106a0, vxid = 1080330745,  step = R_STP_LOOKUP,
   req_body = R_BODY_NONE,
   restarts = 0, esi_level = 0
   sp = 0x7fccc6c106a0 {
     fd = 110, vxid = 6588912,
     client = 94.234.170.173 4653,
     step = S_STP_WORKING,
   },
   worker = 0x7fccae43ec40 {
     ws = 0x7fccae43ee58 {
       id = "wrk",
       {s,f,r,e} = {0x7fccae43e440,0x7fccae43e440,(nil),+2048},
     },
   VCL::method = 0x0,
   VCL::return = lookup,
   },
   ws = 0x7faac51291b8 {
     id = "req",
     {s,f,r,e} = {0x7faac512b010,+864,+57360,+57360},
   },
   http[req] = {
     ws = 0x7faac51291b8[req]
       "GET",
       "/1f68ddf2-6856-4f33-9f31-ea4f7e442f51/large/segment000087.ts",
       "HTTP/1.1",
       "Host: archive.example.com",
       "X-Playback-Session-Id: 74938B44-9611-4FCD-836B-22D0D88EF0CA",
       "Accept: */*",
       "Connection: keep-alive",
       "User-Agent: AppleCoreMedia/1.0.0.11D167 (iPhone; U; CPU OS 7_1 like
 Mac OS X; sv_se)",
       "X-Forwarded-For: 123.456.789.0",
   },
   vcl = {
     srcname = {
       "input",
       "Builtin",
       "example-acl.vcl",
       "example-backend.vcl",
       "example-synth.vcl",
     },
   },
 },
 }}}

 Still don't know how to reproduce except just running Varnish and waiting
 for a couple of hours.

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1529#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list