-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.5.1
-
Component/s: Logging
-
None
-
Fully Compatible
-
ALL
-
Platforms 2016-10-10
When a thread terminates, objects pointed to by Thread Specific Pointers (TSPs), also known as Thread Local Storage (TLS), are deleted. One of these thread-local objects is used for logging. If the logging TSP is deleted before another TSP and the later TSP tries to log anything in its destructor, this can cause a segfault.
The code should be modified to guarantee that the TSP used for logging is the last TSP to be deleted so that other thread-local objects can use the logging system during object destruction.
- related to
-
SERVER-9850 replsets/sync_passive.js fails on Windows 32-bit
- Closed