[sr-dev] Compile modules with debug symbols

Daniel-Constantin Mierla miconda at gmail.com
Mon Sep 10 10:02:31 CEST 2012


Hello,

yes, by default is with debug symbols on. Do you provide special flags 
or parameters to the make command?

Cheers,
Daniel

On 9/8/12 9:39 PM, Carlos Ruiz Díaz wrote:
> Hello list,
>
> I'm trying to debug my module after it crashed by SIGSEGV, but the 
> problem is that I'm unable to see the relevant data in the core file 
> that's being dumped after the crash.
>
> For example, if I do /bt full, /I get:
>
> 0  0x0ef0f494 in append_string () from 
> /opt/install/kamailio-3.2.3/lib/kamailio/modules_k/cnx3a.so
> No symbol table info available.
> #1  0x0eef9658 in build_message () from 
> /opt/install/kamailio-3.2.3/lib/kamailio/modules_k/cnx3a.so
> No symbol table info available.
> Backtrace stopped: frame did not save the PC
>
> Only the functions that were called but no parameter values.
>
> AFAIK, if I compile kamailio from sources, it is by default compiled 
> with the -g option, so, it looks like that I'm missing something else.
>
> Regards.
>
> Carlos.
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - http://asipto.com/u/katu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20120910/87206c54/attachment.htm>


More information about the sr-dev mailing list