Thanks for your email Marius.

Could you please explain in a little more detail how to compile Kamailio with debug symbols?
Do i use the command make CFLAGS=-g ?
then make QUIET=no all?

Thanks again for your assistance!

Regards
Phillip
On Thu, Sep 15, 2011 at 5:02 PM, marius zbihlei <marius.zbihlei@1and1.ro> wrote:
On 09/14/2011 07:40 PM, Phillman25 Kyriacou wrote:
Hello

Here is the output of the gdb commands:

(gdb) core core
[New Thread 18567]
Core was generated by `/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -m 64 -u root -g roo'.
Program terminated with signal 6, Aborted.
#0  0x0040a422 in __kernel_vsyscall ()
.
.
.

(gdb) bt full
#0  0x0040a422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x0056a651 in ?? ()
No symbol table info available.
#2  0x00695ff4 in ?? ()
No symbol table info available.
#3  0x0056da82 in ?? ()
No symbol table info available.
#4  0x00000006 in ?? ()
No symbol table info available.
#5  0xbff91960 in ?? ()

Hello,
This is not very helpful as the debug symbols weren't loaded. You have to compile Kamailio with debug symbols (make sure the -g flag is passed to CFLAGS when compiling) and then reload the core (it is not mandatory to generate another one )

make QUIET=no (to see the flags)

Also don't strip the executable


Marius

--
Zbihlei Marius

Head of
Linux Development Services Romania

1&1 Internet Development srl    Tel KA: 754-9512
Str Mircea Eliade 18            Tel RO: +40-31-223-9512
Sect 1, Bucuresti               mailto: marius.zbihlei@1and1.ro
71295, Romania