ANR: at org.inaturalist.inatcamera.ui.TextureViewPreview$1.onSurfaceTextureDestroyed
albullington opened this issue · 0 comments
albullington commented
Input dispatching timed out, waited 10001ms for MotionEvent stack trace from Google Play Console. This is the stack trace under type "main" prio=5 tid=1 Native
.
#00 pc 00000000000ddb44 /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+4)
#00 pc 0000000000097108 /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+156)
#00 pc 0000000000053420 /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+248)
#00 pc 0000000000054834 /system/lib64/libbinder.so (android::IPCThreadState::waitForResponse(android::Parcel*, int*)+60)
#00 pc 00000000000545ac /system/lib64/libbinder.so (android::IPCThreadState::transact(int, unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+184)
#00 pc 000000000004c044 /system/lib64/libbinder.so (android::BpBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+152)
#00 pc 000000000012e3cc /system/lib64/libandroid_runtime.so (android_os_BinderProxy_transact(_JNIEnv*, _jobject*, int, _jobject*, _jobject*, int)+152)
at android.os.BinderProxy.transactNative (Native method)
at android.os.BinderProxy.transact (BinderProxy.java:605)
at android.hardware.camera2.ICameraDeviceUser$Stub$Proxy.disconnect (ICameraDeviceUser.java:657)
at android.hardware.camera2.impl.ICameraDeviceUserWrapper.disconnect (ICameraDeviceUserWrapper.java:69)
at android.hardware.camera2.impl.CameraDeviceImpl.close (CameraDeviceImpl.java:1322)
at org.inaturalist.inatcamera.ui.Camera2.stop (Camera2.java:365)
at org.inaturalist.inatcamera.ui.Camera2$6.onSurfaceDestroyed (Camera2.java:328)
at org.inaturalist.inatcamera.ui.PreviewImpl.dispatchSurfaceDestroyed (PreviewImpl.java:61)
at org.inaturalist.inatcamera.ui.TextureViewPreview$1.onSurfaceTextureDestroyed (TextureViewPreview.java:68)
at android.view.TextureView.releaseSurfaceTexture (TextureView.java:261)
at android.view.TextureView.onDetachedFromWindowInternal (TextureView.java:232)
at android.view.View.dispatchDetachedFromWindow (View.java:22072)
at android.view.ViewGroup.dispatchDetachedFromWindow (ViewGroup.java:4747)
at android.view.ViewGroup.dispatchDetachedFromWindow (ViewGroup.java:4747)
at android.view.ViewGroup.dispatchDetachedFromWindow (ViewGroup.java:4747)
at android.view.ViewGroup.removeViewInternal (ViewGroup.java:6394)
at android.view.ViewGroup.removeViewAt (ViewGroup.java:6341)
at com.facebook.react.views.view.ReactViewGroup.removeViewAt (ReactViewGroup.java:485)
at com.facebook.react.views.view.ReactClippingViewManager.removeViewAt (ReactClippingViewManager.java:74)
at com.facebook.react.views.view.ReactClippingViewManager.removeViewAt (ReactClippingViewManager.java:19)
at com.facebook.react.uimanager.NativeViewHierarchyManager.manageChildren (NativeViewHierarchyManager.java:433)
at com.facebook.react.uimanager.UIViewOperationQueue$ManageChildrenOperation.execute (UIViewOperationQueue.java:209)
at com.facebook.react.uimanager.UIViewOperationQueue$1.run (UIViewOperationQueue.java:917)
at com.facebook.react.uimanager.UIViewOperationQueue.flushPendingBatches (UIViewOperationQueue.java:1028)
at com.facebook.react.uimanager.UIViewOperationQueue.access$2600 (UIViewOperationQueue.java:48)
at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded (UIViewOperationQueue.java:1088)
at com.facebook.react.uimanager.GuardedFrameCallback.doFrame (GuardedFrameCallback.java:29)
at com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame (ReactChoreographer.java:175)
at com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame (ChoreographerCompat.java:85)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1008)
at android.view.Choreographer.doCallbacks (Choreographer.java:809)
at android.view.Choreographer.doFrame (Choreographer.java:740)
at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:995)
at android.os.Handler.handleCallback (Handler.java:938)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:246)
at android.app.ActivityThread.main (ActivityThread.java:8506)
at java.lang.reflect.Method.invoke (Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130)
This is happening across Pixel, Pixel 3, Samsung Galaxy, Huawei, etc. on Android version 8-11.