Re: log4cxx crashing when used in 'atexit' function.

2008-08-29 Thread Curt Arnold
It always helps if you can specify the compiler and operating system and a stack trace would also be nice. Since it is the start of a holiday weekend is the USA, it may be a while before somebody ged around to looking at the issue. One likely possibility is that APR may have already shut down.

log4cxx crashing when used in 'atexit' function.

2008-08-29 Thread Michel Marti
Hello, I noticed that log4cxx (SVN r677817) crashes (Segmentation Fault) when trying to log from an exit-handler. The code below reproduces the crash: #include #include #include static log4cxx::LoggerPtr log; static void cleanup() { LOG4CXX_DEBUG(log, "Oops..."); } int main(int a