# Linux Crash on startup (4.10)

**URL:** <https://forums.unrealengine.com/t/linux-crash-on-startup-4-10/340243>\
**Category:** Platform & Builds\
**Tags:** Linux, unreal-engine, crash, question\
**Created:** [December 1, 2015, 7:26pm UTC](https://forums.unrealengine.com/t/linux-crash-on-startup-4-10/340243 "2015-12-01T19:26:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_3e4225fc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3e4225fc](https://forums.unrealengine.com/u/anonymous_user_3e4225fc)\
**Post date:** [December 1, 2015, 7:26pm UTC](https://forums.unrealengine.com/t/linux-crash-on-startup-4-10/340243/1 "2015-12-01T19:26:06Z")

</div>

So, I got UE4 to compile. Recompiled hlslcc with clang 3.6.x because it gave an enormous amount of errors with ‘#’ or something like that. Now although that works, when starting the editor, at 35% it crashes with `Signal=11`. GDB gives me this:

```
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff9bfff700 (LWP 11184)]
__memset_sse2 () at ../sysdeps/x86_64/multiarch/../memset.S:80
80	../sysdeps/x86_64/multiarch/../memset.S: No such file or directory.
(gdb) bt
#0 __memset_sse2 () at ../sysdeps/x86_64/multiarch/../memset.S:80
#1 0x00007ffff6fdb321 in FGenericPlatformMemory::Memset (Dest=0x7fff940aa7c0, Char=221 '\335', Count=140735677114304)
    at /home/jasper/bin/UnrealEngine/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMemory.h:267
#2 FMemory::Memset (Dest=0x7fff940aa7c0, Char=221 '\335', Count=140735677114304) at /home/jasper/bin/UnrealEngine/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h:38
#3 FMallocJemalloc::Free (this=<optimized out>, Ptr=0x7fff940aa7c0) at /home/jasper/bin/UnrealEngine/Engine/Source/Runtime/Core/Private/HAL/MallocJemalloc.cpp:115
#4 0x00007ffff6fe262a in FMemory::Free (Original=0x7fff940aa7c0) at /home/jasper/bin/UnrealEngine/Engine/Source/Runtime/Core/Private/HAL/UnrealMemory.cpp:114
#5 0x00007fff9894b3d6 in operator delete (Ptr=0x7fff940aa7c0) at /home/jasper/bin/UnrealEngine/Engine/Source/Developer/ShaderFormatOpenGL/Private/ShaderFormatOpenGL.cpp:223
#6 0x00007fff9896a4fb in SCBuffer::AddMember(glsl_type const*, ir_variable*) () from /home/jasper/bin/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-ShaderFormatOpenGL.so
#7 0x00007fff989ba7af in ast_cbuffer_declaration::hir(exec_list*, _mesa_glsl_parse_state*) () from /home/jasper/bin/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-ShaderFormatOpenGL.so
#8 0x00007fff989b0fe1 in _mesa_ast_to_hir(exec_list*, _mesa_glsl_parse_state*) () from /home/jasper/bin/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-ShaderFormatOpenGL.so
#9 0x00007fff98966c9f in FHlslCrossCompilerContext::RunFrontend(char const**) () from /home/jasper/bin/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-ShaderFormatOpenGL.so
#10 0x00007fff98967155 in FHlslCrossCompilerContext::Run(char const*, char const*, FCodeBackend*, char **, char** ) () from /home/jasper/bin/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-ShaderFormatOpenGL.so
#11 0x00007fff989440c9 in CompileShader_Windows_OGL (Input=..., Output=..., WorkingDirectory=..., Version=GLSL_150)
    at /home/jasper/bin/UnrealEngine/Engine/Source/Developer/ShaderFormatOpenGL/Private/OpenGLShaderCompiler.cpp:1349
#12 0x00007ffff425a635 in FShaderCompileThreadRunnable::CompileDirectlyThroughDll (this=0x7fffa0d51f10)
    at /home/jasper/bin/UnrealEngine/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp:996
#13 0x00007ffff425b291 in FShaderCompileThreadRunnable::CompilingLoop (this=0x7fffa0d51f10) at /home/jasper/bin/UnrealEngine/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp:1081
#14 0x00007ffff4252b99 in FShaderCompileThreadRunnableBase::Run (this=0x7fffa0d51f10) at /home/jasper/bin/UnrealEngine/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp:646
#15 0x00007ffff6fdfa54 in FRunnableThreadPThread::Run (this=0x7fffa0d478e0) at /home/jasper/bin/UnrealEngine/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.cpp:26
#16 0x00007ffff6fc52a3 in FRunnableThreadPThread::_ThreadProc (pThis=0x7fffa0d478e0) at /home/jasper/bin/UnrealEngine/Engine/Source/Runtime/Core/Private/GenericPlatform/../HAL/PThreadRunnableThread.h:167
#17 0x00007ffff7bc26aa in start_thread (arg=0x7fff9bfff700) at pthread_create.c:333
#18 0x00007fffeb002eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

```

Any ideas on this?

---

<div class="post-metadata">

**Author:** ![RCL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RCL](https://forums.unrealengine.com/u/RCL)\
**Post date:** [December 1, 2015, 7:46pm UTC](https://forums.unrealengine.com/t/linux-crash-on-startup-4-10/340243/2 "2015-12-01T19:46:41Z")

</div>

Do you have [https://github.com/EpicGames/UnrealEngine/commit/c92c2c73a960290b8ae0c56b68ce9480dc50183f](https://github.com/EpicGames/UnrealEngine/commit/c92c2c73a960290b8ae0c56b68ce9480dc50183f) ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3e4225fc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3e4225fc](https://forums.unrealengine.com/u/anonymous_user_3e4225fc)\
**Post date:** [December 1, 2015, 9:41pm UTC](https://forums.unrealengine.com/t/linux-crash-on-startup-4-10/340243/3 "2015-12-01T21:41:39Z")

</div>

It’s a bit weird that it’s added to a branch with the name of a release first, and then to master/promoted afterwards, but alright x)

---

<div class="post-metadata">

**Author:** ![RCL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RCL](https://forums.unrealengine.com/u/RCL)\
**Post date:** [December 1, 2015, 10:13pm UTC](https://forums.unrealengine.com/t/linux-crash-on-startup-4-10/340243/4 "2015-12-01T22:13:20Z")

</div>

The fix is not yet in master, and it may be different there.
