[SR-Users] Kamailio terminating after upgrading from 3.1.2 to 3.1.4
Timo Reimann
timo.reimann at 1und1.de
Fri Sep 16 12:44:59 CEST 2011
On 16.09.2011 12:00, Phillman25 Kyriacou wrote:
> 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?
I always add "mode=debug" to make, e.g.:
make mode=debug <my other make options>
HTH,
--Timo
> On Thu, Sep 15, 2011 at 5:02 PM, marius zbihlei <marius.zbihlei at 1and1.ro
> <mailto:marius.zbihlei at 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
More information about the sr-users
mailing list