Bigger hammer: panic() is similar to lbv_assert() but takes a struct sess *
from which it tries to extract as much useful information as possible before it croaks. The corresponding macro is spassert(), which assumes you have a struct sess *sp in scope. This should help a lot with bugs like #167 where important information is not available post-mortem (because sp->obj points into the cache, which is not included in the core dump) git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2254 d4fa192b-c00b-0410-8231-f00ffab90ce4
Showing
bin/varnishd/cache_panic.c
0 → 100644
Please register or sign in to comment