[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4cxx-user
Subject:    =?UTF-8?Q?=4E=44=43=20=51=75=65=72=79?=
From:       prakash kadam <prakash_f_kadam () walla ! com>
Date:       2006-02-09 12:51:33
Message-ID: 1139489493.104000-1113397-10768 () walla ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]

[Attachment #4 (text/html)]


<BODY oncontextmenu="return false" dir=ltr style="OVERFLOW-Y: scroll" leftMargin=0 \
topMargin=0 rightMargin=0><DIV id=wrteplaceholder style="FONT-FAMILY: Arial" \
name="wrteplaceholder"> <DIV>Hi all,<BR>&nbsp; I am using log4cxx version \
0.9.7.&nbsp;I&nbsp;check&nbsp;log4cxx for memory leak with my application, it gives \
me memory leak at NDC::push. <BR><BR>I am calling it as<BR>&nbsp;&nbsp;&nbsp; const \
char * methodName&nbsp; = "getTagName";<BR>&nbsp;&nbsp;&nbsp; \
NDC::push(methodName);<BR><BR>and I get memory leak :<BR><BR>MLK: 64 bytes leaked at \
0x8875f8<BR>&nbsp; * This memory was allocated \
from:<BR>&nbsp;malloc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
[rtlib.o]<BR>&nbsp;c2n6Fi_Pv___1&nbsp; [libCrun.so.1]<BR>&nbsp;void*operator \
new(unsigned) [rtlib.o]<BR>&nbsp;void*std::allocator&lt;log4cxx::NDC::DiagnosticContext&gt;::allocate(unsigned,void*) \
[liblog4cxx.so.9]<BR>&nbsp;log4cxx::NDC::DiagnosticContext*std::allocator_interface&lt \
;std::allocator&lt;log4cxx::NDC::DiagnosticContext&gt;,log4cxx::NDC::DiagnosticContext&gt;::allocate(unsigned,log4cxx::NDC::DiagnosticContext*) \
[liblog4cxx.so.9]<BR>&nbsp;void \
std::deque&lt;log4cxx::NDC::DiagnosticContext,std::allocator&lt;log4cxx::NDC::DiagnosticContext&gt; \
&gt;::__allocate_at_end() [deque]<BR>&nbsp;void \
std::deque&lt;log4cxx::NDC::DiagnosticContext,std::allocator&lt;log4cxx::NDC::DiagnosticContext&gt; \
&gt;::push_back(const log4cxx::NDC::DiagnosticContext&amp;) \
[liblog4cxx.so.9]<BR>&nbsp;void \
std::stack&lt;log4cxx::NDC::DiagnosticContext,std::deque&lt;log4cxx::NDC::DiagnosticContext,std::allocator&lt;log4cxx::NDC::DiagnosticContext&gt; \
&gt; &gt;::push(const log4cxx::NDC::DiagnosticContext&amp;) \
[liblog4cxx.so.9]<BR>&nbsp;void log4cxx::NDC::push(const \
std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; \
&gt;&amp;) [ndc.cpp]<BR>&nbsp;EMS_NDC::EMS_NDC(const char*,log4cxx::Logger*) \
[emslog.h:22]<BR><BR><BR>How do i overcame with this?<BR><BR><BR> <HR>

<DIV>Prakash F. Kadam<BR></DIV></DIV></DIV></BODY><hr><div \
style="background-color:white;color:black;">Walla! Mail - <a \
href="http://www.walla.com" style="color:blue">get your free 3G mail today</a></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic