Hey, I tried posting this about 2 weeks ago but my post never showed up.
My application uses fibers/stackful coroutines through boost context but whenever any Java code is called from C++ within a different stack/fiber the ART will abort the application with an error about invalid references.
I've tried the same with a different library (marl) but it gives the same result.
Looking at various solutions I've tried various AttachCurrentThread solutions but none of them made any difference, and also technically I'm still on the main thread, just that the stack is in a different location.
Does anyone have any ideas on how to make this work, maybe some details about what kind of stack layout JNI expects & how I can make it "see" the java stack.
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/571b28b9-1373-48d7-a736-8a4f7f058ef2n%40googlegroups.com.