Unreal engine fails to start. Linux

Hello,

So i have built engine from source and it worked at first, but after i changed monitors starting engine with ./UE4Editor -opengl4 throws this error. i have tried rebuilding the engine but it still throws the same error. I have no idea how should i debug this error and would appreciate some help.

[2020.01.21-14.35.33:453][  0]LogCore: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to read memory at address 0x0000000000000010

[2020.01.21-14.35.33:453][  0]LogCore: Fatal error!

0x0000000001772e68 CrashReportClient!OFFSCREEN_CreateWindow [/home/bschaefer/UnrealEngine/Engine/Source/ThirdParty/SDL2/SDL-gui-backend/src/video/offscreen/SDL_offscreenwindow.c:58]
0x000000000174b5de CrashReportClient!SDL_CreateWindow_REAL [/home/bschaefer/UnrealEngine/Engine/Source/ThirdParty/SDL2/SDL-gui-backend/src/video/SDL_video.c:1533]
0x0000000001286caf CrashReportClient!FSlateOpenGLContext::Initialize(void*, FSlateOpenGLContext const*) [/home/unreal/UnrealEngine/Engine/Source/Developer/StandaloneRenderer/Private/Linux/OpenGL/SlateOpenGLContext.cpp:192]
0x0000000001289721 CrashReportClient!FSlateOpenGLRenderer::Initialize() [/home/unreal/UnrealEngine/Engine/Source/Developer/StandaloneRenderer/Private/OpenGL/SlateOpenGLRenderer.cpp:84]
0x0000000000fa18b9 CrashReportClient!FSlateApplication::InitializeRenderer(TSharedRef<FSlateRenderer, (ESPMode)0>, bool) [/home/unreal/UnrealEngine/Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp:1118]
0x000000000091c039 CrashReportClient!RunWithUI(FLinuxErrorReport) [/home/unreal/UnrealEngine/Engine/Source/Programs/CrashReportClient/Private/CrashReportClientApp.cpp:208]
0x000000000091d434 CrashReportClient!RunCrashReportClient(char16_t const*) [/home/unreal/UnrealEngine/Engine/Source/Programs/CrashReportClient/Private/CrashReportClientApp.cpp:358]
0x00000000009269e5 CrashReportClient!main [/home/unreal/UnrealEngine/Engine/Source/Programs/CrashReportClient/Private/Linux/CrashReportClientMainLinux.cpp:67]
0x00007fbb1d6cfbbb libc.so.6!__libc_start_main(+0xea)
0x000000000090e029 CrashReportClient!_start()

What did you do to rebuild?

At first i rebuilt it as usual

git clone --single-branch --branch 4.22 https://github.com/EpicGames/UnrealEngine.git
./Setup.sh
./GenerateProjectFiles.sh 
make 

and just now i have rebuilt it with

make UE4Editor-Linux-Debug

I don’t know what actually happened but i think now everything is Ok, thanks for quick response

That wouldn’t be a “rebuild”. Don’t know make so not sure if there’s a way to rebuild with it, but manually you can delete the binaries folder and then use make again, it does mean compiling the engine again though.

“make clean” might work for you. That’s what I tend to use. It should cause everything to re-compile again same as fresh download.

Deleting everything is sure-fire way.

Privacy & Terms