Since Mesa 13 released, Unreal Engine refuses to start up with the error “Error in UE4Editor free(): invalid pointer”
This is true for the Editor of 4.13, 4.14, git master. I was not able to test other versions as they would fail compiling and I could not yet test this with a game built with UE4.
Here’s the complete console output: http://pastebin.com/vg42rhAu
Note that the error sometimes also is “double free()” not only “free(): invalid pointer”, this seems to be random though.
Downgrading to Mesa 12 (no OpenGL4 Support!!) runs the engine just fine.
Using -ansimalloc or -jemalloc does not fix the problem!
Looking at the console output, I’m unable to find the command where you’re running the engine. When you ran the editor command, did you include “-OpenGL4”? If not, please let me know if you get the same error using ./UE4Editor -opengl4.
The command is at the very bottom, the log outputs it again by itself.
As this log was produced with Git master, opengl4 is default.
Running with -opengl4 or -opengl3 makes no difference to running it without any arguments, the same error occurs.
After speaking with other developers I learned that Mesa 13 is not currently supported. We are looking to add support but for the time being, continuing to use Mesa 12 is the best option.
I suspect I’m having the same problem (tried UE 4.15.2 and 4.16-preview3). It would be great if newer versions of mesa were supported. Sadly I can’t downgrade because of instability problems on my system with earlier versions.
Here is the log and system info. I hope it helps
Error in './Engine/Binaries/Linux/UE4Editor': free(): invalid pointer: 0x00007f20df52eb40 Error in './Engine/Binaries/Linux/UE4Editor': free(): invalid pointer: 0x00007f20e87d6be0