==19956== Thread #1: lock order "0x46BA73C before 0x46BA76C" violated ==19956== at 0x402635F: pthread_mutex_lock (hg_intercepts.c:464) ==19956== by 0x43FBA45: pthread_mutex_lock (forward.c:182) ==19956== by 0x460A0B7: apr_thread_mutex_lock (in /usr/lib/libapr-1.so.0.3.8) ==19956== by 0x417B731: log4cxx::helpers::synchronized::synchronized(log4cxx::helpers::Mutex const&) (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x411FAB4: log4cxx::Hierarchy::setConfigured(bool) (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x4121769: log4cxx::Hierarchy::fireAddAppenderEvent(log4cxx::helpers::ObjectPtrT const&, log4cxx::helpers::ObjectPtrT const&) (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x413524A: log4cxx::Logger::addAppender(log4cxx::helpers::ObjectPtrT const&) (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x415DB62: log4cxx::PropertyConfigurator::parseLogger(log4cxx::helpers::Properties&, log4cxx::helpers::ObjectPtrT&, std::string const&, std::string const&, std::string const&) (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x415E78C: log4cxx::PropertyConfigurator::configureRootLogger(log4cxx::helpers::Properties&, log4cxx::helpers::ObjectPtrT&) (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x415F3B3: log4cxx::PropertyConfigurator::doConfigure(log4cxx::helpers::Properties&, log4cxx::helpers::ObjectPtrT&) (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x415F7EE: log4cxx::PropertyConfigurator::doConfigure(log4cxx::File const&, log4cxx::helpers::ObjectPtrT&) (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x41601D1: PropertyWatchdog::doOnChange() (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== Required order was established by acquisition of lock at 0x46BA73C ==19956== at 0x402635F: pthread_mutex_lock (hg_intercepts.c:464) ==19956== by 0x43FBA45: pthread_mutex_lock (forward.c:182) ==19956== by 0x460A0B7: apr_thread_mutex_lock (in /usr/lib/libapr-1.so.0.3.8) ==19956== by 0x417B731: log4cxx::helpers::synchronized::synchronized(log4cxx::helpers::Mutex const&) (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x411FFB1: log4cxx::Hierarchy::Hierarchy() (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x413B62D: log4cxx::LogManager::getLoggerRepository() (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x41601B1: PropertyWatchdog::doOnChange() (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x411946B: log4cxx::helpers::FileWatchdog::checkAndConfigure() (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x4119621: log4cxx::helpers::FileWatchdog::start() (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x415B08C: log4cxx::PropertyConfigurator::configureAndWatch(log4cxx::File const&, long) (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x8049244: main (in /home/stefan/example) ==19956== followed by a later acquisition of lock at 0x46BA76C ==19956== at 0x402635F: pthread_mutex_lock (hg_intercepts.c:464) ==19956== by 0x43FBA45: pthread_mutex_lock (forward.c:182) ==19956== by 0x460A0B7: apr_thread_mutex_lock (in /usr/lib/libapr-1.so.0.3.8) ==19956== by 0x417B731: log4cxx::helpers::synchronized::synchronized(log4cxx::helpers::Mutex const&) (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x4134C63: log4cxx::Logger::Logger(log4cxx::helpers::Pool&, std::string const&) (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x41693A7: log4cxx::spi::RootLogger::RootLogger(log4cxx::helpers::Pool&, log4cxx::helpers::ObjectPtrT const&) (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x411FFE6: log4cxx::Hierarchy::Hierarchy() (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x413B62D: log4cxx::LogManager::getLoggerRepository() (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x41601B1: PropertyWatchdog::doOnChange() (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x411946B: log4cxx::helpers::FileWatchdog::checkAndConfigure() (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x4119621: log4cxx::helpers::FileWatchdog::start() (in /usr/lib/liblog4cxx.so.10.0.0) ==19956== by 0x415B08C: log4cxx::PropertyConfigurator::configureAndWatch(log4cxx::File const&, long) (in /usr/lib/liblog4cxx.so.10.0.0) ==19956==