summaryrefslogtreecommitdiffstats
path: root/testing/pdns/0010-disable-execinfo.patch
blob: 23747b31b062b30148ed4678cf60f2c65267d49a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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