Project

General

Profile

Debug » History » Revision 2

Revision 1 (Adrian Georgescu, 02/27/2013 02:25 PM) → Revision 2/3 (Adrian Georgescu, 02/27/2013 02:26 PM)

h1. Debug 

 In case of crashes, to obtain a full backtrace, do the following: 

 <pre> 
 # enable core files 
 ulimit -c unlimited 
 </pre> 

 Run sylkserver in the foreground (--no-fork) 

 When 


 # when it crashes you see a file called 'core' in the current directory 

 
 <pre> 
 gdb python core 
 set logging on 
 thread apply all bt 
 exit 
 </pre> 

 You'll see a file called gdb.txt 

 Please make sure you gave the python-sipsimple-dbg package installed.