[master] 0a7f23d97 More backtrace levels
    Nils Goroll 
    nils.goroll at uplex.de
       
    Mon Jun 26 13:41:06 UTC 2023
    
    
  
commit 0a7f23d973c3a9ddde1389bf1c51516da7d935bc
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Fri Jun 23 18:02:34 2023 +0200
    More backtrace levels
    
    https://gitlab.com/uplex/varnish/slash/-/issues/13 is an example where
    9 stack frames are used by abort handling alone.
diff --git a/bin/varnishd/cache/cache_panic.c b/bin/varnishd/cache/cache_panic.c
index 7f6d66873..221d9835c 100644
--- a/bin/varnishd/cache/cache_panic.c
+++ b/bin/varnishd/cache/cache_panic.c
@@ -646,11 +646,7 @@ pan_backtrace(struct vsb *vsb)
 
 #else /* WITH_UNWIND */
 
-#if defined(ENABLE_SANITIZER)
-#  define BACKTRACE_LEVELS	20
-#else
-#  define BACKTRACE_LEVELS	10
-#endif
+#define BACKTRACE_LEVELS	20
 
 static void
 pan_backtrace(struct vsb *vsb)
    
    
More information about the varnish-commit
mailing list