Keep getting "invalid attempt to access memory at address" error on Linux

I use and Unreal 4.12.2 and I keep getting Unhandled Exception: SIGSEGV: invalid attempt to access memory at address #x######### This seems to happen at random, but usually when hitting the “compile button” after editing a blueprint, “build lighting” and sometimes “save”. I found some threads about a similar issue but that seemed to happen on older versions. According to this link it was fixed a long time ago. I never had this problem on 4.4 or 4.8, but I’m having it now. Hope someone can help as this is making it very hard for me to get anything done. Here is my crash log

Hey galundrux-

The issues in the forum post you mentioned were fixed for the specific memory addresses mentioned (0x1010102 and 0x3). If you are getting this error at another memory location then it is likely a different issue causing the problem. Looking at the log files, it appears something is trying to access out of bounds elements of an Inventory array. If you are reliably getting this issue when compiling a blueprint, can you try moving that specific asset to a new project to see if the same thing happens? Also let me know if you’re able to test the project in 4.12.3 and if the same crash occurs there.

Hey galundrux,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.

Cheers

Thanks for the reply. Yes, I’m still experiencing this issue. I can not reproduce it reliably by compiling that specific blueprint, I don’t even have it in that exact state anymore since I’ve changed it since then, but the problem occurs often when doing a variety of things, and it’s not always the same memory address either. It’s happened with compiling blueprints, building lights, saving, importing assets from other projects, importing terrain heighmaps and applying shaders, but it seems to be fairly random. It happens to me at least twice a day, sometimes several times in one hour while other times I can work for hours with no issue. Sometimes it even seems to compile before it crashes, because when I restore the project it’s been compiled, while other times I have to do it over.

I am downloading the latest source now, I will let you know if it is still happening when I’ve had a chance to test it.

Hey galundrux-

I have not ran into this error in my testing. Please let me know if you’re still receiving errors about accessing memory addresses in the latest engine along with where you’re seeing it occur and any steps that would help me reproduce it on my machine.