UE4 Crash on ArchLinux

Hi,

I am trying to get UE4 to run on my Arch Linux box. Setup and installation runs fine, but when I try to run the editor, it aborts with this segfault. Anyone know what’s wrong?

[2015.05.13-13.22.35:569][ 0]LogLinux:Error: appError called: Assertion failed: Assertion failed: PackageReader != NULL [File:/home/ben/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/Misc/PackageName.cpp] [Line: 636]

^M
[2015.05.13-13.22.35:696][ 0]LogLinux: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to access memory at address 0x00000003
^M
[2015.05.13-13.22.35:696][ 0]LogLinux: Assertion failed: Assertion failed: PackageReader != NULL [File:/home/ben/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/Misc/PackageName.cpp] [Line: 636]

^M
^M
[Callstack] 02 0x00007fad5b0e2701 ReportCrash(FLinuxCrashContext const&)
[Callstack] 03 0x0000000000429c1b EngineCrashHandler(FGenericCrashContext const&)
[Callstack] 04 0x00007fad5b0e5a35 PlatformCrashHandler(int, siginfo_t*, void*)
[Callstack] 05 0x00007fad5bb24210 /usr/lib/libpthread.so.0(+0x10210) [0x7fad5bb24210]
[Callstack] 06 0x00007fad5b0ef04c FOutputDeviceLinuxError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&)
[Callstack] 07 0x00007fad5b183fe4 FOutputDevice::Logf(wchar_t const*, …)
[Callstack] 08 0x00007fad5b16f439 FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, …)
[Callstack] 09 0x00007fad5ab06fff FPackageName::DoesPackageExist(FString const&, FGuid const*, FString*)
[Callstack] 10 0x00007fad526fa216 PackageTools::CheckForReferencesToExternalPackages(TArray const*, TArray*, ULevel*, TArray*)
[Callstack] 11 0x00007fad5271115f UEditorEngine::PackageUsingExternalObjects(ULevel*, bool)
[Callstack] 12 0x00007fad52578b7b UEditorEngine::Map_Check(UWorld*, wchar_t const*, FOutputDevice&, bool, UEditorEngine::EMapCheckNotification::Type)
[Callstack] 13 0x00007fad5258ba2d UEditorEngine::HandleMapCommand(wchar_t const*, FOutputDevice&, UWorld*)
[Callstack] 14 0x00007fad52588c1a UEditorEngine::Exec(UWorld*, wchar_t const*, FOutputDevice&)
[Callstack] 15 0x00007fad5293e841 UUnrealEdEngine::Exec(UWorld*, wchar_t const*, FOutputDevice&)
[Callstack] 16 0x00007fad52610120 FEditorFileUtils::LoadMap(FString const&, bool, bool)
[Callstack] 17 0x00007fad5261bbc3 FEditorFileUtils::LoadDefaultMapAtStartup()
[Callstack] 18 0x00007fad5292afbb FUnrealEdMisc::OnInit()
[Callstack] 19 0x00007fad52921a8a EditorInit(IEngineLoop&)
[Callstack] 20 0x000000000041f7a0 GuardedMain(wchar_t const*)
[Callstack] 21 0x000000000042a48f ./UE4Editor(main+0x81f) [0x42a48f]
[Callstack] 22 0x00007fad5082b040 /usr/lib/libc.so.6(__libc_start_main+0xf0) [0x7fad5082b040]
[Callstack] 23 0x000000000041124e ./UE4Editor() [0x41124e]

Hey -

Which version of the engine are you trying to build? Are you able to use any other branches available? Could you list the steps you take when building the engine?

Cheers

Hey -

We’ve not heard back from you in a few days. For tracking purposes I will be marking this post as resolved. If you are still having issues feel free to comment with the requested information and we will continue investigating. Additionally, let us know if you get the same error with Ubuntu 15.04.

Cheers

Hey ,

Sorry about that. I got a database error when first trying to reply and completely forgot. I was building 4.7.6, and I just followed the steps on the building for linux guide. No other branches used.

Ben

Hey -

The problem you were running into might be specific to 4.7.6", we would need extra information to reproduce - you are certainly trying to load some project and we don’t know which one. Could you retry with 4.8 and try creating a new project? But beware that as described in the linked post below by RCL, a current issue with running the engine on Arch Linux machines. In short the number of static TLS used by editor shared objects + system shared objects appears to exceed the system limit on Arch Linux.