Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
0.10.0
-
None
-
None
Description
Calling log4cxx::configureAndWatch() results in Logger::mutex being locked first, and Hierarchy::mutex being locked nested.
Calling log4cxx::LogManager::resetConfiguration() results in Hierarchy::mutex being locked first, and Logger::mutex being locked nested.
See also attached example and output from helgrind.
Similar problem as in issue 317.
Attachments
Attachments
Issue Links
- duplicates
-
LOGCXX-317 Log4cxx triggers locking inversion, which can result in a deadlock
- Resolved