Crash in art::Thread::Attach

Hi everyone and thank you for your great work on MOE,

I’m using MOE 1.3b2 to run a libgdx game on iOS. Everything is mostly working fine, except for an occasional crashreport I’m getting from Crashlytics:

#1. Crashed: NSOperationQueue 0x17403fd80 :: NSOperation 0x174045d60 (QOS: DEFAULT)
0  libsystem_c.dylib              0x18afb45cc strlen + 12
1  MOE                            0x104df997c art::Thread::Attach(char const*, bool, _jobject*, bool) + 176
2  MOE                            0x104df997c art::Thread::Attach(char const*, bool, _jobject*, bool) + 176
3  MOE                            0x104dbca48 art::Runtime::AttachCurrentThread(char const*, bool, _jobject*, bool) + 28
4  MOE                            0x104cf69ac art::JII::AttachCurrentThreadInternal(_JavaVM*, _JNIEnv**, void*, bool) + 400
5  MOE                            0x1051cff28 nativeToJavaBlockHandler(ffi_cif*, void*, void**, void*) + 148
6  MOE                            0x1051ece64 ffi_closure_SYSV_inner + 676
7  MOE                            0x1051d81b4 ffi_closure_SYSV + 52
8  Foundation                     0x18cb957e4 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
9  Foundation                     0x18cada358 -[NSBlockOperation main] + 96
10 Foundation                     0x18caca954 -[__NSOperationInternal _start:] + 620
11 Foundation                     0x18cb97b90 __NSOQSchedule_f + 228
12 libdispatch.dylib              0x18af5d1c0 _dispatch_client_callout + 16
13 libdispatch.dylib              0x18af6b444 _dispatch_queue_serial_drain + 928
14 libdispatch.dylib              0x18af609a8 _dispatch_queue_invoke + 652
15 libdispatch.dylib              0x18af6d38c _dispatch_root_queue_drain + 572
16 libdispatch.dylib              0x18af6d0ec _dispatch_worker_thread3 + 124
17 libsystem_pthread.dylib        0x18b1652c8 _pthread_wqthread + 1288
18 libsystem_pthread.dylib        0x18b164db4 start_wqthread + 4

I can’t reproduce the issue locally and it seems to be relatively rare, but of course I would prefer to have an app that never crashes.

Any ideas what might be going wrong here? Would highly appreciate any help!

Thank you very much,
Bart