We are using Vuforia 7.0.50 on Android for target recognition on our app. After target is recognized, we're using OpenGL to render a 3D model frame and a video stream inside of it. But on Samsung Galaxy Note 8 we are getting a crash after starting and finishing Vuforia 4 times. Vuforia initialization is very slow on that device, it takes about 4 seconds.
Crash seems to be triggered on Vuforia deinitialization. Vuforia sample code uses AsyncTasks to initialize the library, but we are using RxAndroid instead. We are using syncronized blocks for Vuforia init/deinit. Crash shows in logcat as a JNI abort signal. It fails as a " null pointer dereference" or a "use of deleted global reference". But we haven't been able to pin-point what variable causes it. We are attaching the crash logs for further detail.