In file modules\core\src\system.cpp there is this peace of code:
TLSData<CoreTLSData>& getCoreTlsData()
{
static TLSData<CoreTLSData> *value = new TLSData<CoreTLSData>();
return *value;
}
I am using Visual Studio 2013 and getting hard to reproduce crashes.