[Kamailio-Users] memory leak debugging

Daniel-Constantin Mierla miconda at gmail.com
Tue Dec 16 11:55:59 CET 2008


Hello,

On 12/16/08 04:06, joy yue wrote:
>
> Thanks for the help. After re-compilation, I was able to run openser, 
> but only the main process is running, and I hit another error:
>
>  ./openser[9064]: CRITICAL:core:qm_debug_frag: qm_*: fragm. 1002a3760 
> (address 1002a3790) end overwritten(0, 0)!
there is an error in the operations with memory. Can you make a tarball 
with entire log messages (from start to end) and make it available for 
download?

Are you using any custom module developed by yourself?

Cheers,
Daniel

>
> I am using 64-bit openser.
>
> Thanks,
> -Joy
>
>
> On 12/15/08, *Klaus Darilion* <klaus.mailinglists at pernau.at 
> <mailto:klaus.mailinglists at pernau.at>> wrote:
>
>     maybe you only have recompiled the core.
>
>     make proper
>     make all
>
>     regards
>     klaus
>
>     joy yue wrote:
>
>         Hi,
>
>         I was trying to debugg if I hit a memory leak issue. I delete
>         "-DF_MALLOC" line and insert a "-DDBG_QM_MALLOC" line of DEFS
>         string in Makefile.def. I was able to compile openser with new
>         Makefile.def. But when running openser, I get error, fm_free()
>         is not defined, in many modules. And there is a flag mismatch
>         between openser core and modules compilation. Core compilation
>         has DDBG_QM_MALLOC flag, but module compilation still uses
>         F_MALLOC instead of DDBG_QM_MALLOC. Is there anything else I
>         need to change in Makefile.defs?
>
>         Thanks,
>         -Joy
>
>
>         ------------------------------------------------------------------------
>
>         _______________________________________________
>         Users mailing list
>         Users at lists.kamailio.org <mailto:Users at lists.kamailio.org>
>         http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>   

-- 
Daniel-Constantin Mierla
http://www.asipto.com





More information about the Users mailing list