You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Thorsten Schöning (Jira)" <lo...@logging.apache.org> on 2020/08/07 17:24:00 UTC

[jira] [Resolved] (LOGCXX-330) Unhandled ThreadException when closing the AsyncAppender

     [ https://issues.apache.org/jira/browse/LOGCXX-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thorsten Schöning resolved LOGCXX-330.
--------------------------------------
    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.

> Unhandled ThreadException when closing the AsyncAppender
> --------------------------------------------------------
>
>                 Key: LOGCXX-330
>                 URL: https://issues.apache.org/jira/browse/LOGCXX-330
>             Project: Log4cxx
>          Issue Type: Bug
>          Components: Appender
>    Affects Versions: 0.10.0
>         Environment: Windows XP SP3
> MSVC 2008
>            Reporter: Tim Hanson
>            Assignee: Curt Arnold
>            Priority: Major
>
> I very occasionally see my application crashing with this dump produced. The debugger tells me it is an unhandled ThreadException that is bringing down the entire application. It appears as if the AsyncAppender::close() method needs to catch the ThreadException. This appears to be related to: https://issues.apache.org/jira/browse/LOGCXX-246, which is a similar bug in the TelnetAppender.
>  	kernel32.dll!7c812aeb() 	
>  	[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]	
>  	kernel32.dll!7c812aeb() 	
>  	log4cxxpx.dll!stlpx_std::priv::_STLP_alloc_proxy<char *,char,stlpx_std::allocator<char> >::~_STLP_alloc_proxy<char *,char,stlpx_std::allocator<char> >()  + 0xf bytes	C++
>  	log4cxxpx.dll!stlpx_std::priv::_String_base<char,stlpx_std::allocator<char> >::~_String_base<char,stlpx_std::allocator<char> >()  + 0x47 bytes	C++
>  	log4cxxpx.dll!stlpx_std::basic_string<char,stlpx_std::char_traits<char>,stlpx_std::allocator<char> >::~basic_string<char,stlpx_std::char_traits<char>,stlpx_std::allocator<char> >()  + 0xf bytes	C++
>  	msvcr80.dll!78158e89() 	
> >	log4cxxpx.dll!log4cxx::helpers::Thread::join()  + 0x7c bytes	C++
>  	log4cxxpx.dll!log4cxx::AsyncAppender::close()  + 0x70 bytes	C++
>  	log4cxxpx.dll!log4cxx::helpers::AppenderAttachableImpl::removeAllAppenders()  + 0x8a bytes	C++
>  	log4cxxpx.dll!log4cxx::Logger::removeAllAppenders()  + 0x80 bytes	C++
>  	log4cxxpx.dll!log4cxx::xml::DOMConfigurator::parseChildrenOfLoggerElement()  + 0x92 bytes	C++
>  	log4cxxpx.dll!log4cxx::xml::DOMConfigurator::parseLogger()  + 0x5bd bytes	C++
>  	log4cxxpx.dll!log4cxx::xml::DOMConfigurator::parse()  + 0x83f bytes	C++
>  	log4cxxpx.dll!log4cxx::xml::DOMConfigurator::doConfigure()  + 0x4d0 bytes	C++
>  	log4cxxpx.dll!XMLWatchdog::doOnChange()  + 0x74 bytes	C++
>  	log4cxxpx.dll!log4cxx::helpers::FileWatchdog::checkAndConfigure()  + 0x1d2 bytes	C++
>  	log4cxxpx.dll!log4cxx::helpers::FileWatchdog::run()  + 0x45 bytes	C++
>  	log4cxxpx.dll!_apr_thread_create@20()  + 0x150 bytes	C
>  	msvcr80.dll!781329bb() 	
>  	msvcr80.dll!78132a47() 	
>  	kernel32.dll!7c80b713() 	



--
This message was sent by Atlassian Jira
(v8.3.4#803005)