# UEEditor first launch with -opengl3 linux

**URL:** <https://forums.unrealengine.com/t/ueeditor-first-launch-with-opengl3-linux/417135>\
**Category:** Platform & Builds\
**Tags:** launch-crash, opengl, Linux, unreal-engine, crash, question\
**Created:** [February 13, 2018, 2:12pm UTC](https://forums.unrealengine.com/t/ueeditor-first-launch-with-opengl3-linux/417135 "2018-02-13T14:12:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbaglay](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mbaglay](https://forums.unrealengine.com/u/mbaglay)\
**Post date:** [February 13, 2018, 2:12pm UTC](https://forums.unrealengine.com/t/ueeditor-first-launch-with-opengl3-linux/417135/1 "2018-02-13T14:12:07Z")

</div>

During first launch on my Ubuntu 14.04 machine got an exception about not ability to run editor. Ran it with -opengl3 option as exception window asked.

After going to 35%, get next exception

[2018.02.12-15.25.23:721][0]LogShaderCompilers: Warning: ShaderCompileWorker terminated unexpectedly! Falling back to directly compiling which will be very slow. Thread 0.

[2018.02.12-15.25.23:721][0]LogShaderCompilers: Warning: 1 Shader compiler errors compiling global shaders for platform GLSL\_150:

[2018.02.12-15.25.23:721][0]LogShaderCompilers: Warning: /home/mbaglay/workspace/unrealEngine/Engine/Shaders/Private/InstancedStereo.ush(36): Shader TSlateElementPSLineSegmenttruetrueA, VF None: error: static variables must be declared const

[2018.02.12-15.25.23:764][0]LogLinux: Error: appError called: Assertion failed: [File:/home/mbaglay/workspace/unrealEngine/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp] [Line: 4066] Failed to compile global shader TSlateElementPSLineSegmenttruetrueA . Enable ‘r.ShaderDevelopmentMode’ in ConsoleVariables.ini for retries. Signal 11 caught. Malloc Size=131076 LargeMemoryPoolOffset=131092 CommonLinuxCrashHandler: Signal=11 Malloc Size=65535 LargeMemoryPoolOffset=196655

[2018.02.12-15.25.23:800][0]LogLinux: === Critical error: === Unhandled Exception: SIGSEGV: invalid attempt to write memory at address 0x0000000000000003

[2018.02.12-15.25.23:800][0]LogLinux: Assertion failed: [File:/home/mbaglay/workspace/unrealEngine/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp] [Line: 4066] Failed to compile global shader TSlateElementPSLineSegmenttruetrueA . Enable ‘r.ShaderDevelopmentMode’ in ConsoleVariables.ini for retries.

0x00007f5ed56e88bf FLinuxPlatformStackWalk::CaptureStackBackTrace(unsigned long long\*, unsigned int, void\*)

0x00007f5ed5589856 FGenericPlatformStackWalk::StackWalkAndDump(char\*, unsigned long, int, void\*)

0x00007f5ed5693342 FLinuxCrashContext::CaptureStackTrace()

0x00007f5eca358420 CommonLinuxCrashHandler(FGenericCrashContext const&)

0x00007f5ed569549d PlatformCrashHandler(int, siginfo\_t\*, void\*)

0x00007f5ed6307330 /lib/x86\_64-linux-gnu/libpthread.so.0(+0x10330) [0x7f5ed6307330]

0x00007f5ed5581114 FGenericPlatformMisc::RaiseException(unsigned int)

0x00007f5eceb48308 FLinuxErrorOutputDevice::Serialize(wchar\_t const\*, ELogVerbosity::Type, FName const&)

0x00007f5ed57a6105 FOutputDevice::Logf(wchar\_t const\*, …)

0x00007f5ed573783a FDebug::AssertFailed(char const\*, char const\*, int, wchar\_t const\*, …)

0x00007f5ed2590c06 /home/mbaglay/workspace/unrealEngine/Engine/Binaries/Linux/libUE4Editor-Engine.so(+0x2721c06) [0x7f5ed2590c06]

0x00007f5ed257a6bb ProcessCompiledGlobalShaders(TArray const&)

0x00007f5ed2578953 FShaderCompilingManager::ProcessCompiledShaderMaps(TMap \>&, float)

0x00007f5ed257f534 FShaderCompilingManager::FinishCompilation(wchar\_t const\*, TArray const&)

0x00007f5ed258c722 VerifyGlobalShaders(EShaderPlatform, bool)

0x00007f5ed258e666 CompileGlobalShaderMap(EShaderPlatform, bool)

0x000000000041b681 FEngineLoop::PreInit(wchar\_t const\*) [/home/mbaglay/workspace/unrealEngine/Engine/Source/Runtime/Launch/Private/LaunchEngineLoop.cpp:1780]

0x000000000042e438 GuardedMain(wchar\_t const\*) [/home/mbaglay/workspace/unrealEngine/Engine/Source/Runtime/Launch/Private/Launch.cpp:42]

0x00007f5eca35928f CommonLinuxMain(int, char\*, int ()(wchar\_t const\*))

0x00007f5ec9da6f45 /lib/x86\_64-linux-gnu/libc.so.6(\_\_libc\_start\_main+0xf5) [0x7f5ec9da6f45]

0x00000000004171df ./Engine/Binaries/Linux/UE4Editor() [0x4171df]

[2018.02.12-15.25.23:812][0]LogExit: Executing StaticShutdownAfterError Malloc Size=36198 LargeMemoryPoolOffset=232870

LogPlatformFile: Not using cached read wrapper

LogInit: Display: RandInit(2091032516) SRandInit(2091032516).

LogTaskGraph: Started task graph with 4 named threads and 7 total threads with 1 sets of task threads.

LogInit: Build: ++UE4+Release-4.18-CL-0

LogInit: Engine Version: 4.18.3-0+++UE4+Release-4.18

LogInit: Compatible Engine Version: 4.18.0-0+++UE4+Release-4.18

LogInit: Net CL: 0

LogInit: Compiled (64-bit): Feb 5 2018 11:21:43

LogInit: Compiled with Clang: 3.5.0 (tags/RELEASE\_350/final)

LogInit: Build Configuration: Shipping

LogInit: Branch Name: ++UE4+Release-4.18

LogInit: Command line: -Abslog=/home/mbaglay/workspace/unrealEngine/Engine/Saved/Logs/UE4-CRC.log /home/mbaglay/workspace/unrealEngine/Engine/Saved/Crashes/crashinfo–pid-23539-0008F6211702110C0019032CA6A89777/

LogInit: Base directory: /home/mbaglay/workspace/unrealEngine/Engine/Binaries/Linux/

LogInit: Installed Engine Build: 1

LogInit: Presizing for max 100000 objects, including 0 objects not considered by GC, pre-allocating 0 bytes for permanent pool.

LogInit: Object subsystem initialized

[2018.02.12-15.25.23:956][0]LogInit: Linux hardware info:

[2018.02.12-15.25.23:956][0]LogInit: - we are the first instance of this executable

[2018.02.12-15.25.23:956][0]LogInit: - this process’ id (pid) is 23653, parent process’ id (ppid) is 23539

[2018.02.12-15.25.23:956][0]LogInit: - we are not running under debugger

[2018.02.12-15.25.23:956][0]LogInit: - machine network name is ‘maxim’

[2018.02.12-15.25.23:957][0]LogInit: - user name is ‘mbaglay’ (mbaglay)

[2018.02.12-15.25.23:957][0]LogInit: - we’re logged in locally

[2018.02.12-15.25.23:957][0]LogInit: - we’re running with rendering

[2018.02.12-15.25.23:957][0]LogInit: - CPU: GenuineIntel ’ Intel(R) Core™ i5-2500 CPU @ 3.30GHz’ (signature: 0x206A7)

[2018.02.12-15.25.23:957][0]LogInit: - Number of physical cores available for the process: 4

[2018.02.12-15.25.23:957][0]LogInit: - Number of logical cores available for the process: 4

[2018.02.12-15.25.23:957][0]LogInit: - Cache line size: 64

[2018.02.12-15.25.23:957][0]LogInit: - Memory allocator used: binned2

[2018.02.12-15.25.23:957][0]LogLinux: Skipped benchmarking clocks because the engine is running in a standalone program mode - CLOCK\_REALTIME will be used.

[2018.02.12-15.25.23:957][0]LogInit: Linux-specific commandline switches:

[2018.02.12-15.25.23:957][0]LogInit: -nodwarf (currently OFF): suppress parsing of DWARF debug info (callstacks will be generated faster, but won’t have line numbers)

[2018.02.12-15.25.23:957][0]LogInit: -ansimalloc - use malloc()/free() from libc (useful for tools like valgrind and electric fence)

[2018.02.12-15.25.23:957][0]LogInit: -jemalloc - use jemalloc for all memory allocation

[2018.02.12-15.25.23:957][0]LogInit: -binnedmalloc - use binned malloc for all memory allocation

[2018.02.12-15.25.23:957][0]LogInit: -httpproxy=ADDRESS:PORT - redirects HTTP requests to a proxy (only supported if compiled with libcurl)

[2018.02.12-15.25.23:957][0]LogInit: -reuseconn - allow libcurl to reuse HTTP connections (only matters if compiled with libcurl)

[2018.02.12-15.25.23:957][0]LogInit: -virtmemkb=NUMBER - sets process virtual memory (address space) limit (overrides VirtualMemoryLimitInKB value from .ini)

[2018.02.12-15.25.23:957][0]LogInit: - Physical RAM available (not considering process quota): 16 GB (16030 MB, 16415388 KB, 16809357312 bytes)

[2018.02.12-15.25.23:958][0]LogUObjectArray: 149 objects as part of root set at end of initial load.

[2018.02.12-15.25.23:958][0]LogUObjectAllocator: 23272 out of 0 bytes used by permanent object pool.

[2018.02.12-15.25.23:958][0]LogUObjectArray: CloseDisregardForGC: 0/0 objects in disregard for GC pool

[2018.02.12-15.25.23:958][0]LogInit: Using OS detected language ().

[2018.02.12-15.25.23:958][0]LogInit: Using OS detected locale ().

[2018.02.12-15.25.23:958][0]LogTextLocalizationManager: No localization for ‘’ exists, so ‘en’ will be used for the language.

[2018.02.12-15.25.23:958][0]LogTextLocalizationManager: No localization for ‘’ exists, so ‘en’ will be used for the locale.

[2018.02.12-15.25.23:960][0]CrashReportClientLog: CrashReportClientVersion=1.0

[2018.02.12-15.25.23:960][0]CrashReportClientLog: CrashReportReceiver disabled

[2018.02.12-15.25.23:960][0]CrashReportClientLog: DataRouterUrl: [https://datarouter.ol.epicgames.com/datarouter/api/v1/public/data](https://datarouter.ol.epicgames.com/datarouter/api/v1/public/data)

[2018.02.12-15.25.23:961][0]CrashReportClientLog: Initial state = Unknown UploadState value

[2018.02.12-15.25.23:961][0]CrashReportClientLog: Initial state = Unknown UploadState value

[2018.02.12-15.25.23:961][0]LogCrashDebugHelper: DepotName: //UE4/Release-4.18

[2018.02.12-15.25.23:961][0]LogCrashDebugHelper: BuiltFromCL: 0

[2018.02.12-15.25.23:961][0]LogCrashDebugHelper: EngineVersion: 4.18.3-0+++UE4+Release-4.18

[2018.02.12-15.25.23:961][0]LogCrashDebugHelper: BuildVersion: ++UE4+Release-4.18-CL-0

[2018.02.12-15.25.23:961][0]LogCrashDebugHelper: Warning: CrashDebugHelperConfig invalid

[2018.02.12-15.25.23:961][0]LogCrashDebugHelper: Warning: PDB Cache disabled  
\*\*

As I understand, important part here is “error: static variables must be declared const”. Did anyone have similar problem? How to handle it?

Ubuntu 14.04  
UE 4.18.3  
OpenGL 3.3.0
