Mysterious crashes on Android at application start - every 5-10th


#13 pc 00b2b420  /data/app/ (__hxcpp_main+32)
#14 pc 00b2b310  /data/app/ (hxcpp_main+40)
#15 pc 00b2b3f4  /data/app/ (Java_org_haxe_HXCPP_main+12)
#16 pc 006d6615  /data/app/ (offset 0x47d000) (void org.haxe.HXCPP.main()+72)
#17 pc 006d66ff  /data/app/ (offset 0x47d000) (void
#18 pc 006e38d5  /data/app/ (offset 0x47d000) (void
#19 pc 02362eb1  /data/dalvik-cache/arm/system@[email protected] (offset 0x2341000)

and sometimes the backtrace looks different

#24 pc 0052a88c  /data/app/ (_ZN4lime10_hx_systemL28__ThreadPool_obj_hx___doWorkEPN2hx6ObjectE+20)
#25 pc 00b9e43c  /data/app/ (_ZN2hx16CMemberFunction05__runEv+56)
#26 pc 00b7897c  /data/app/ (_Z12hxThreadFuncPv+176)
#27 pc 0005291b  /system/lib/ (_ZL15__pthread_startPv+30)
#28 pc 00019feb  /system/lib/ (__start_thread+6)

I am quite confused on those.
Atm i try to wade through all the possibilities and would be happy if someone could give me some hints/ideas.

I am using ndk-r13b, and the crashes happen with Openfl4.9.2/Lime4.0.3 but also with Openfl5.0 with Lime 4.1.0.
Debug/release doesnt make a difference neither DCE on/off.
And its not related to a specific Android Version.

But i couldnt reproduce it in the PiratePig example -.-

Thanks for any ideas/thoughts

PS: why/how/when is “/data/app/” instead of normally “solitairetripeaks-1

Maybe try and remove the app from the device, then reinstall, just to be sure there aren’t multiple installs somehow?