[
https://issues.apache.org/jira/browse/LOGCXX-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thorsten Schöning resolved LOGCXX-377.
--------------------------------------
Resolution: Cannot Reproduce
Because we are trying to reduce the backlog of open issues, I'm closing this
one right now. The described environment in which the problem has been reported
originally is pretty outdated these days and things might have been fixed
already with a newer version of log4cxx and/or a new environment. If this
concrete problem is still relevant for someone, feel free to reopen and provide
the necessary details. Otherwise it's best to create a new issue describing the
new environment and problem.
> Program is freeing when log, the stack is
> -----------------------------------------
>
> Key: LOGCXX-377
> URL: https://issues.apache.org/jira/browse/LOGCXX-377
> Project: Log4cxx
> Issue Type: Bug
> Components: Appender
> Environment: Linux linux 2.6.5-7.244-bigsmp
> Reporter: tianchang
> Assignee: Curt Arnold
> Priority: Major
>
> Program is freeing when log, the stack is:
> #0 0xffffe410 in __kernel_vsyscall ()
> #1 0x405a8f9b in __write_nocancel () from /lib/tls/libc.so.6
> #2 0x4055a576 in _IO_new_file_write () from /lib/tls/libc.so.6
> #3 0x4055a275 in new_do_write () from /lib/tls/libc.so.6
> #4 0x4055a52f in _IO_new_do_write () from /lib/tls/libc.so.6
> #5 0x4055afb2 in _IO_new_file_sync () from /lib/tls/libc.so.6
> #6 0x405500b7 in fflush () from /lib/tls/libc.so.6
> #7 0x404c7aaf in std::__basic_file<char>::sync () from
> /usr/lib/libstdc++.so.5
> #8 0x404799aa in std::basic_filebuf<char, std::char_traits<char>
> >::_M_really_overflow () from /usr/lib/libstdc++.so.5
> #9 0x40479ac6 in std::basic_filebuf<char, std::char_traits<char> >::sync ()
> from /usr/lib/libstdc++.so.5
> #10 0x404aebab in std::ostream::flush () from /usr/lib/libstdc++.so.5
> #11 0x400e78e2 in log4cxx::WriterAppender::subAppend (this=0x8f27ad0,
> event=Internal: global symbol `ObjectPtrT<log4cxx::spi::LoggingEvent>' found
> in xmllayout.cpp psymtab but not in symtab.
> ObjectPtrT<log4cxx::spi::LoggingEvent> may be an inlined function, or may be
> a template function
> (if a template, try specifying an instantiation:
> ObjectPtrT<log4cxx::spi::LoggingEvent><type>).
> ) at writerappender.cpp:111
> #12 0x400c9ec1 in log4cxx::RollingFileAppender::subAppend (this=0x8f27ad0,
> event=Internal: global symbol `ObjectPtrT<log4cxx::spi::LoggingEvent>' found
> in ttcclayout.cpp psymtab but not in symtab.
> ObjectPtrT<log4cxx::spi::LoggingEvent> may be an inlined function, or may be
> a template function
> (if a template, try specifying an instantiation:
> ObjectPtrT<log4cxx::spi::LoggingEvent><type>).
> ) at rollingfileappender.cpp:104
> #13 0x400e75dc in log4cxx::WriterAppender::append (this=0x8f27ad0,
> event=Internal: global symbol `ObjectPtrT<log4cxx::spi::LoggingEvent>' found
> in syslogappender.cpp psymtab but not in symtab.
> ObjectPtrT<log4cxx::spi::LoggingEvent> may be an inlined function, or may be
> a template function
> (if a template, try specifying an instantiation:
> ObjectPtrT<log4cxx::spi::LoggingEvent><type>).
> ) at writerappender.cpp:61
> #14 0x4007d61d in log4cxx::AppenderSkeleton::doAppend (this=0x8f27ad0,
> event=@0x63f4edc0) at appenderskeleton.cpp:101
> #15 0x4007ad47 in
> log4cxx::helpers::AppenderAttachableImpl::appendLoopOnAppenders
> (this=0x8f2b268, event=Internal: global symbol
> `ObjectPtrT<log4cxx::spi::LoggingEvent>' found in stringmatchfilter.cpp
> psymtab but not in symtab.
> ObjectPtrT<log4cxx::spi::LoggingEvent> may be an inlined function, or may be
> a template function
> (if a template, try specifying an instantiation:
> ObjectPtrT<log4cxx::spi::LoggingEvent><type>).
> ) at objectptr.h:156
> #16 0x400a592c in log4cxx::Logger::callAppenders (this=0x8f27ef8,
> event=@0x63f4edc0) at objectptr.h:156
> #17 0x400a5a4e in log4cxx::Logger::forcedLog (this=0x8f27ef8,
> fqcn=@0x8f462a8, level=@0x40120c74, message=@0x63f4ee70, file=0x82b23f2
> "UDPStreamManager.h", line=357)
> at objectptr.h:69
> #18 0x400a6604 in log4cxx::Logger::info (this=0x8f27ef8, message=@0x63f4ee70,
> file=0x82b23f2 "UDPStreamManager.h", line=357) at logger.cpp:294
> #19 0x400f42ce in log4cxx_Log (sLoggerName=0x40824484 "ZMSSMediaProcess",
> nDebugLevel=20000, sFileIn=0x82b23d8
> "../common/UDPStreamModule/UDPStreamManager.h",
> nLine=357, sFormat=0x82bc4e4 "[UDPStream-Module] %s Succeeds to Adjusts
> Output Object of <%p>{Preferred SrcIP:[%s], UDPStream Y/N<%d>, SSRC<%u>}") at
> objectptr.h:156
> #20 0x0819f410 in CUDPStreamManager<5,
> CZMSSMediaSrcSDPStreamTask>::AdjustOutputObject ()
> #21 0x0819f4e4 in CUDPStreamInterface<5,
> CZMSSMediaSrcSDPStreamTask>::AdjustOutputObject ()
> #22 0x0818dfd0 in CZMSSMediaSrcSDPStreamTask::ProcessMonitorReq ()
> #23 0x08195862 in CZMSSMediaSrcSDPStreamTask::Run ()
> #24 0x080d867d in ZTEMMTaskThread<15>::Entry ()
> #25 0x40135ddd in OSThread::_Entry () from
> /usr/local/lib/libCommonUtilitiesLib.so
> #26 0x40429cb7 in start_thread () from /lib/tls/libpthread.so.0
> #27 0x405b721e in clone () from /lib/tls/libc.so.6
> #28 0x63f50bb0 in ?? ()
--
This message was sent by Atlassian Jira
(v8.3.4#803005)