Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
2.5.1
-
None
-
Fully Compatible
-
ALL
-
Platforms 2016-10-10
Description
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.
Attachments
Issue Links
- related to
-
SERVER-9850 replsets/sync_passive.js fails on Windows 32-bit
-
- Closed
-