diff options
Diffstat (limited to 'testing/pdns/0010-disable-execinfo.patch')
-rw-r--r-- | testing/pdns/0010-disable-execinfo.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/pdns/0010-disable-execinfo.patch b/testing/pdns/0010-disable-execinfo.patch new file mode 100644 index 0000000000..23747b31b0 --- /dev/null +++ b/testing/pdns/0010-disable-execinfo.patch @@ -0,0 +1,25 @@ +--- ./pdns/receiver.cc.orig ++++ ./pdns/receiver.cc +@@ -375,10 +375,11 @@ + + + #ifdef __linux__ +-#include <execinfo.h> ++//#include <execinfo.h> + static void tbhandler(int num) + { +- L<<Logger::Critical<<"Got a signal "<<num<<", attempting to print trace: "<<endl; ++ L<<Logger::Critical<<"Got a signal "<<num<<" (trace printing hard-disabled)"<<endl; ++/* + void *array[20]; //only care about last 17 functions (3 taken with tracing support) + size_t size; + char **strings; +@@ -389,7 +390,7 @@ + + for (i = 0; i < size; i++) //skip useless functions + L<<Logger::Error<<strings[i]<<endl; +- ++*/ + + signal(SIGABRT, SIG_DFL); + abort();//hopefully will give core |