Download

signal SIGSEGV: invalid address (fault address: 0x0)

Hi guys, I made it, I created Segmentation Fault followed by Hardfault on android 6, device F3311 from Sony.
I’m using ndk 14rb, like recommanded and installation by codeworks with UE4 4.24.2 on Ubuntu 19.10.

You can reproduce by creating three classes:

one basic class called Folders
one Blueprint function library: BFL_ServerCom
one class based on Object (or UObject): OHttp_Request

Then add modules to *.Build.cs
PrivateDependencyModuleNames.AddRange(new string] {“HTTP”, “Json”});
PrivateIncludePathModuleNames.AddRange(new string] {“HTTP”, “Json”});

and copy paste my code, that I have attached.

Can you help me to fix, I already commented everything out and still SegFault appears.

Debugger shows this function:

jint GetEnv(void** env, jint version)
{ return functions->GetEnv(this, env, version); }

In the editor the code works perfectly!