I’m running UE4 on a headless Ubuntu 14.04 box and relying on libSDL to create a Dummy GL Context for me. The application crashes on startup with a segfault. Can someone help me understand what is going on here?
[2018.07.13-17.37.53:455][ 0]LogInit: Initializing SDL.
[2018.07.13-17.37.53:466][ 0]LogInit: Initialized SDL 2.0.4 revision: 10374 (hg-10374:dccf51aee79b with EpicExtensions) (compiled against 2.0.4)
[2018.07.13-17.37.53:466][ 0]LogLinux: Selected Device Profile: [LinuxNoEditor]
[2018.07.13-17.37.53:466][ 0]LogInit: Applying CVar settings loaded from the selected device profile: [LinuxNoEditor]
[2018.07.13-17.37.53:477][ 0]LogInit: Linux hardware info:
[2018.07.13-17.37.53:477][ 0]LogInit: - we are the first instance of this executable
[2018.07.13-17.37.53:477][ 0]LogInit: - this process' id (pid) is 10423, parent process' id (ppid) is 10095
[2018.07.13-17.37.53:477][ 0]LogInit: - we are not running under debugger
[2018.07.13-17.37.53:477][ 0]LogInit: - machine network name is '132c20459c04'
[2018.07.13-17.37.53:477][ 0]LogInit: - user name is
[2018.07.13-17.37.53:477][ 0]LogInit: - we're logged in locally
[2018.07.13-17.37.53:477][ 0]LogInit: - we're running with rendering
[2018.07.13-17.37.53:477][ 0]LogInit: - CPU: GenuineIntel 'Intel(R) Xeon(R) CPU E5-2667 v4 @ 3.20GHz' (signature: 0x406F1)
[2018.07.13-17.37.53:477][ 0]LogInit: - Number of physical cores available for the process: 32
[2018.07.13-17.37.53:477][ 0]LogInit: - Number of logical cores available for the process: 32
[2018.07.13-17.37.53:477][ 0]LogInit: - Cache line size: 64
[2018.07.13-17.37.53:477][ 0]LogInit: - Memory allocator used:
[2018.07.13-17.37.53:477][ 0]LogLinux: Benchmarking clocks:
[2018.07.13-17.37.53:477][ 0]LogLinux: - CLOCK_REALTIME (id=0) can sustain 53551626 (53552K, 54M) calls per second without zero deltas.
[2018.07.13-17.37.53:477][ 0]LogLinux: - CLOCK_MONOTONIC (id=1) can sustain 56679562 (56680K, 57M) calls per second without zero deltas.
[2018.07.13-17.37.53:477][ 0]LogLinux: - CLOCK_MONOTONIC_RAW (id=4) can sustain 12437206 (12437K, 12M) calls per second without zero deltas.
[2018.07.13-17.37.53:477][ 0]LogLinux: - CLOCK_MONOTONIC_COARSE (id=6) can sustain 180345622 (180346K, 180M) calls per second with 99.999856% zero deltas.
[2018.07.13-17.37.53:477][ 0]LogLinux: Selected clock_id 1 (CLOCK_MONOTONIC) since it is the fastest support clock without zero deltas.
[2018.07.13-17.37.53:477][ 0]LogInit: Linux-specific commandline switches:
[2018.07.13-17.37.53:477][ 0]LogInit: -nodwarf (currently OFF): suppress parsing of DWARF debug info (callstacks will be generated faster, but won't have line numbers)
[2018.07.13-17.37.53:477][ 0]LogInit: -ansimalloc - use malloc()/free() from libc (useful for tools like valgrind and electric fence)
[2018.07.13-17.37.53:477][ 0]LogInit: -jemalloc - use jemalloc for all memory allocation
[2018.07.13-17.37.53:477][ 0]LogInit: -binnedmalloc - use binned malloc for all memory allocation
[2018.07.13-17.37.53:477][ 0]LogInit: -httpproxy=ADDRESS:PORT - redirects HTTP requests to a proxy (only supported if compiled with libcurl)
[2018.07.13-17.37.53:478][ 0]LogInit: -reuseconn - allow libcurl to reuse HTTP connections (only matters if compiled with libcurl)
[2018.07.13-17.37.53:478][ 0]LogInit: -virtmemkb=NUMBER - sets process virtual memory (address space) limit (overrides VirtualMemoryLimitInKB value from .ini)
[2018.07.13-17.37.53:478][ 0]LogInit: - Physical RAM available (not considering process quota): 504 GB (515900 MB, 528282608 KB, 540961390592 bytes)
[2018.07.13-17.37.53:479][ 0]LogTextLocalizationManager: No translations for ('') exist, falling back to 'en' for localization and internationalization data.
Signal 11 caught.
Malloc Size=131076 LargeMemoryPoolOffset=131092
CommonLinuxCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=196655
[2018.07.13-17.37.53:997][ 0]LogLinux: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to read memory at address 0x0000000000000010
[2018.07.13-17.37.53:997][ 0]LogLinux: Fatal error!
[Callstack] 00 0x0000000002dad3df FLinuxPlatformStackWalk::CaptureStackBackTrace(unsigned long long*, unsigned int, void*) [/home/user/continuum/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformStackWalk.cpp, line 951]
[Callstack] 01 0x0000000002ce7035 FGenericPlatformStackWalk::StackWalkAndDump(char*, unsigned long, int, void*) [/home/user/continuum/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformStackWalk.cpp, line 159]
[Callstack] 02 0x0000000002d711d0 FLinuxCrashContext::CaptureStackTrace() [Runtime/Core/Public/Containers/ContainerAllocationPolicies.h, line 344]
[Callstack] 03 0x00000000053ba0db CommonLinuxCrashHandler(FGenericCrashContext const&) [/home/user/continuum/Engine/Source/Runtime/Linux/LinuxCommonStartup/Private/LinuxCommonStartup.cpp, line 37]
[Callstack] 04 0x0000000002d75432 PlatformCrashHandler(int, siginfo_t*, void*) [/home/user/continuum/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformCrashContext.cpp, line 595]
[Callstack] 05 0x00007f0ff7dc7330 /lib/x86_64-linux-gnu/libpthread.so.0(+0x10330) [0x7f0ff7dc7330]
[Callstack] 06 0x0000000005fd7ba5 ./Application-Linux-Shipping() [0x5fd7ba5]
[Callstack] 07 0x0000000005fcd171 ./Application-Linux-Shipping() [0x5fcd171]
[Callstack] 08 0x0000000003626ae3 _PlatformCreateDummyGLWindow(FPlatformOpenGLContext*) [/home/user/continuum/Engine/Source/Runtime/OpenGLDrv/Private/Linux/OpenGLLinux.cpp, line 116]
[Callstack] 09 0x000000000361e7d2 PlatformInitOpenGL() [/home/user/continuum/Engine/Source/Runtime/OpenGLDrv/Private/Linux/OpenGLLinux.cpp, line 922]
[Callstack] 10 0x0000000003633a63 FOpenGLDynamicRHI::FOpenGLDynamicRHI() [/home/user/continuum/Engine/Source/Runtime/OpenGLDrv/Private/Linux/OpenGLLinux.cpp, line 291]
[Callstack] 11 0x00000000036337df FOpenGLDynamicRHIModule::CreateRHI(ERHIFeatureLevel::Type) [/home/user/continuum/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLDevice.cpp, line 1027]
[Callstack] 12 0x0000000003690f93 PlatformCreateDynamicRHI() [/home/user/continuum/Engine/Source/Runtime/RHI/Private/Linux/LinuxDynamicRHI.cpp, line 39]
[Callstack] 13 0x0000000003690ccb RHIInit(bool) [/home/user/continuum/Engine/Source/Runtime/RHI/Private/DynamicRHI.cpp, line 178]
[Callstack] 14 0x0000000002c97ef0 FEngineLoop::PreInit(wchar_t const*) [/home/user/continuum/Engine/Source/Runtime/Launch/Private/LaunchEngineLoop.cpp, line 1667]
[Callstack] 15 0x0000000002c9e7e8 GuardedMain(wchar_t const*) [/home/user/continuum/Engine/Source/Runtime/Launch/Private/Launch.cpp, line 42]
[Callstack] 16 0x00000000053bad1d CommonLinuxMain(int, char**, int (*)(wchar_t const*)) [/home/user/continuum/Engine/Source/Runtime/Linux/LinuxCommonStartup/Private/LinuxCommonStartup.cpp, line 236]
[Callstack] 17 0x00007f0ff623ef45 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f0ff623ef45]
[Callstack] 18 0x0000000002c958c2 ./Application-Linux-Shipping() [0x2c958c2]
[2018.07.13-17.37.54:007][ 0]LogExit: Executing StaticShutdownAfterError
Malloc Size=131160 LargeMemoryPoolOffset=327832
Malloc Size=131160 LargeMemoryPoolOffset=459016
Malloc Size=131160 LargeMemoryPoolOffset=590200
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.