Linux 4.7 Editor Crash: Building static mesh EditorCylinder

System Info:

Unreal Engine version: 4.7.3
OS: Arch Linux
Kernel: x86_64 Linux 3.18.6-1-ARCH
CPU: Intel Core i7-2675QM CPU @ 3.1
GPU: AMD/ATI Whistler [Radeon HD 66
RAM: 7901MB

Successfully built EU4 without any errors reported.

cd Engine/Binaries/Linux && ./UE4Editor-Linux-Debug

Gets to 45% then:

[2015.03.16-23.40.06:451][  0]LogHAL: Linux SourceCodeAccessSettings: KDevelopSourceCodeAccessor
[2015.03.16-23.40.07:354][  0]LogStaticMesh: Building static mesh EditorCylinder...
Assertion failed: !((UPTRINT)Ptr & (PageSize-1)) [File:Runtime/Core/Public/HAL/MallocBinned.h] [Line: 632] 

[2015.03.16-23.40.07:414][  0]LogLinux:Error: appError called: Assertion failed: Assertion failed: !((UPTRINT)Ptr & (PageSize-1)) [File:Runtime/Core/Public/HAL/MallocBinned.h] [Line: 632] 


Signal 11 caught.
EngineCrashHandler: Signal=11
[2015.03.16-23.40.07:893][  0]LogLinux: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to access memory at address 0x00000003

[2015.03.16-23.40.07:894][  0]LogLinux: Assertion failed: Assertion failed: !((UPTRINT)Ptr & (PageSize-1)) [File:Runtime/Core/Public/HAL/MallocBinned.h] [Line: 632] 



[Callstack]  02  0x00007f01e909b793  ReportCrash(FLinuxCrashContext const&)
[Callstack]  03  0x0000000000474e0b  EngineCrashHandler(FGenericCrashContext const&)
[Callstack]  04  0x00007f01e90a3728  PlatformCrashHandler(int, siginfo_t*, void*)
[Callstack]  05  0x00007f01e9dfb740  /usr/lib/libpthread.so.0(+0x10740) [0x7f01e9dfb740]
[Callstack]  06  0x00007f01e90b4647  FOutputDeviceLinuxError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&)
[Callstack]  07  0x00007f01e9270c7c  FOutputDevice::Logf(wchar_t const*, ...)
[Callstack]  08  0x00007f01e9226f32  FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...)
[Callstack]  09  0x00007f01e8fbf690  FMallocBinned::FreeInternal(void*)
[Callstack]  10  0x00007f01e8fbecfd  FMallocBinned::PushFreeLockless(void*)
[Callstack]  11  0x00007f01e8f61f18  FMallocBinned::Free(voi[2015.03.16-23.40.07:896][  0]LogExit: Executing StaticShutdownAfterError
Starting ../../../engine/binaries/linux/crashreportclient
[2015.03.16-23.40.07:915][  0]LogGenericPlatformMisc: FPlatformMisc::RequestExit(1)
Aborted (core dumped)

I have attempted this on both Epic’s release branch and also 3dluvr’s 4.7-linux branch.

On both branches I attempted building with default, shipping, and debug options. All have yielded the same results and I’m out of ideas :frowning:

Hi,

Seems like you are having the same issue also reported here: https://answers.unrealengine.com/questions/191581/crash-in-cacheoptimizeindexbuffer-on-editor-startu.html

Gallium developers claim it’s not their bug/problem: 86471 – Unreal Engine 4.6 Editor dont start

The other AH post has a way to resolve this issue, although it’s not a final solution, you can give it a try and see what happens.

Also if you can, try using AMD binary drivers instead as we have seen Mesa cause issues like this.

Thanks.

Thanks amigo! In MeshUtilities.cpp, I modified CVarTriangleOrderOptimization to have a value of 2 and it worked!