Description

This is a top community crash occurring on Linux. The two linked CrashGroups have nearly identical callstacks.

A log file is attached. Additional information is currently unavailable.

Callstack from Log

[2017.06.16-18.18.24:565][  0]LogInit:Error: _PlatformCreateOpenGLContextCore - Could not create OpenGL 4.3 context, SDL error: 'Could not create GL context: GLXBadFBConfig'
[2017.06.16-18.18.24:565][  0]LogRHI:Error: OpenGL 4.3 not supported by driver
[2017.06.16-18.18.24:566][  0]LogInit:Error: _PlatformCreateOpenGLContextCore - Could not create OpenGL 4.3 context, SDL error: 'Could not create GL context: GLXBadFBConfig'
[2017.06.16-18.18.24:784][  0]LogLinux:Error: appError called: Assertion failed: Assertion failed: SharedContext.hGLContext [File:/home/adrian/UnrealEngine/Engine/Source/Runtime/OpenGLDrv/Private/Linux/OpenGLLinux.cpp] [Line: 250] 


[2017.06.16-18.18.24:824][  0]LogLinux: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to write memory at address 0x0000000000000003

[2017.06.16-18.18.24:824][  0]LogLinux: Assertion failed: Assertion failed: SharedContext.hGLContext [File:/home/adrian/UnrealEngine/Engine/Source/Runtime/OpenGLDrv/Private/Linux/OpenGLLinux.cpp] [Line: 250] 



[Callstack]  00  0x00007f5092325e4f  FLinuxPlatformStackWalk::CaptureStackBackTrace(unsigned long long*, unsigned int, void*)
[Callstack]  01  0x00007f50921bbf65  FGenericPlatformStackWalk::StackWalkAndDump(char*, unsigned long, int, void*)
[Callstack]  02  0x00007f50922cb2a1  FLinuxCrashContext::CaptureStackTrace()
[Callstack]  03  0x00007f5086e503b0  CommonLinuxCrashHandler(FGenericCrashContext const&)
[Callstack]  04  0x00007f50922cd172  PlatformCrashHandler(int, siginfo_t*, void*)
[Callstack]  05  0x00007f5098112390  /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390) [0x7f5098112390]
[Callstack]  06  0x00007f50921af304  FGenericPlatformMisc::RaiseException(unsigned int)
[Callstack]  07  0x00007f5092317c2e  FOutputDeviceLinuxError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&)
[Callstack]  08  0x00007f50923da08c  FOutputDevice::Logf(wchar_t const*, ...)
[Callstack]  09  0x00007f5092375468  FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...)
[Callstack]  10  0x00007f5011d733ed  FPlatformOpenGLDevice::FPlatformOpenGLDevice()
[Callstack]  11  0x00007f5011d6fb96  FOpenGLDynamicRHI::FOpenGLDynamicRHI()
[Callstack]  12  0x00007f5011d6f8e2  FOpenGLDynamicRHIModule::CreateRHI(ERHIFeatureLevel::Type)
[Callstack]  13  0x00007f508b8890ee  PlatformCreateDynamicRHI()
[Callstack]  14  0x00007f508b8888ef  RHIInit(bool)
[Callstack]  15  0x0000000000419c51  FEngineLoop::PreInit(wchar_t const*) [/home/adrian/UnrealEngine/Engine/Source/Runtime/Launch/Private/LaunchEngineLoop.cpp, line 1665]
[Callstack]  16  0x000000000042af78  GuardedMain(wchar_t const*) [/home/adrian/UnrealEngine/Engine/Source/Runtime/Launch/Private/Launch.cpp, line 42]
[Callstack]  17  0x00007f5086e5113a  CommonLinuxMain(int, char**, int (*)(wchar_t const*))
[Callstack]  18  0x00007f5085f0c830  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f5085f0c830]
[Callstack]  19  0x0000000000416629  ./Engine/Binaries/Linux/UE4Editor(_start+0x29) [0x416629]
Steps to Reproduce

Run the engine (editor or game) or drivers that are uncapable of creating OpenGL 4.3 context (e.g. llvmpipe currently).

Callstack
SIGSEGV: invalid attempt to write memory at address 0x0000000000000003

Unknown!PlatformCrashHandler()
Unknown!/lib/x86_64-linux-gnu/libpthread.so.0() [0x7f:98112390]
Unknown!FPlatformOpenGLDevice::FPlatformOpenGLDevice()
Unknown!FOpenGLDynamicRHI::FOpenGLDynamicRHI()
Unknown!FOpenGLDynamicRHIModule::CreateRHI()
Unknown!PlatformCreateDynamicRHI()
Unknown!RHIInit()
./Engine/Binaries/Linux/UE4Editor!FEngineLoop::PreInit() [LaunchEngineLoop.cpp:1665]
./Engine/Binaries/Linux/UE4Editor!GuardedMain() [Launch.cpp:42]
Unknown!CommonLinuxMain()
Unknown!/lib/x86_64-linux-gnu/libc.so.6() [0x7f5085f0c:30]
Unknown!./Engine/Binaries/Linux/UE4Editor() [0x:16629]

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-46177 in the post.

0
Login to Vote

Fixed
ComponentTools - Desktop
Affects Versions4.154.16
Target Fix4.17
Fix Commit3531678
Main Commit3555226
Release Commit3531678
CreatedJun 16, 2017
ResolvedJul 11, 2017
UpdatedJul 26, 2017