Uday Naag wrote, On 22.9.2010 13:16:
> Hi,
>
> We have seen a core in log4plus library. Backtrace for the same is below. Can
> you please check if this is a known issue or please let me know what can
> cause this.
I see that the library SO version number is 2. That's probably log4cplus
1.0.2. Please try with the latest 1.0.4 release candidate instead. If it is
repeatable, try to distil a testcase out of the code. And/or compile with
debugging information and try to find out the reason for the access
violation. The call stack below does not look familiar and I do not remember
any bugs related to LogLevelManager any other relevant part of the call stack.
>
>
> (gdb) bt
>
> #0 0x08150ed8 in ?? ()
>
> #1 0xf6a40b42 in log4cplus::LogLevelManager::toString ()
>
> from /usr/app/capc/CL_Agent/LTE/thirdparty/lib/liblog4cplus.so.2
>
> #2 0xf6a4a07e in log4cplus::pattern::BasicPatternConverter::convert ()
>
> from /usr/app/capc/CL_Agent/LTE/thirdparty/lib/liblog4cplus.so.2
>
> #3 0xf6a47259 in log4cplus::pattern::PatternConverter::formatAndAppend ()
>
> from /usr/app/capc/CL_Agent/LTE/thirdparty/lib/liblog4cplus.so.2
>
> #4 0xf6a4763d in log4cplus::PatternLayout::formatAndAppend ()
>
> from /usr/app/capc/CL_Agent/LTE/thirdparty/lib/liblog4cplus.so.2
>
> #5 0xf6a32c04 in log4cplus::RollingFileAppender::append ()
>
> from /usr/app/capc/CL_Agent/LTE/thirdparty/lib/liblog4cplus.so.2
>
> #6 0xf6a22b93 in log4cplus::Appender::doAppend ()
>
> from /usr/app/capc/CL_Agent/LTE/thirdparty/lib/liblog4cplus.so.2
>
> #7 0xf6a214cc in
> log4cplus::helpers::AppenderAttachableImpl::appendLoopOnAppenders ()
>
> from /usr/app/capc/CL_Agent/LTE/thirdparty/lib/liblog4cplus.so.2
>
> #8 0xf6a3eee9 in log4cplus::spi::LoggerImpl::callAppenders ()
>
> from /usr/app/capc/CL_Agent/LTE/thirdparty/lib/liblog4cplus.so.2
>
> #9 0xf6a3eb08 in log4cplus::spi::LoggerImpl::forcedLog ()
>
> from /usr/app/capc/CL_Agent/LTE/thirdparty/lib/liblog4cplus.so.2
>
> #10 0xf6a3dd0b in log4cplus::Logger::forcedLog ()
>
> from /usr/app/capc/CL_Agent/LTE/thirdparty/lib/liblog4cplus.so.2
>
> #11 0x0806297f in readFromTCPClient ()
>
> #12 0x4f669e49 in ?? () from /lib/libpthread.so.0
>
> #13 0xf580b2ac in ?? ()
>
> #14 0xf35ff480 in ?? ()
>
> #15 0xf35ff480 in ?? ()
>
> #16 0xf35ff480 in ?? ()
>
> #17 0xf35ff480 in ?? ()
>
> #18 0x00000000 in ?? ()
--
VH
|