UE4Editor development build fails to start

Development build of UE4Editor fails to start, but Debug build will start, this is with 4.14, there is no 4.14 option yet. If you need more information I can upload a core file if needed.

Thread 48 "RenderThread 1" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff45d22700 (LWP 21907)]
0x00007fffd38433f3 in FOpenGLDynamicRHI::SetupVertexArrays (this=<optimized out>, ContextState=..., 
    BaseVertexIndex=<optimized out>, Streams=<optimized out>, NumStreams=<optimized out>, MaxVertices=<optimized out>)
    at /mnt/store/UnrealEngine/4.14/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLCommands.cpp:2036
2036                            if( Stream->VertexBuffer->GetUsage() & BUF_ZeroStride )

(gdb) bt:

#0  0x00007fffd38433f3 in FOpenGLDynamicRHI::SetupVertexArrays (this=<optimized out>, ContextState=..., 
    BaseVertexIndex=<optimized out>, Streams=<optimized out>, NumStreams=<optimized out>, MaxVertices=<optimized out>)
    at /mnt/store/UnrealEngine/4.14/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLCommands.cpp:2036
#1  0x00007fffd3844dce in FOpenGLDynamicRHI::RHIDrawPrimitive (this=<optimized out>, PrimitiveType=<optimized out>, 
    BaseVertexIndex=<optimized out>, NumPrimitives=<optimized out>, NumInstances=<optimized out>)
    at /mnt/store/UnrealEngine/4.14/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLCommands.cpp:2624
#2  0x00007fffe1eb29f6 in FRHICommandList::DrawPrimitive (this=0x641cc0 <GRHICommandList@@UE4+16>, PrimitiveType=0, 
    BaseVertexIndex=0, NumPrimitives=2000, NumInstances=1) at Runtime/RHI/Public/RHICommandList.h:1775
#3  RunBenchmarkShader<1u, 5u> (RHICmdList=..., VertexThroughputBuffer=<optimized out>, View=..., Src=..., 
    WorkScale=<optimized out>) at /mnt/store/UnrealEngine/4.14/Engine/Source/Runtime/Renderer/Private/GPUBenchmark.cpp:214
#4  0x00007fffe1e91043 in RunBenchmarkShader (RHICmdList=..., VertexThroughputBuffer=0x7fffae46e740, View=..., MethodId=6, 
    Src=..., WorkScale=<optimized out>)
    at /mnt/store/UnrealEngine/4.14/Engine/Source/Runtime/Renderer/Private/GPUBenchmark.cpp:260
#5  0x00007fffe1e91d40 in RendererGPUBenchmark (RHICmdList=..., InOut=..., View=..., WorkScale=<optimized out>, 
    bDebugOut=<optimized out>) at /mnt/store/UnrealEngine/4.14/Engine/Source/Runtime/Renderer/Private/GPUBenchmark.cpp:568
#6  0x00007fffe21bc5b5 in FRendererModule::GPUBenchmark(FSynthBenchmarkResults&, float)::EURCMacro_RendererGPUBenchmarkCommand::DoTask(ENamedThreads::Type, TRefCountPtr<FGraphEvent> const&) (CurrentThread=ENamedThreads::StatsThread, 
    this=<optimized out>, MyCompletionGraphEvent=...)
    at /mnt/store/UnrealEngine/4.14/Engine/Source/Runtime/Renderer/Private/Renderer.cpp:165
#7  TGraphTask<FRendererModule::GPUBenchmark(FSynthBenchmarkResults&, float)::EURCMacro_RendererGPUBenchmarkCommand>::ExecuteTask(TArray<FBaseGraphTask*, FDefaultAllocator>&, ENamedThreads::Type) (this=<optimized out>, NewTasks=..., 
    CurrentThread=<optimized out>)
    at /mnt/store/UnrealEngine/4.14/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h:868
#8  0x00007ffff6e46204 in FBaseGraphTask::Execute (this=<optimized out>, NewTasks=..., 
---Type <return> to continue, or q <return> to quit---
    CurrentThread=ENamedThreads::StatsThread) at Runtime/Core/Public/Async/TaskGraphInterfaces.h:473
#9  FNamedTaskThread::ProcessTasksNamedThread (this=<optimized out>, QueueIndex=<optimized out>, 
    bAllowStall=<optimized out>) at /mnt/store/UnrealEngine/4.14/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:930
#10 0x00007ffff6e439f5 in FNamedTaskThread::ProcessTasksUntilQuit (this=<optimized out>, QueueIndex=<optimized out>)
    at /mnt/store/UnrealEngine/4.14/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:677
#11 0x00007ffff123973a in RenderingThreadMain (TaskGraphBoundSyncEvent=<optimized out>)
    at /mnt/store/UnrealEngine/4.14/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp:319
#12 0x00007ffff1249c22 in FRenderingThread::Run (this=0x7fff8d29ede0)
    at /mnt/store/UnrealEngine/4.14/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp:471
#13 0x00007ffff6e6ffb7 in FRunnableThreadPThread::Run (this=0x7fff5adab000)
    at /mnt/store/UnrealEngine/4.14/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.cpp:25
#14 0x00007ffff6e54326 in FRunnableThreadPThread::_ThreadProc (pThis=0x7fff5adab000)
    at /mnt/store/UnrealEngine/4.14/Engine/Source/Runtime/Core/Private/GenericPlatform/../HAL/PThreadRunnableThread.h:165
#15 0x00007ffff7bc16fa in start_thread (arg=0x7fff45d22700) at pthread_create.c:333
#16 0x00007fffec644b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

(gdb) list:

2031                    if ( VertexElement.StreamIndex < NumStreams)
2032                    {
2033                            FOpenGLStream* Stream = &Streams[VertexElement.StreamIndex];
2034                            uint32 Stride = Stream->Stride;
2035
2036                            if( Stream->VertexBuffer->GetUsage() & BUF_ZeroStride )
2037                            {
2038                                    check(Stride == 0);
2039                                    check(Stream->Offset == 0);
2040                                    check(VertexElement.Offset == 0);

Excerpt from terminal output:

[2016.10.17-22.51.18:085][  0]LogUProjectInfo: Found projects:
[2016.10.17-22.51.18:112][  0]LogJson:Warning: Field EngineVersion was not found.
[2016.10.17-22.51.18:112][  0]LogJson:Error: Json Value of type 'Null' used as a 'String'.
[2016.10.17-22.51.18:114][  0]LogJson:Warning: Field EngineVersion was not found.
[2016.10.17-22.51.18:114][  0]LogJson:Error: Json Value of type 'Null' used as a 'String'.
[2016.10.17-22.51.18:117][  0]LogJson:Warning: Field EngineVersion was not found.
[2016.10.17-22.51.18:117][  0]LogJson:Error: Json Value of type 'Null' used as a 'String'.
[2016.10.17-22.51.18:120][  0]LogJson:Warning: Field EngineVersion was not found.
[2016.10.17-22.51.18:120][  0]LogJson:Error: Json Value of type 'Null' used as a 'String'.
[2016.10.17-22.51.18:122][  0]LogJson:Warning: Field EngineVersion was not found.
[2016.10.17-22.51.18:122][  0]LogJson:Error: Json Value of type 'Null' used as a 'String'.
[New Thread 0x7fff75122700 (LWP 31175)]
[New Thread 0x7fffbf3d7700 (LWP 31176)]
[2016.10.17-22.51.18:439][  0]LogLoad: (Engine Initialization) Total time: 44.68 seconds
[2016.10.17-22.51.18:439][  0]LogLoad: (Engine Initialization) Total Blueprint compile time: 0.14 seconds
[2016.10.17-22.51.18:439][  0]LogExternalProfiler: No external profilers were discovered.  External profiling features will not be available.
[2016.10.17-22.51.18:912][  0]LogContentStreaming: Texture pool size now 3000 MB
[2016.10.17-22.51.18:966][  0]LogCrashTracker: Crashtracker disabled due to settings.
[2016.10.17-22.51.19:020][  1]LogSynthBenchmark:Display: FSynthBenchmark (V0.95):  requested WorkScale=5.00
[2016.10.17-22.51.19:021][  1]LogSynthBenchmark:Display: ===============
[2016.10.17-22.51.19:021][  1]LogSynthBenchmark:Display: Main Processor:
[2016.10.17-22.51.19:266][  1]LogSynthBenchmark:Display:          ... 0.026815 s/Run 'RayIntersect'
[2016.10.17-22.51.19:266][  1]LogSynthBenchmark:Display:          ... 0.022270 s/Run 'Fractal'
[2016.10.17-22.51.19:266][  1]LogSynthBenchmark:Display: 
[2016.10.17-22.51.19:266][  1]LogSynthBenchmark:Display:   CompiledTarget_x_Bits: 64
[2016.10.17-22.51.19:266][  1]LogSynthBenchmark:Display:   UE_BUILD_SHIPPING: 0
[2016.10.17-22.51.19:266][  1]LogSynthBenchmark:Display:   UE_BUILD_TEST: 0
[2016.10.17-22.51.19:266][  1]LogSynthBenchmark:Display:   UE_BUILD_DEBUG: 0
[2016.10.17-22.51.19:266][  1]LogSynthBenchmark:Display:   TotalPhysicalGBRam: 16
[2016.10.17-22.51.19:266][  1]LogSynthBenchmark:Display:   NumberOfCores (physical): 8
[2016.10.17-22.51.19:266][  1]LogSynthBenchmark:Display:   NumberOfCores (logical): 8
[2016.10.17-22.51.19:266][  1]LogSynthBenchmark:Display:   CPU Perf Index 0: 95.5 (weight 1.00)
[2016.10.17-22.51.19:267][  1]LogSynthBenchmark:Display:   CPU Perf Index 1: 128.4 (weight 1.50)
[2016.10.17-22.51.19:267][  1]LogSynthBenchmark:Display:  
[2016.10.17-22.51.19:267][  1]LogSynthBenchmark:Display: Graphics:
[2016.10.17-22.51.19:267][  1]LogSynthBenchmark:Display:   Adapter Name: 'GeForce GTX 960/PCIe/SSE2'
[2016.10.17-22.51.19:267][  1]LogSynthBenchmark:Display:   (On Optimus the name might be wrong, memory should be ok)
[2016.10.17-22.51.19:267][  1]LogSynthBenchmark:Display:   Vendor Id: 0x10DE
[2016.10.17-22.51.19:267][  1]LogSynthBenchmark:Display:   Device Id: 0x0
[2016.10.17-22.51.19:267][  1]LogSynthBenchmark:Display:   Device Revision: 0x0
[2016.10.17-22.51.19:267][  1]LogSynthBenchmark:Display:   GPU Memory: 2048/0/0 MB

Hi,
I have similar issue on fedora mate 24

Hey -

I wanted to confirm if you’re using the 4.14 branch from Github or if you are on the Master Branch (which is also 4.14). Additionally, are you compiling the engine itself or a project using your 4.14 engine?

Yes, its 4.14 branch, and its with the editor its self, ./UE4Editor by its self will not start, but UE4Editor-Linux-Debug (or UE4Editor-Debug-Linux) will start. Here is my system information.

I did not experience the same issue after building the 4.14 branch. After Setup.sh, GenerateProjectFiles.sh, and the make step (ShaderCompileWorker, UnrealLightmass, UnrealPak, UE4Game, UE4Editor) I was able to open the project browser using ./UE4Editor.

Since files in the 4.14 branch are being added/updated regularly, it may be that a conflict existed at the time that that the engine was built. If you build the engine from the 4.14 branch again, does it still fail to open using ./UE4Editor?

What distro are you running on, it may be an update with the system, as the same commit that worked before was broken after some stuff was update, at least that is the only thing I can believe is causing this. I am on KDE Neon (ubuntu 16.04) based. I am rebuilding again, with the latest changes to see whats going on. I did several times git clean -fxd and restarted the process to see if it was residual files left over causing issues.

With the latest commit, still the same issue.

I can say that this machine is using a stock, vanilla install of Ubuntu 16.04. If you have a commit that was working prior to the update, let me know if you’re able to launch the engine after reverting the update, if possible.

I have also tested with this commit 48fea9533f864c9a6852eda56dfc7bc0bc27fc76 and I get the same result.

I don’t know if I can downgrade or not, but I am wondering why it runs if the build is a debug build.

Hey -

Are you still seeing issues of ./UE4Editor not opening the project browser for 4.14? If so, can you list the steps you used when cloning/compiling the engine? You also mentioned updating some things, can you list what exactly was updated when this started to occur?

Hey -

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.

Cheers

Nope its fixed now, thanks.