[Varnish] #967: Assert error in object_cmp(), cache_expire.c line 449: Condition((bb) != NULL) not true. thread = (cache-timeout)

Varnish varnish-bugs at varnish-cache.org
Mon Jul 25 15:26:05 CEST 2011


#967: Assert error in object_cmp(), cache_expire.c line 449: Condition((bb) !=
NULL) not true. thread = (cache-timeout)
---------------------+------------------------------------------------------
 Reporter:  pmialon  |        Type:  defect  
   Status:  new      |    Priority:  normal  
Milestone:           |   Component:  varnishd
  Version:  3.0.0    |    Severity:  critical
 Keywords:           |  
---------------------+------------------------------------------------------
 This panic occurred with approximately 17M of objects in cache. We
 experimented it on three different servers, they all run Debian 6.0 with
 debian package of varnish from repo.varnish-cache.org.


 {{{
 Last panic at: Wed, 20 Jul 2011 19:03:06 GMT
 Assert error in object_cmp(), cache_expire.c line 449:
 Condition((bb) != NULL) not true.
 thread = (cache-timeout)
 ident = Linux,2.6.32-5-amd64,x86_64,-sfile,-smalloc,-hcritbit,epoll
 Backtrace:
 /usr/sbin/varnishd()     bin/varnishd/cache_panic.c:273   pan_backtrace
 /usr/sbin/varnishd()     bin/varnishd/cache_expire.c:378  object_cmp
 /usr/lib/libvarnish.so.1 lib/libvarnish/binary_heap.c:269
 binheap_trickledown
 /usr/lib/libvarnish.so.1 lib/libvarnish/binary_heap.c:370 binheap_delete
 /usr/sbin/varnishd()     bin/varnishd/cache_expire.c:281  exp_timer
 /usr/sbin/varnishd()     bin/varnishd/cache_pool.c:574    wrk_bgthread
 /lib/libpthread.so.0(+0x68ba) [0x7fa33062f8ba]
 /lib/libc.so.6(clone+0x6d) [0x7fa32fefd02d]
 }}}

 We obtain the address with a recompiled package that didn't strip the
 binary and addr2line.

 We have exactly the same error using varnish 2.1 and 3.0.

-- 
Ticket URL: <http://varnish-cache.org/trac/ticket/967>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list