Re: [Log4cplus-devel] DailyRollingFileAppender crashes with Ctrl-C
Logging Framework for C++
Brought to you by:
wilx
From: Václav Z. <vha...@gm...> - 2012-05-29 08:47:05
|
On 29 May 2012 05:20, vvv jjj wrote: > Hi log4cplus Devel Team, > > This is my first mail to this form about log4cplus bug. Please let me know > if I posted in the wrong form. > > I'm using log4plus for logging in my application which is working fine. > When using DailyRollingFileAppender it is working fine when my application > is running completely. But when I stop my application with Ctrl-C, then my > application is showing memory corruption message box.When I disable the > support of DailyRollingFileAppender it is working fine. I think that there > is some memory corruption when using DailyRollingFileAppender in application > which is closed using Ctrl-C. > > The details of log4cplus are: > log4cplus: > 1.0.4.1-RC2 version > build system that you are building log4cplus with Visual Studio solution > Visual Studio – project configuration (Debug_Unicode) > target OS Windows XP and CPU Intel > > log4cplus client application: > shared library log4cplus > library file you are linking your application with – log4cplusUSD.lib, > liblog4cplus.dll.a, etc., on Windows > your application is using Unicode/wchar_t > > Also I have seen that DailyRollingFileAppender has some issue with static > linking. Is that issue fixed or is it related to the problem which I'm > facing? I have not seen any issues with static linking. What problems do you see? > > Please let me know if anything is not clear or need any other details. > > Thanks and Regards > J.Viswanath Thank you for the problem report. Is this reproducible with any of the tests in tests/ directory? If not, could you provide a self contained test case? -- VZ |