Description

This is an infrequent Mac crash that has occurred for a few users between 4.17 and 4.18. Users have not provided any descriptions of their actions when the crash occurred.

Callstack from Log

[2017.10.26-22.23.06:321][497]LogSavePackage: Async saving from memory to '/Users/***/Desktop/Projects/***/Saved/EditorCooked/IOS/***/Content/Scenes/CardTree/star/star_rig_Skeleton.uasset'
[2017.10.26-22.23.06:321][497]LogSavePackage: Display: Finished SavePackage /Users/***/Desktop/Projects/***/Saved/EditorCooked/IOS/***/Content/Scenes/CardTree/star/star_rig_Skeleton.uasset
[2017.10.26-22.23.06:322][497]LogCook: Display: Cooking /Game/Textures/candle_alpha -> /Users/***/Desktop/Projects/***/Saved/EditorCooked/IOS/***/Content/Textures/candle_alpha.uasset
[2017.10.26-22.23.19:871][497]LogMac: Error: appError called: Assertion failed: CurrentPos + Count <= TotalSizeOrMaxInt64IfNotReady() [File:/Users/build/Build/++UE4+Release-4.18+Compile/Sync/Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncLoading.cpp] [Line: 7718] 
Seeked past end of file ../../../../../../***/Desktop/Projects/***/Content/Textures/candle_alpha.uasset (16783304 / 23994)

[2017.10.26-22.23.19:969][497]LogMac: === Critical error: ===
SIGSEGV: invalid attempt to access memory at address 0x3

[2017.10.26-22.23.19:969][497]LogMac: 0x05e5edbb UE4Editor-Core.dylib!FGenericPlatformMisc::RaiseException(unsigned int)   [UnknownFile]) 
0x0bca0c09 UE4Editor-ApplicationCore.dylib!FMacErrorOutputDevice::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&)   [UnknownFile]) 
0x0610ccfd UE4Editor-Core.dylib!FOutputDevice::Logf(wchar_t const*, ...)   [UnknownFile]) 
0x0608331b UE4Editor-Core.dylib!FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...)   [UnknownFile]) 
0x06b1f2c4 UE4Editor-CoreUObject.dylib!FArchiveAsync2::Serialize(void*, long long)   [UnknownFile]) 
0x05e4908d UE4Editor-Core.dylib!operator<<(FArchive&, FString&)   [UnknownFile]) 
0x06c55b32 UE4Editor-CoreUObject.dylib!FLinkerLoad::SerializeThumbnails(bool)   [UnknownFile]) 
0x06c55779 UE4Editor-CoreUObject.dylib!ResetLoadersForSave(UObject*, wchar_t const*)   [UnknownFile]) 
0x06d8bbdb UE4Editor-CoreUObject.dylib!UPackage::Save(UPackage*, UObject*, EObjectFlags, wchar_t const*, FOutputDevice*, FLinkerLoad*, bool, bool, unsigned int, ITargetPlatform const*, FDateTime const&, bool)   [UnknownFile]) 
0x0e331ce9 UE4Editor-UnrealEd.dylib!UEditorEngine::Save(UPackage*, UObject*, EObjectFlags, wchar_t const*, FOutputDevice*, FLinkerLoad*, bool, bool, unsigned int, ITargetPlatform const*, FDateTime const&, bool)   [UnknownFile]) 
0x0e0e3b25 UE4Editor-UnrealEd.dylib!UCookOnTheFlyServer::SaveCookedPackage(UPackage*, unsigned int, TArray<FName, FDefaultAllocator>&, TArray<FSavePackageResultStruct, FDefaultAllocator>&)   [UnknownFile]) 
0x0e0d83e2 UE4Editor-UnrealEd.dylib!UCookOnTheFlyServer::SaveCookedPackages(TArray<UPackage*, FDefaultAllocator>&, TArray<FName, FDefaultAllocator> const&, TArray<ITargetPlatform const*, FDefaultAllocator> const&, FCookerTimer&, int, unsigned int&, unsigned int&)   [UnknownFile]) 
0x0e0c7e9f UE4Editor-UnrealEd.dylib!UCookOnTheFlyServer::TickCookOnTheSide(float, unsigned int&, ECookTickFlags)   [UnknownFile]) 
0x0e0c4880 UE4Editor-UnrealEd.dylib!UCookOnTheFlyServer::Tick(float)   [UnknownFile]) 
0x0e31ba34 UE4Editor-UnrealEd.dylib!UEditorEngine::Tick(float, bool)   [UnknownFile]) 
0x0efa536c UE4Editor-UnrealEd.dylib!UUnrealEdEngine::Tick(float, bool)   [UnknownFile]) 
0x05d52685 UE4Editor!FEngineLoop::Tick()   [UnknownFile]) 
0x05d5be62 UE4Editor!GuardedMain(wchar_t const*)   [UnknownFile]) 
0x05d69500 UE4Editor!-[UE4AppDelegate runGameThread:]   [UnknownFile]) 
0x06009137 UE4Editor-Core.dylib!-[FCocoaGameThread main]   [UnknownFile]) 
0xd52998ad Foundation!__NSThread__start__()   [UnknownFile]) 
0xe920f93b libsystem_pthread.dylib!_pthread_body()   [UnknownFile]) 
0xe920f887 libsystem_pthread.dylib!_pthread_body()   [UnknownFile]) 
0xe920f08d libsystem_pthread.dylib!thread_start()   [UnknownFile]) 

Steps to Reproduce

Hasn't been seen since 4.18

Callstack
SEGV_MAPERR at 0x3

UE4Editor-CoreUObject.dylib!FArchiveAsync2::Serialize()
UE4Editor-Core.dylib!operator<<()
UE4Editor-CoreUObject.dylib!FLinkerLoad::SerializeThumbnails()
UE4Editor-CoreUObject.dylib!ResetLoadersForSave()
UE4Editor-CoreUObject.dylib!UPackage::Save()
UE4Editor-UnrealEd.dylib!UEditorEngine::Save()
UE4Editor-UnrealEd.dylib!UCookOnTheFlyServer::SaveCookedPackage()
UE4Editor-UnrealEd.dylib!UCookOnTheFlyServer::SaveCookedPackages()
UE4Editor-UnrealEd.dylib!UCookOnTheFlyServer::TickCookOnTheSide()
UE4Editor-UnrealEd.dylib!UCookOnTheFlyServer::Tick()
UE4Editor-UnrealEd.dylib!UEditorEngine::Tick()
UE4Editor-UnrealEd.dylib!UUnrealEdEngine::Tick()
UE4Editor!FEngineLoop::Tick()
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-51939 in the post.

1
Login to Vote

Cannot Reproduce
ComponentUE - Foundation - Core - Cooker
Affects Versions4.174.18
CreatedNov 2, 2017
ResolvedMay 30, 2018
UpdatedJul 1, 2020
View Jira Issue