Debug
Version 1 (Adrian Georgescu, 02/27/2013 02:25 pm) → Version 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.
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.