Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux g++ 4.1

      Description

      On the exit of my test program I get the following backtrace.

      #0 0x08003064 in ?? ()
      #1 0xb7e7b726 in log4cxx::helpers::Transcoder::encode (src=@0xbfc9da54, dst=@0xbfc9da10) at transcoder.cpp:78
      #2 0xb7e7175e in log4cxx::helpers::SystemOutWriter::write (this=0x804b040, str=@0xbfc9da54) at systemoutwriter.cpp:56
      #3 0xb7e7e617 in log4cxx::WriterAppender::subAppend (this=0x805a318, event=@0xbfc9db6c, p=@0xbfc9db64) at writerappender.cpp:211
      #4 0xb7e7d5ac in log4cxx::WriterAppender::append (this=0x805a318, event=@0xbfc9db6c, pool1=@0xbfc9db64) at writerappender.cpp:88
      #5 0xb7dd7ce5 in log4cxx::AppenderSkeleton::doAppend (this=0x805a318, event=@0xbfc9db6c, pool1=@0xbfc9db64) at appenderskeleton.cpp:132
      #6 0xb7dd5441 in log4cxx::helpers::AppenderAttachableImpl::appendLoopOnAppenders (this=0x805a1f8, event=@0xbfc9db6c, p=@0xbfc9db64) at appenderattachableimpl.cpp:62
      #7 0xb7e259a7 in log4cxx::Logger::callAppenders (this=0x80576e0, event=@0xbfc9db6c, p=@0xbfc9db64) at logger.cpp:86
      #8 0xb7e27945 in log4cxx::Logger::forcedLog (this=0x80576e0, level1=@0xb7edd468, message=@0xbfc9dbb4, location=@0xbfc9dbc0) at logger.cpp:117
      #9 0x080490b2 in __tcf_2 () at ../../../../../head/ACC/src/core/server/device/test/log4cxxtest.cpp:18
      #10 0xb7af6594 in exit () from /lib/tls/i686/cmov/libc.so.6
      #11 0xb7adf058 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
      #12 0x08048be1 in _start ()

      I will attach the source file after I commited the bug report.

      In the test file I also have a workaround for the problem so that it can be avoided until there is a solution

        Attachments

        1. log4cxxtest.cpp
          0.7 kB
          Thorsten Zachmann

          Activity

            People

            • Assignee:
              carnold@apache.org Curt Arnold
              Reporter:
              zagge Thorsten Zachmann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: