In my post about OpenMP on Android, I mentioned that your app will crash if you try to use OpenMP directives or functions on a non-main thread. That can be traced back to the gomp_thread
function in libgomp/libgomp.h, and the fact that it returns NULL
for threads you create.