Crash in FMallocTBB::Malloc


i updated to 4.8 and now it crashes when i hit play in PIE

 	UE4Editor-Core.dll!rml::internal::FreeBlockPool::insertBlock(class rml::internal::Block *)	Unknown
 	UE4Editor-Core.dll!scalable_malloc()	Unknown
>	UE4Editor-Core.dll!FMallocTBB::Malloc(unsigned __int64 Size, unsigned int Alignment) Line 44	C++
 	UE4Editor-OutputLog.dll!SOutputLog::CreateLogMessages(const wchar_t * V, ELogVerbosity::Type Verbosity, const FName & Category, TArray<TSharedPtr<FLogMessage,0>,FDefaultAllocator> & OutMessages) Line 756	C++
 	UE4Editor-Core.dll!FOutputDeviceRedirector::Serialize(const wchar_t * Data, ELogVerbosity::Type Verbosity, const FName & Category) Line 841	C++
 	UE4Editor-Core.dll!FMsg::Logf_Internal__VA(const char * File, int Line, const FName & Category, ELogVerbosity::Type Verbosity, const wchar_t * Fmt, ...) Line 550	C++
 	UE4Editor-Engine.dll!UWorld::InitializeActorsForPlay(const FURL & InURL, bool bResetTime) Line 3031	C++
 	UE4Editor-Engine.dll!UGameInstance::StartPIEGameInstance(ULocalPlayer * LocalPlayer, bool bInSimulateInEditor, bool bAnyBlueprintErrors, bool bStartInSpectatorMode) Line 246	C++
 	UE4Editor-UnrealEd.dll!UEditorEngine::CreatePIEGameInstance(int PIEInstance, bool bInSimulateInEditor, bool bAnyBlueprintErrors, bool bStartInSpectatorMode, bool bRunAsDedicated, float PIEStartTime) Line 2920	C++
 	UE4Editor-UnrealEd.dll!UEditorEngine::PlayInEditor(UWorld * InWorld, bool bInSimulateInEditor) Line 2267	C++
 	UE4Editor-UnrealEd.dll!UEditorEngine::StartQueuedPlayMapRequest() Line 983	C++
 	UE4Editor-UnrealEd.dll!UEditorEngine::Tick(float DeltaSeconds, bool bIdleMode) Line 1236	C++
 	UE4Editor-UnrealEd.dll!UUnrealEdEngine::Tick(float DeltaSeconds, bool bIdleMode) Line 366	C++
 	UE4Editor.exe!FEngineLoop::Tick() Line 2355	C++
 	UE4Editor.exe!GuardedMain(const wchar_t * CmdLine, HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, int nCmdShow) Line 142	C++
 	UE4Editor.exe!WinMain(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * __formal, int nCmdShow) Line 189	C++
 	[External Code]

Hey Chrys-

Can you post the log files from the crash as well? Also, do you get the same crash in a new project created in 4.8?


Doug Wilson

I did some debugging and it turns out I was trashing memory and it just showed up in that part of the code. I fixed it now.