[Kamailio-Devel] [Kamailio-Users] memory leak debugging

joy yue joy1.yue at gmail.com
Tue Dec 16 16:28:00 CET 2008


Hi Daniel,

Do you mean sending the log message with higher debugging level? The error
message I sent earlier is all I saw with debug level 3.

I am not using any costom module. The error happens right after openser
starts even before forking its child process.

Thanks,
-Joy

On 12/16/08, Daniel-Constantin Mierla <miconda at gmail.com> wrote:
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/devel/attachments/20081216/358c4eb4/attachment.htm 


More information about the Devel mailing list