Android SIGABRT Signal 6 Camera2
E/OpenGLRenderer: Texture is using 0.00B, count = 1 OffscreenBuffer is using 0.00B, count = 0 Layer is using 0.00B, count = 1 05-14 19:29:30.911 31706-31756/com.package.test A/OpenGLRenderer: Leaked 2 GPU objects! --------- beginning of crash 05-14 19:29:30.912 31706-31756/com.package.test A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 31756 (RenderThread) [ 05-14 19:29:30.919 10376:10376 W/ ] debuggerd: handling request: pid=31706 uid=10371 gid=10371 tid=31756 It seams that the operating system kills the application in debug mode and disables the camera in release mode in some devices because of the SIGABRT signal that detects something is wrong in the RenderThread with my TextureView that holds the camera preview. I just use camera2 inside a Fragment and I tested it in multiple devices. A link with people talking about the problem without a solve: https://issuetracker.google.com/issues/37123764 Devices with the problem reported: Xperia XZ, Xperia X Compact, Xperia Z5 ... Nexus 6P, Nexus 5X... If there's no solve there's any alternative to prevent the camera close at least in the release mode?
android: how do I change a field in an array of JSONObject when a button is clicked?
Reset FAB's color after long press is over
Add multiple value obtained from spinner in CardView together
How to integrate Google Drive,DropBox, iCloud in xamarin.Form (Portable)?
Launching Application from Link/QR-Code for Android
what is best for making dynamic screens?
How to prevent reverse shared element transition
Android Firebase Database Loading Faster
Android making multiple flavors due to layout changes.
Android unable to close due to unfinalized statements or unfinished backups (code 5): Count not close db
How can I put a title on my ArrayAdapter using a String field from an object? [duplicate]
Lower portion of layout not shows when soft keyboard dissappear after edit text box
is it bad if we define more private global non static variables in Activity? or we should try to minimize gloabal declaration?
Gridview help itemdecoration undo
Error on startActivity, but only on android 7 devices
Saving and loading objects with arraylist properties of other custom objects (Android)