Signal 11 caught

I followed all of the steps in the Linux Quick Start guide: link.

I’m on the release branch.

After this, I searched for the .desktop files (none appeared in DMenu). I found these:

  • com.epicgames.UnrealEngine.desktop
  • com.epicgames.UnrealEngineEditor.desktop
  • com.epicgames.UnrealVersionSelector.desktop

So I tried gtk-launch com.epicgames.UnrealEngineEditor, which resulted in a weird /r showing up. Naturally, I used dos2unix on all these .desktop files, and now DMenu can find “Unreal Engine Editor” and “Unreal Engine Generate Project Files” (nothing for the “VersionSelector”).

Now, I still cannot launch Unreal Engine Editor. The error I get is

➜  ~ gtk-launch com.epicgames.UnrealEngineEditor        
4.22.1-0+++UE4+Release-4.22 517 0                                                                                                                                                                                    
Disabling core dumps.
➜  ~ Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554 
CommonUnixCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=131119 
Malloc Size=72704 LargeMemoryPoolOffset=203840 
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
Exiting abnormally (error code: 1)
cd local/prj/unreal/engine/UnrealEngine/Engine/Binaries/Linux 

This is very confusing to me, and I cannot launch the Unreal Engine Editor because of this.
All the google results (and some results here) talk about exporting to Android. I haven’t even opened the editor yet.
Other results didn’t have solutions that worked for me.

Well for one I can tell you you are NOT on the release branch :slight_smile:

4.22.1-0+++UE4+Release-4.22 517 0   

You are not on 4.26, which might actually be part of your issue as I do not think that version had the bundled toolchain. Also dos2unix is not needed for quite some time. Malloc error this early in the launch are also quite strange. Can you please post your specs?

And in any case, as convenient as the desktop files are I just do

Engine/Binaries/Linux/UE4Editor-Cmd

the -Cmd is not necessary as on Windows both UE4Editor and UE4Editor-Cmd do the same thing, but I still do it regardless

Thanks for pointing that out! Not sure how I ended up on an older version… maybe my git clone didn’t work fully?

Not sure if this was just a result of being on an older version, but I also couldn’t figure out how to run the project selector without loading the entire editor (it takes my machine 5 minutes to open the editor, and I have very capable hardware). Once it loads and I can select my project, it has to load the entire editor again (another 5 minutes). Is there a way to not have to wait this long?

Your answer solved the original question.

There is a solution to the long loading times, but it requires a patched version of glibc, if you are on Arch there is an AUR package glibc-dso if on any other distro you can patch the glibc yourself using the latest patches from here GNU C Library (glibc) - Patchwork (please note that they are 1/2 and 2/2 parts to the patches) or wait for this to get merged into the upstream glibc. This patch also requires you to launch the editor with

GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2

to enable what is in the patch. If you need help or talk about this feel free to do so in Unreal Slackers #linux room :slight_smile:

For anyone else who finds this, I was receiving this error because the build steps were not clear and I was trying to run the editor before building.

To be clear:

  • Run git clone and it will default to the release branch.
  • Run ./Setup.sh
  • Run ./GenerateProjectFiles.sh
  • Then run make and compile