Description

This is a common crash on Mac that has occurred since at least 4.12.5. It seems to occur during converting textures while cooking for Android.

Callstack from Log

LogCook:Display: Cooking /Engine/EngineFonts/Faces/RobotoBold -> /Local/Unreal Projects/NETGearVR/Saved/Cooked/Android_ETC2/Engine/Content/EngineFonts/Faces/RobotoBold.uasset
LogMac: === Critical error: ===
SIGSEGV: invalid attempt to access memory at address 0x10

LogMac: std::_Rb_tree_rotate_left(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*&) Address = 0xa7004e8b (filename not found) [in libstdc++.6.dylib]
std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) Address = 0xa7005005 (filename not found) [in libstdc++.6.dylib]
std::_Rb_tree<unsigned int, std::pair<unsigned int const, unsigned int>, std::_Select1st<std::pair<unsigned int const, unsigned int> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<unsigned int const, unsigned int> >, std::pair<unsigned int const, unsigned int> const&) Address = 0x595a1065 (filename not found) [in libTextureConverter.dylib]
SetupExpectedIntermediateForamts() Address = 0x595b0491 (filename not found) [in libTextureConverter.dylib]
Qonvert() Address = 0x595b0e45 (filename not found) [in libTextureConverter.dylib]
FTextureFormatAndroid::CompressImage(FImage const&, FTextureBuildSettings const&, bool, FCompressedImage2D&) const Address = 0x43eb18f5 (filename not found) [in UE4Editor-TextureFormatAndroid.dylib]
FAsyncTask<FAsyncCompressionWorker>::DoWork() Address = 0x334b6417 (filename not found) [in UE4Editor-TextureCompressor.dylib]
FAsyncTask<FAsyncCompressionWorker>::Abandon() Address = 0x334b60fe (filename not found) [in UE4Editor-TextureCompressor.dylib]
FQueuedThread::Run() Address = 0xbb466b8  (filename not found) [in UE4Editor-Core.dylib]
FRunnableThreadPThread::Run() Address = 0xbb0cb60  (filename not found) [in UE4Editor-Core.dylib]
FRunnableThreadPThread::_ThreadProc(void*) Address = 0xbacf630  (filename not found) [in UE4Editor-Core.dylib]
_pthread_body() Address = 0xa74cf93b (filename not found) [in libsystem_pthread.dylib]
_pthread_body() Address = 0xa74cf887 (filename not found) [in libsystem_pthread.dylib]
thread_start() Address = 0xa74cf08d (filename not found) [in libsystem_pthread.dylib]
Steps to Reproduce

1. Make sure you're not connected to the shared DDC
2. Delete Engine/DerivedDataCache folder
3. Create a new project or delete existing project's DerivedDataCache folder
4. Cook for Android

Callstack
SEGV_MAPERR at 0x10

libstdc++.6.dylib!std::_Rb_tree_rotate_left()
libstdc++.6.dylib!std::_Rb_tree_insert_and_rebalance()
libTextureConverter.dylib!std::_Rb_tree<unsigned int, std::pair<unsigned int const, unsigned int>, std::_Select1st<std::pair<unsigned int const, unsigned int> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int> > >::_M_insert_unique()
libTextureConverter.dylib!SetupExpectedIntermediateForamts()
libTextureConverter.dylib!<Unknown>
UE4Editor-TextureFormatAndroid.dylib!FTextureFormatAndroid::CompressImage()
UE4Editor-TextureCompressor.dylib!FAsyncTask<FAsyncCompressionWorker>::DoWork()
UE4Editor-TextureCompressor.dylib!FAsyncTask<FAsyncCompressionWorker>::Abandon()
UE4Editor-Core.dylib!FQueuedThread::Run()
UE4Editor-Core.dylib!FRunnableThreadPThread::Run()
UE4Editor-Core.dylib!FRunnableThreadPThread::_ThreadProc()
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-46425 in the post.

3
Login to Vote

Fixed
ComponentUE - Platform - Mobile
Affects Versions4.124.134.144.154.164.184.194.204.21
Target Fix4.22
Fix Commit4962145
Main Commit4968431
Release Commit4962145
CreatedJun 23, 2017
ResolvedFeb 11, 2019
UpdatedSep 16, 2019