Description

This is a common crash occurring for Mac users in the 4.16 release. It appears to occur during editor startup. The below details are taken from user log files.

LogFileManager:Error: Requested read of 1339384636 bytes when 97027491 bytes remain (file=/Users/***/Library/Application Support/Epic/UnrealEngine/4.16/DerivedDataCache/Boot.ddc, size=147118843)
LogMac:Error: appError called: Assertion failed: Assertion failed: A.ArrayNum >= 0 [File:Runtime/Core/Public/Containers/Array.h] [Line: 1098] 

LogMac: === Critical error: ===
SIGSEGV: invalid attempt to access memory at address 0x3

LogMac: FGenericPlatformMisc::RaiseException(unsigned int) Address = 0x1aeff1b  (filename not found) [in UE4Editor-Core.dylib]
FOutputDeviceMacError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&) Address = 0x1cebd7f  (filename not found) [in UE4Editor-Core.dylib]
FOutputDevice::Logf(wchar_t const*, ...) Address = 0x1dcc88d  (filename not found) [in UE4Editor-Core.dylib]
FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...) Address = 0x1d32afe  (filename not found) [in UE4Editor-Core.dylib]
operator<<(FArchive&, TArray<unsigned char, FDefaultAllocator>&) Address = 0x1a21e7c2 (filename not found) [in UE4Editor-DerivedDataCache.dylib]
FMemoryDerivedDataBackend::LoadCache(wchar_t const*) Address = 0x1a21eebe (filename not found) [in UE4Editor-DerivedDataCache.dylib]
FDerivedDataBackendGraph::ParseBootCache(wchar_t const*, wchar_t const*, FString&) Address = 0x1a22dbd8 (filename not found) [in UE4Editor-DerivedDataCache.dylib]
FDerivedDataBackendGraph::ParseNode(wchar_t const*, FString const&, wchar_t const*, TMap<FString, FDerivedDataBackendInterface*, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<FString, FDerivedDataBackendInterface*, false> >&) Address = 0x1a22a38a (filename not found) [in UE4Editor-DerivedDataCache.dylib]
...more in logs...

User Descriptions

  • i was starting unreal and it crashed and tried opening it agan but still crashed and i know its not my computer please help me
Steps to Reproduce

Repro steps currently unknown. May be due to running out of memory.

Callstack
SEGV_MAPERR at 0x3

UE4Editor-DerivedDataCache.dylib!operator<<()
UE4Editor-DerivedDataCache.dylib!FMemoryDerivedDataBackend::LoadCache()
UE4Editor-DerivedDataCache.dylib!FDerivedDataBackendGraph::ParseBootCache()
UE4Editor-DerivedDataCache.dylib!FDerivedDataBackendGraph::ParseNode()
UE4Editor-DerivedDataCache.dylib!FDerivedDataBackendGraph::ParseHierarchicalCache()
UE4Editor-DerivedDataCache.dylib!FDerivedDataBackendGraph::ParseNode()
UE4Editor-DerivedDataCache.dylib!FDerivedDataBackendGraph::ParseAsyncPut()
UE4Editor-DerivedDataCache.dylib!FDerivedDataBackendGraph::ParseNode()
UE4Editor-DerivedDataCache.dylib!FDerivedDataBackendGraph::ParseKeyLength()
UE4Editor-DerivedDataCache.dylib!FDerivedDataBackendGraph::ParseNode()
UE4Editor-DerivedDataCache.dylib!FDerivedDataBackendGraph::FDerivedDataBackendGraph()
UE4Editor-DerivedDataCache.dylib!FDerivedDataCache::FDerivedDataCache()
UE4Editor-DerivedDataCache.dylib!InternalSingleton()
UE4Editor-DerivedDataCache.dylib!FDerivedDataCacheModule::GetDDC()
UE4Editor-DerivedDataCache.dylib!FDerivedDataCacheModule::StartupModule()
UE4Editor-Core.dylib!FModuleManager::LoadModuleWithFailureReason()
UE4Editor-Core.dylib!FModuleManager::LoadModule()
UE4Editor-Core.dylib!IDerivedDataCacheModule* FModuleManager::LoadModulePtr<IDerivedDataCacheModule>()
UE4Editor-Core.dylib!GetDerivedDataCache()
UE4Editor-Core.dylib!GetDerivedDataCacheRef()
UE4Editor-Engine.dylib!CompileGlobalShaderMap()
UE4Editor!FEngineLoop::PreInit()
UE4Editor!GuardedMain()
UE4Editor!<Unknown>
UE4Editor-Core.dylib!<Unknown>
Foundation!Unknown()
libsystem_pthread.dylib!<Unknown>
libsystem_pthread.dylib!<Unknown>
libsystem_pthread.dylib!<Unknown>

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-46035 in the post.

1
Login to Vote

Cannot Reproduce
ComponentUE - Foundation - Core
Affects Versions4.164.16.1
Target Fix4.17.2
CreatedJun 14, 2017
ResolvedAug 17, 2017
UpdatedJan 18, 2019