[Varnish] #551: Varnish Crash: Missing errorhandling code in HSH_Prepare(), cache_hash.c line 188

Varnish varnish-bugs at projects.linpro.no
Tue Sep 8 22:43:39 CEST 2009


#551: Varnish Crash: Missing errorhandling code in HSH_Prepare(), cache_hash.c
line 188
----------------------+-----------------------------------------------------
 Reporter:  cheerios  |        Owner:  phk
     Type:  defect    |       Status:  new
 Priority:  normal    |    Milestone:     
Component:  varnishd  |      Version:  2.0
 Severity:  normal    |   Resolution:     
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by kb):

 Just saw this myself on a long-running Varnish process:

 {{{
 #!html
 Sep  7 17:30:34 statcache1 varnishd[30482]: Child (30483) Panic message:
 Missing errorhandling code in HSH_Prepare(), cache_hash.c line 188:
 Condition((p) != 0) not true.  thread = (cache-worker)sp = 0x7f9df03c0008
 {   fd = 5, id = 5, xid = 3735384183,   client = 10.40.201.13:33005,
 step = STP_LOOKUP,   handling = lookup,   err_code = 204, err_reason =
 (null),   ws = 0x7f9df03c0078 { overflow     id = "sess",     {s,f,r,e} =
 {0x7f9df03c0808,,+16362,(nil),+16384},   }, worker = 0x449f8be0 {     },
 vcl = {       srcname = { "input",    "Default",         "my.vcl",     },
 }, },
 }}}

 {{{
 #0  0x00007f9e032c1095 in raise () from /lib/libc.so.6
 #1  0x00007f9e032c2af0 in abort () from /lib/libc.so.6
 #2  0x000000000041b7f7 in pan_ic (func=<value optimized out>, file=<value
 optimized out>, line=<value optimized out>,
     cond=<value optimized out>, err=0, xxx=<value optimized out>) at
 cache_panic.c:317
 #3  0x00000000004162b6 in HSH_Prepare (sp=0x7f9df03c0008, nhashcount=3) at
 cache_hash.c:188
 #4  0x000000000040fc47 in cnt_lookup (sp=0x7f9df03c0008) at
 cache_center.c:592
 #5  0x00000000004113bc in CNT_Session (sp=0x7f9df03c0008) at steps.h:38
 #6  0x000000000041ce11 in wrk_do_cnt_sess (w=0x449f8be0, priv=<value
 optimized out>) at cache_pool.c:398
 #7  0x000000000041c4cb in wrk_thread (priv=0x7f9e0310c1a0) at
 cache_pool.c:310
 #8  0x00007f9e03a913f7 in start_thread () from /lib/libpthread.so.0
 #9  0x00007f9e03366b3d in clone () from /lib/libc.so.6
 #10 0x0000000000000000 in ?? ()
 }}}

 Session workspace overflow?

 Ken

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


More information about the varnish-bugs mailing list