I built the engine from GitHub’s source code - branch 4.27.
Running it on Ubuntu 22 and also tried on Ubuntu 20 with similar results.
Everything builds fine initially and I can launch the UE4Editor.
I can see the options to select a project or create a new project.
It never crashes here.
But as soon as I select any project, it loads the level and renders it in the Editor.
I can play and run the editor all fine. But then suddenly it randomly crashes with the following logs. After the crash If i launch my project again it never loads the map again.
Sometimes i get lucky and I can continue working again.
Caught signal 11 Segmentation fault
libUE4Editor-Core.so!FUnixPlatformStackWalk::CaptureStackBackTrace(unsigned long long*, unsigned int, void*) [~/UnrealEngine/Engine/Source/Runtime/Core/Private/Unix/UnixPlatformStackWalk.cpp:693]
libUE4Editor-Core.so!FGenericPlatformStackWalk::StackWalkAndDump(char*, unsigned long, int, void*) [~/UnrealEngine/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformStackWalk.cpp:191]
libUE4Editor-Core.so!FUnixCrashContext::CaptureStackTrace() [~/UnrealEngine/Engine/Source/Runtime/Core/Private/Unix/UnixPlatformCrashContext.cpp:291]
libUE4Editor-UnixCommonStartup.so!CommonUnixCrashHandler(FGenericCrashContext const&) [~/UnrealEngine/Engine/Source/Runtime/Unix/UnixCommonStartup/Private/UnixCommonStartup.cpp:35]
libUE4Editor-Core.so!PlatformCrashHandler(int, siginfo_t*, void*) [~/UnrealEngine/Engine/Source/Runtime/Core/Private/Unix/UnixPlatformCrashContext.cpp:853]
libc.so.6!UnknownFunction(0x4251f)
If I create a new project, even that does not work.
But sometimes I restart the PC and I can get lucky and start working on the project.
As you can imagine, i’m going crazy here trying to figure out what to do as I’m stucked here.