[4.1] 5f7d81e Enable our sig{segv, bus, abrt} panic handlers by default.

Martin Blix Grydeland martin at varnish-software.com
Fri Sep 4 15:54:52 CEST 2015


commit 5f7d81eac58ffb42a31788c5d9b39b28f2aea733
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date:   Tue Aug 4 10:57:09 2015 +0200

    Enable our sig{segv,bus,abrt} panic handlers by default.

diff --git a/bin/varnishd/mgt/mgt_param_tbl.c b/bin/varnishd/mgt/mgt_param_tbl.c
index 9c07c55..fa34aa1 100644
--- a/bin/varnishd/mgt/mgt_param_tbl.c
+++ b/bin/varnishd/mgt/mgt_param_tbl.c
@@ -419,7 +419,7 @@ struct parspec mgt_parspec[] = {
 		"Install a signal handler which tries to dump debug "
 		"information on segmentation and buserror faults.",
 		MUST_RESTART,
-		"off", "bool" },
+		"on", "bool" },
 	{ "vcl_dir", tweak_string, &mgt_vcl_dir,
 		NULL, NULL,
 		"Directory from which relative VCL filenames (vcl.load and "
diff --git a/bin/varnishtest/tests/c00057.vtc b/bin/varnishtest/tests/c00057.vtc
index fe8e78e..df4767b 100644
--- a/bin/varnishtest/tests/c00057.vtc
+++ b/bin/varnishtest/tests/c00057.vtc
@@ -6,7 +6,6 @@ server s1 {
 } -start
 
 varnish v1 -cliok "param.set vcc_allow_inline_c true"
-varnish v1 -cliok "param.set sigsegv_handler on"
 varnish v1 -vcl+backend {
 	C{
 #include <signal.h>



More information about the varnish-commit mailing list