[Kamailio-Devel] [Kamailio-Users] memory leak debugging
joy yue
joy1.yue at gmail.com
Tue Dec 16 16:55:49 CET 2008
Hi Daniel,
After setting debug level to 5, the log does not have more information. I
still see the same small error message:
testmachine console login: Dec 16 08:37:18 paecongo ./openser[5728]:
CRITICAL:core:
qm_debug_frag: qm_*: fragm. 1002a38d8 (address 1002a3908) end overwritten(0,
0)!
I am using 64-bit openser, is there any special thing I need to do for
64-bit?
Thanks,
-Joy
On 12/16/08, Daniel-Constantin Mierla <miconda at gmail.com> wrote:
>
> Hello Joy,
>
> On 12/16/08 17:28, joy yue wrote:
>
>>
>> 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.
>>
> yes, set the debug level to 5.
>
>>
>> I am not using any costom module. The error happens right after openser
>> starts even before forking its child process.
>>
> good, then the log is not that big. You can send it privately to me if you
> want to protect some information there.
>
> Thank you,
> Daniel
>
>
>> Thanks,
>> -Joy
>>
>> On 12/16/08, *Daniel-Constantin Mierla* <miconda at gmail.com <mailto:
>> 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>
>> <mailto: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>
>> <mailto: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 <mailto:Users at lists.kamailio.org>
>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>>
>>
>> -- Daniel-Constantin Mierla
>> http://www.asipto.com
>>
>>
>>
> --
> Daniel-Constantin Mierla
> http://www.asipto.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/devel/attachments/20081216/98b60ed1/attachment-0001.htm
More information about the Devel
mailing list