Hello<div><br></div><div>Here is the output of the gdb commands:</div><div><br></div><div><div>(gdb) core core</div><div>[New Thread 18567]</div><div>Core was generated by `/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 64 -u root -g roo'.</div>
<div>Program terminated with signal 6, Aborted.</div><div>#0 0x0040a422 in __kernel_vsyscall ()</div><div>.</div><div>.</div><div>.</div><div><br></div><div>(gdb) bt full</div><div>#0 0x0040a422 in __kernel_vsyscall ()</div>
<div>No symbol table info available.</div><div>#1 0x0056a651 in ?? ()</div><div>No symbol table info available.</div><div>#2 0x00695ff4 in ?? ()</div><div>No symbol table info available.</div><div>#3 0x0056da82 in ?? ()</div>
<div>No symbol table info available.</div><div>#4 0x00000006 in ?? ()</div><div>No symbol table info available.</div><div>#5 0xbff91960 in ?? ()</div><div>No symbol table info available.</div><div>#6 0x0816d529 in ?? ()</div>
<div>No symbol table info available.</div><div>#7 0xb37a7000 in ?? ()</div><div>No symbol table info available.</div><div>#8 0x0816de85 in ?? ()</div><div>No symbol table info available.</div><div>#9 0x00000000 in ?? ()</div>
<div>No symbol table info available.</div><div><br></div><div>.</div><div>.</div><div>.</div><div>(gdb) info reg</div><div>eax 0x0 0</div><div>ecx 0x4887 18567</div><div>edx 0x6 6</div>
<div>ebx 0x4887 18567</div><div>esp 0xbff918b4 0xbff918b4</div><div>ebp 0xbff918c0 0xbff918c0</div><div>esi 0x203a7364 540701540</div><div>edi 0x695ff4 6905844</div>
<div>eip 0x40a422 0x40a422 <__kernel_vsyscall+2></div><div>eflags 0x206 [ PF IF ]</div><div>cs 0x73 115</div><div>ss 0x7b 123</div><div>ds 0x7b 123</div>
<div>es 0x7b 123</div><div>fs 0x0 0</div><div>gs 0x33 51</div><div><br></div><div><br></div><div>I hope this helps.</div><div><br></div><div>Thanks again</div><div>Phillip</div>
<br><div class="gmail_quote">On Wed, Sep 14, 2011 at 5:34 PM, marius zbihlei <span dir="ltr"><<a href="mailto:marius.zbihlei@1and1.ro">marius.zbihlei@1and1.ro</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 09/14/2011 05:01 PM, Phillman25 Kyriacou wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Marius<br>
<br>
Thank you for your prompt reply.<br>
I apologise, As i am a newbie could you please explain how to produce the below output that you require?<br>
<br>
</blockquote></div>
if you can reproduce the crash, in a shell write<br>
<br>
ulimit -c unlimited #to allow unlimited size of coredump<br>
kamailio -f ../path/to/cfg #any other options you give to kamailio<br>
<here the crash happens - make it happen><br>
<br>
In the directory that you lunch the commands you will find several core.kamailio.<pid> (or simply just core) file, that are called coredumps (they should be fairly large so don't worry)<br>
<br>
After that :<br>
<br>
gdb /path/to/kamailio core.kamailo.<pid> #or how the core was called<br>
>bt full<br>
>info reg<br>
<br>
(these commands are in gdb prompt)<br>
Paste the output of the gdb commands and lets see what happens. It would really help if kamailio already has debug symbols when compilling (should be enabled by default).<br>
<br>
Cheers<br><font color="#888888">
Marius</font><div><div></div><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanking you in advance for your help!<br>
<br>
Regards<br>
Phillip<br>
</blockquote>
<br>
</div></div></blockquote></div><br></div>