mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			675 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			675 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- ./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
 |