RE: Trying to Install/Build log4cxx on Solaris

2004-07-27 Thread Barak Simon
Hi, Tnx for the answer and sorry for not replying sooner, but I only now had time to check it. I tried running the configure file you sent me and I get: "config.status: error: cannot find input file: include/log4cxx/config_msvc.h.in" After running make (since makefile was already created at tha

Memory Leaks in Log4cxx

2004-07-27 Thread Hemant
Hi, I have installed log4cxx library on Windows xp. I have used the dll as well as the static version of the library. I am almost certain that there are memory leaks in the library. Also when I used the dll version of the library I get a runtime error saying "pure virtual function call" error no. R

Re: Memory Leaks in Log4cxx

2004-07-27 Thread Christophe de VIENNE
Hi, Hemant wrote: Hi, I have installed log4cxx library on Windows xp. I have used the dll as well as the static version of the library. I am almost certain that there are memory leaks in the library. Could you be more precise about the memory leak(s) ? What make you think that and do you have p

Re: Memory Leaks in Log4cxx

2004-07-27 Thread Michael CATANZARITI
Hello, If you tested log4cxx with MFC, you will get false memory leaks because of static class members which are destroyed after the leak dump is displayed on the ouput. If not, please send your leak dump to the mailing list. Michaël Selon Christophe de VIENNE <[EMAIL PROTECTED]>: > Hi, > > > H

RE: Memory Leaks in Log4cxx

2004-07-27 Thread Hemant
Hi, I have attached the c++ file along with this mail. Just run this code with dll version of the log4cxx library. >Could you be more precise about the memory leak(s) ? What make you think >that and do you have presumption on where ? After running this file you can see the memory leaks dumped in

RE: Memory Leaks in Log4cxx

2004-07-27 Thread Hemant
Hi, Sorry about the file. This is the latest version of the file. I have attached it again. -Hemant -Original Message- From: Christophe de VIENNE [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 4:01 PM To: Log4CXX User Subject: Re: Memory Leaks in Log4cxx Hi, Hemant wrote: >Hi

RE: Memory Leaks in Log4cxx

2004-07-27 Thread Hemant
Hi, I have used a win32 console based application. I already have attached the file and sent it across. Just in case you do not get it I have attached it with this mail. When you run it you will get the leaks listed in the output window. -Hemant -Original Message- From: Michael CATANZARI

RE: Memory Leaks in Log4cxx

2004-07-27 Thread Michael CATANZARITI
Hemant, can you just copy your MSVC Output concerning the leaks in a mail, please ? Selon Hemant <[EMAIL PROTECTED]>: > Hi, > I have used a win32 console based application. I already have attached the > file and sent it across. > Just in case you do not get it I have attached it with this mail.

RE: Memory Leaks in Log4cxx

2004-07-27 Thread Michael CATANZARITI
Heman, I think I have understood the problem. On line 29, please change Logger *pMylogger = Logger::getLogger(_T("MgmtServer")); by LoggerPtr pMylogger = Logger::getLogger(_T("MgmtServer")); and let us know if it works. Michaël Selon Hemant <[EMAIL PROTECTED]>: > Hi, > Sorry about the fil

RE: Memory Leaks in Log4cxx

2004-07-27 Thread FabijanicA
There are 13 memory leaks and 7 resource leaks reported at the end of execution. I am still trying to figure out most of them, but here's where some of the leaks reported are coming from: timezone.cpp line 32 [2 leaks - calling tzset and gmtime]: TimeZonePtr TimeZone::defaultTimeZone =

RE: Memory Leaks in Log4cxx

2004-07-27 Thread FabijanicA
I mixed the line numbers - they are swapped, the first line was 92, the second one 32. [EMAIL PROTECTED] teel.com

RE: Memory Leaks in Log4cxx

2004-07-27 Thread Hemant
Hi, I tried it already, and then I changed it back to what you see now. I still get the runtime error "pure virutal function call". -Hemant -Original Message- From: Michael CATANZARITI [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 5:47 PM To: Log4CXX User Subject: RE: Memory Leak

RE: Memory Leaks in Log4cxx

2004-07-27 Thread FabijanicA
And here is the actual dump: (See attached file: memleaks.txt) memleaks.txt Description: Binary data

RE: Memory Leaks in Log4cxx

2004-07-27 Thread Hemant
Hi, Did you examine the following files for memory leaks :- basiconfigurator.cpp logmanager.cpp -Hemant -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 6:17 PM To: Log4CXX User Subject: RE: Memory Leaks in Log4cxx And here is the ac

RE: Memory Leaks in Log4cxx

2004-07-27 Thread FabijanicA
I'm trying to figure out how does this memory debugging actually work. I'm not sure we are using Crt... functions in a proper way. I get a leak report by running this: #include #include int main(int argc, char* argv[]) { _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);

Re: Memory Leaks in Log4cxx

2004-07-27 Thread Christophe de VIENNE
Hi, [EMAIL PROTECTED] wrote: There are 13 memory leaks and 7 resource leaks reported at the end of execution. I am still trying to figure out most of them, but here's where some of the leaks reported are coming from: timezone.cpp line 32 [2 leaks - calling tzset and gmtime]: TimeZonePtr TimeZo

Re: Memory Leaks in Log4cxx

2004-07-27 Thread FabijanicA
Christophe de VIENNE <[EMAIL PROTECTED]

Re: Memory Leaks in Log4cxx

2004-07-27 Thread Michael CATANZARITI
I think it's the same problem. By using the _CRTDBG_REPORT_FLAG flag, it should work. Michaël Selon Christophe de VIENNE <[EMAIL PROTECTED]>: > Hi, > > > [EMAIL PROTECTED] wrote: > > >There are 13 memory leaks and 7 resource leaks reported at the end of > >execution. I am still trying to figure

RE: Memory Leaks in Log4cxx

2004-07-27 Thread Michael CATANZARITI
Hello, That's right. You don't have to call _CrtDumpMemoryLeaks directly. Indeed, you will cause the dump to begin before all static class members are destroyed. Just use the following line _CrtSetDbgFlag(_CRTDBG_REPORT_FLAG|_CRTDBG_LEAK_CHECK_DF); with the flag _CRTDBG_REPORT_FLAG, CRT automat

RE: Memory Leaks in Log4cxx

2004-07-27 Thread Michael CATANZARITI
Hello, That's right. You don't have to call _CrtDumpMemoryLeaks directly. Indeed, you will cause the dump to begin before all static class members are destroyed. Just use the following line _CrtSetDbgFlag(_CRTDBG_REPORT_FLAG|_CRTDBG_LEAK_CHECK_DF); with the flag _CRTDBG_REPORT_FLAG, CRT automat

RE: Trying to Install/Build log4cxx on Solaris

2004-07-27 Thread Jwahar Bammi
Barak, I put my entire tree, tar'ed and compressed on our ftp server Login as user 'anonymous' with any string as passwd Set BINARY mode (bin command) And download logSolaris.tar.gz ftp memento-inc.com Connected to memento-inc.com. 220 Microsoft FTP Service User (memento-inc.com:(none)): anonymou

Timezone side effects (was Re: Memory Leaks in Log4cxx)

2004-07-27 Thread Curt Arnold
On Jul 27, 2004, at 7:29 AM, [EMAIL PROTECTED] wrote: There are 13 memory leaks and 7 resource leaks reported at the end of execution. I am still trying to figure out most of them, but here's where some of the leaks reported are coming from: timezone.cpp line 32 [2 leaks - calling tzset and