google-ar / arcore-android-sdk

ARCore SDK for Android Studio
https://developers.google.com/ar
Other
4.98k stars 1.22k forks source link

Black Screen followed by an App Crash #1161

Open RGregat opened 3 years ago

RGregat commented 3 years ago

SPECIFIC ISSUE ENCOUNTERED

VERSIONS USED

STEPS TO REPRODUCE THE ISSUE

  1. Start the AR-View
  2. Sometimes the camera feed stays black
  3. After a while the app is crashing

WORKAROUNDS (IF ANY)

ADDITIONAL COMMENTS

2020-11-26 13:22:20.053 24183-24183/com.example.ar E/native: status.cc:161 FAILED_PRECONDITION: 
    ARCoreError: third_party/arcore/ar/core/session.cc:2940

    ARCoreError: vr/perception/depth/projects/motion_stereo/manager/motion_stereo_manager.cc:2193
    No depth data found for the requested timestamp. [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']
2020-11-26 13:22:21.220 24183-26950/com.example.ar E/native: camera_gpu_stream_hardware_buffers.cc:202 Hardware Buffer Stream failed to acquire HardwareBuffer from ImageReader. status=UNAVAILABLE: AImageReader_acquireLatestImage [type.googleapis.com/util.ErrorSpacePayload='ImageReaderStatusErrorSpaceClass::AMEDIA_IMGREADER_NO_BUFFER_AVAILABLE']
2020-11-26 13:22:21.505 24183-25520/com.example.ar A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10 in tid 25520 (Thread-28), pid 24183 (com.example.ar)
2020-11-26 13:22:21.566 24183-26950/com.example.ar E/native: camera_gpu_stream_hardware_buffers.cc:202 Hardware Buffer Stream failed to acquire HardwareBuffer from ImageReader. status=UNAVAILABLE: AImageReader_acquireLatestImage [type.googleapis.com/util.ErrorSpacePayload='ImageReaderStatusErrorSpaceClass::AMEDIA_IMGREADER_NO_BUFFER_AVAILABLE']
2020-11-26 13:22:21.604 24183-26949/com.example.ar E/native: camera_image_stream.cc:231 Camera Image Stream failed to dequeue Image from ImageReader. status=UNAVAILABLE: AImageReader_acquireLatestImage [type.googleapis.com/util.ErrorSpacePayload='ImageReaderStatusErrorSpaceClass::AMEDIA_IMGREADER_NO_BUFFER_AVAILABLE'] acquired_image_count=9
2020-11-26 13:22:21.604 24183-26949/com.example.ar E/native: camera_image_stream.cc:231 Camera Image Stream failed to dequeue Image from ImageReader. status=UNAVAILABLE: AImageReader_acquireLatestImage [type.googleapis.com/util.ErrorSpacePayload='ImageReaderStatusErrorSpaceClass::AMEDIA_IMGREADER_NO_BUFFER_AVAILABLE'] acquired_image_count=9
2020-11-26 13:22:21.671 24183-26949/com.example.ar E/native: camera_image_stream.cc:231 Camera Image Stream failed to dequeue Image from ImageReader. status=UNAVAILABLE: AImageReader_acquireLatestImage [type.googleapis.com/util.ErrorSpacePayload='ImageReaderStatusErrorSpaceClass::AMEDIA_IMGREADER_NO_BUFFER_AVAILABLE'] acquired_image_count=10
2020-11-26 13:22:21.671 24183-26949/com.example.ar E/native: camera_image_stream.cc:231 Camera Image Stream failed to dequeue Image from ImageReader. status=UNAVAILABLE: AImageReader_acquireLatestImage [type.googleapis.com/util.ErrorSpacePayload='ImageReaderStatusErrorSpaceClass::AMEDIA_IMGREADER_NO_BUFFER_AVAILABLE'] acquired_image_count=10
2020-11-26 13:22:21.682 27139-27139/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2020-11-26 13:22:21.683 27139-27139/? A/DEBUG: Build fingerprint: 'google/flame/flame:11/RP1A.201105.002/6869500:user/release-keys'
2020-11-26 13:22:21.683 27139-27139/? A/DEBUG: Revision: 'MP1.0'
2020-11-26 13:22:21.683 27139-27139/? A/DEBUG: ABI: 'arm64'
2020-11-26 13:22:21.693 27139-27139/? A/DEBUG: Timestamp: 2020-11-26 13:22:21+0100
2020-11-26 13:22:21.693 27139-27139/? A/DEBUG: pid: 24183, tid: 25520, name: Thread-28  >>> com.example.ar <<<
2020-11-26 13:22:21.693 27139-27139/? A/DEBUG: uid: 10344
2020-11-26 13:22:21.693 27139-27139/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10
2020-11-26 13:22:21.693 27139-27139/? A/DEBUG: Cause: null pointer dereference
2020-11-26 13:22:21.693 27139-27139/? A/DEBUG:     x0  00000078547611b0  x1  0000000000000000  x2  0000000000000000  x3  0000000000000040
2020-11-26 13:22:21.693 27139-27139/? A/DEBUG:     x4  0000000000000010  x5  0000000063657865  x6  0000000000000002  x7  0000000065747563
2020-11-26 13:22:21.693 27139-27139/? A/DEBUG:     x8  0000000000000000  x9  0000000000000000  x10 ffffffffffffffff  x11 0000000000000000
2020-11-26 13:22:21.693 27139-27139/? A/DEBUG:     x12 0000000000000000  x13 00000078180bd168  x14 0000000000000003  x15 0000000000000000
2020-11-26 13:22:21.693 27139-27139/? A/DEBUG:     x16 00000078170cf4e8  x17 0000007ac4bdd81c  x18 000000776b0bc000  x19 00000079745017e0
2020-11-26 13:22:21.693 27139-27139/? A/DEBUG:     x20 00000078547611b0  x21 000000776a8b23c0  x22 0000007773a88910  x23 00000078444ede10
2020-11-26 13:22:21.693 27139-27139/? A/DEBUG:     x24 00000078444ede20  x25 000000776bb8ccc0  x26 000000776bb8cff8  x27 00000000000fc000
2020-11-26 13:22:21.693 27139-27139/? A/DEBUG:     x28 000000776ba94000  x29 000000776bb8cc70
2020-11-26 13:22:21.693 27139-27139/? A/DEBUG:     lr  000000777447d75c  sp  000000776bb8ca70  pc  000000777447d788  pst 0000000080000000
2020-11-26 13:22:21.693 27139-27139/? A/DEBUG: backtrace:
2020-11-26 13:22:21.693 27139-27139/? A/DEBUG:       #00 pc 0000000000072788  /data/app/~~O_T5BihDBGSpMer75WkjYg==/com.example.ar-OZVEy_Dkc33QewqDl-Mw_g==/base.apk!libfilament-jni.so (offset 0x2b87000) (BuildId: 51b0336f96aec8d77e7ebb48fe169b91ef5c2cf0)
2020-11-26 13:22:21.731 24183-24183/com.example.ar E/NdkImageReader: Error: AImage 0x78a44e17a0 is not generated by AImageReader 0x78e4b3e3b0
2020-11-26 13:22:22.157 24183-26949/com.example.ar E/native: camera_image_stream.cc:270 FAILED_PRECONDITION: Failed to extract the native metadata, status=DEADLINE_EXCEEDED: Timed out waiting for metadata.
2020-11-26 13:22:22.212 24183-26949/com.example.ar E/native: camera_image_stream.cc:231 Camera Image Stream failed to dequeue Image from ImageReader. status=UNAVAILABLE: AImageReader_acquireLatestImage [type.googleapis.com/util.ErrorSpacePayload='ImageReaderStatusErrorSpaceClass::AMEDIA_IMGREADER_NO_BUFFER_AVAILABLE'] acquired_image_count=9
2020-11-26 13:22:22.762 951-951/? E/tombstoned: Tombstone written to: /data/tombstones/tombstone_14
2020-11-26 13:22:22.956 1252-1432/? E/Surface: queueBuffer: error queuing buffer to SurfaceTexture, -32
2020-11-26 13:22:22.956 1252-1432/? E/Camera3-OutputStream: returnBufferCheckedLocked: Stream 0: Error queueing buffer to native window: Broken pipe (-32)
2020-11-26 13:22:22.956 1252-1426/? E/Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
2020-11-26 13:22:22.956 1252-1432/? E/Surface: queueBuffer: error queuing buffer to SurfaceTexture, -32
2020-11-26 13:22:22.956 1252-1432/? E/Camera3-OutputStream: returnBufferCheckedLocked: Stream 1: Error queueing buffer to native window: Broken pipe (-32)
2020-11-26 13:22:22.957 1252-1432/? E/Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Broken pipe (-32)
2020-11-26 13:22:22.961 23403-23440/? E/CamX: [ERROR][CSL    ] camxcslhwinternal.cpp:2995 CSLHwInternalDefaultIoctl2() Ioctl returned -1, failed for device /dev/video1 (Type:CSLHwRequestManager, FD:9, Index:-1)with error reason Operation already in progress
2020-11-26 13:22:22.962 23403-23440/? E/CamX: [ERROR][CSL    ] camxcslhwinternal.cpp:2995 CSLHwInternalDefaultIoctl2() Ioctl returned -1, failed for device /dev/video1 (Type:CSLHwRequestManager, FD:9, Index:-1)with error reason Operation already in progress
2020-11-26 13:22:22.964 23403-23439/? E/CamX: [ERROR][CSL    ] camxcslhwinternal.cpp:2995 CSLHwInternalDefaultIoctl2() Ioctl returned -1, failed for device /dev/video1 (Type:CSLHwRequestManager, FD:9, Index:-1)with error reason Operation already in progress
2020-11-26 13:22:22.965 23403-23439/? E/CamX: [ERROR][CSL    ] camxcslhwinternal.cpp:2995 CSLHwInternalDefaultIoctl2() Ioctl returned -1, failed for device /dev/video1 (Type:CSLHwRequestManager, FD:9, Index:-1)with error reason Operation already in progress
2020-11-26 13:22:22.968 23403-23439/? E/CamX: [ERROR][CSL    ] camxcslhwinternal.cpp:2995 CSLHwInternalDefaultIoctl2() Ioctl returned -1, failed for device /dev/video1 (Type:CSLHwRequestManager, FD:9, Index:-1)with error reason Operation already in progress
2020-11-26 13:22:22.968 23403-23439/? E/CamX: [ERROR][CSL    ] camxcslhwinternal.cpp:2995 CSLHwInternalDefaultIoctl2() Ioctl returned -1, failed for device /dev/video1 (Type:CSLHwRequestManager, FD:9, Index:-1)with error reason Operation already in progress
2020-11-26 13:22:22.977 23403-23442/? E/CamX: [ERROR][CSL    ] camxcslhwinternal.cpp:2995 CSLHwInternalDefaultIoctl2() Ioctl returned -1, failed for device /dev/video1 (Type:CSLHwRequestManager, FD:9, Index:-1)with error reason Operation already in progress
2020-11-26 13:22:22.977 23403-23442/? E/CamX: [ERROR][CSL    ] camxcslhwinternal.cpp:2995 CSLHwInternalDefaultIoctl2() Ioctl returned -1, failed for device /dev/video1 (Type:CSLHwRequestManager, FD:9, Index:-1)with error reason Operation already in progress
2020-11-26 13:22:23.115 23403-25711/? E/CamX: [ERROR][CORE   ] camxsession.cpp:134 WaitTillAllResultsAvailable() TimedWait for results timed out at 150 ms with error CamxResultETimeout! Pending results: 
2020-11-26 13:22:23.116 23403-25711/? E/CamX: [ERROR][CORE   ] camxsession.cpp:297 Flush() Flush timed out, Giving the nodes 100 additional fallback wait time.
2020-11-26 13:22:23.216 23403-25711/? E/CamX: [ERROR][CORE   ] camxsession.cpp:307 Flush() Fallback TimedWait for results timed out at 100 ms with error CamxResultETimeout!
2020-11-26 13:22:23.216 23403-25711/? E/GCH_CameraVendorHwl: FlushSession: FlushSession fail with CDKResult 9
2020-11-26 13:22:23.220 23403-27038/? E/GCH_PendingRequestsTracker: TrackReturnedAcquiredBuffers: stream 0 should not have any pending acquired buffers.
2020-11-26 13:22:23.220 23403-27038/? E/GCH_PendingRequestsTracker: TrackReturnedAcquiredBuffers: stream 0 should not have any pending acquired buffers.
2020-11-26 13:22:23.221 23403-27038/? E/GCH_PendingRequestsTracker: TrackReturnedAcquiredBuffers: stream 1 should not have any pending acquired buffers.
2020-11-26 13:22:23.221 23403-27038/? E/GCH_PendingRequestsTracker: TrackReturnedAcquiredBuffers: stream 1 should not have any pending acquired buffers.
2020-11-26 13:22:23.221 23403-27038/? E/GCH_PendingRequestsTracker: TrackReturnedAcquiredBuffers: stream 1 should not have any pending acquired buffers.
2020-11-26 13:22:23.381 1252-11810/? E/CameraService: binderDied: Java client's binder died, removing it from the list of active clients
devbridie commented 3 years ago

2020-11-26 13:22:21.693 27139-27139/? A/DEBUG: #00 pc 0000000000072788 /data/app/~~O_T5BihDBGSpMer75WkjYg==/com.example.ar-OZVEy_Dkc33QewqDl-Mw_g==/base.apk!libfilament-jni.so (offset 0x2b87000) (BuildId: 51b0336f96aec8d77e7ebb48fe169b91ef5c2cf0)

Is it possible that the bug isn't related to ARCore, but to filament? The stack trace shows that the nullptr dereference happened in filament.

RGregat commented 3 years ago

Maybe, I'm using Filament 1.7.0. That is to be honest a little bit old. I guess I try to update it and integrate it into Sceneform. I know Sceneform, I guess you can't hear it anymore, but it is to deep integrated into my app :). Give me one ore two days to do the changes.

RGregat commented 3 years ago

Ok, I updated now Filament to 1.9.9 and ARCore to 1.21.0 for my forked Sceneform-Lib. I will report if I still see the mentioned issue.

RGregat commented 3 years ago

Not a black screen but still a fatal crash which pops up very rarely

2020-12-03 09:35:33.610 1521-1889/? E/JavaBinder: *** Uncaught remote exception!  (Exceptions are not yet supported across processes.)
    java.lang.RuntimeException: android.os.RemoteException: Couldn't get ApplicationInfo for package com.android.accelerometergraph
        at android.os.Parcel.writeException(Parcel.java:2158)
        at android.os.Binder.execTransactInternal(Binder.java:1178)
        at android.os.Binder.execTransact(Binder.java:1123)
     Caused by: android.os.RemoteException: Couldn't get ApplicationInfo for package com.android.accelerometergraph
        at com.android.server.pm.PackageManagerService$PackageManagerNative.getTargetSdkVersionForPackage(PackageManagerService.java:23957)
        at android.content.pm.IPackageManagerNative$Stub.onTransact(IPackageManagerNative.java:255)
        at android.os.Binder.execTransactInternal(Binder.java:1159)
        at android.os.Binder.execTransact(Binder.java:1123) 
2020-12-03 09:35:35.027 8306-8306/com.example.ar A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 8306 (com.example.ar), pid 8306 (com.example.ar)
2020-12-03 09:35:35.119 8306-8656/com.example.ar E/native: camera_image_stream.cc:231 Camera Image Stream failed to dequeue Image from ImageReader. status=UNAVAILABLE: AImageReader_acquireLatestImage [type.googleapis.com/util.ErrorSpacePayload='ImageReaderStatusErrorSpaceClass::AMEDIA_IMGREADER_NO_BUFFER_AVAILABLE'] acquired_image_count=10
2020-12-03 09:35:35.131 8793-8793/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2020-12-03 09:35:35.132 8793-8793/? A/DEBUG: Build fingerprint: 'google/flame/flame:11/RP1A.201105.002/6869500:user/release-keys'
2020-12-03 09:35:35.132 8793-8793/? A/DEBUG: Revision: 'MP1.0'
2020-12-03 09:35:35.132 8793-8793/? A/DEBUG: ABI: 'arm64'
2020-12-03 09:35:35.135 8793-8793/? A/DEBUG: Timestamp: 2020-12-03 09:35:35+0100
2020-12-03 09:35:35.135 8793-8793/? A/DEBUG: pid: 8306, tid: 8306, name: com.example.ar  >>> com.example.ar <<<
2020-12-03 09:35:35.135 8793-8793/? A/DEBUG: uid: 10355
2020-12-03 09:35:35.135 8793-8793/? A/DEBUG: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
2020-12-03 09:35:35.135 8793-8793/? A/DEBUG: Abort message: 'Scudo ERROR: invalid chunk state when deallocating address 0x0071095ca740
    '
2020-12-03 09:35:35.135 8793-8793/? A/DEBUG:     x0  0000000000000000  x1  0000000000002072  x2  0000000000000006  x3  0000007ff7d044a0
2020-12-03 09:35:35.135 8793-8793/? A/DEBUG:     x4  0000808080808080  x5  0000808080808080  x6  0000808080808080  x7  0000000000000018
2020-12-03 09:35:35.135 8793-8793/? A/DEBUG:     x8  00000000000000f0  x9  b66cc21d6949bcf9  x10 0000000000000000  x11 ffffffc0fffffbdf
2020-12-03 09:35:35.135 8793-8793/? A/DEBUG:     x12 0000000000000001  x13 000008ed0cf4598a  x14 000181866578a4b1  x15 00000000056c75e2
2020-12-03 09:35:35.135 8793-8793/? A/DEBUG:     x16 000000735cb48c80  x17 000000735cb2a3b0  x18 0000000000000001  x19 0000000000002072
2020-12-03 09:35:35.135 8793-8793/? A/DEBUG:     x20 0000000000002072  x21 00000000ffffffff  x22 00000071095ca740  x23 000000713961bb70
2020-12-03 09:35:35.135 8793-8793/? A/DEBUG:     x24 00000070e95b1730  x25 0000006fffb6a030  x26 0000007ff7d04a98  x27 0000007ff7d047a0
2020-12-03 09:35:35.135 8793-8793/? A/DEBUG:     x28 000000735eb6f000  x29 0000007ff7d04520
2020-12-03 09:35:35.135 8793-8793/? A/DEBUG:     lr  000000735cadde20  sp  0000007ff7d04480  pc  000000735cadde4c  pst 0000000000000000
2020-12-03 09:35:35.459 8793-8793/? A/DEBUG: backtrace:
2020-12-03 09:35:35.459 8793-8793/? A/DEBUG:       #00 pc 000000000004de4c  /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: 03452a4a418e14ff93948f26561eace6)
2020-12-03 09:35:35.459 8793-8793/? A/DEBUG:       #01 pc 0000000000042910  /apex/com.android.runtime/lib64/bionic/libc.so (scudo::die()+8) (BuildId: 03452a4a418e14ff93948f26561eace6)
2020-12-03 09:35:35.459 8793-8793/? A/DEBUG:       #02 pc 0000000000042f88  /apex/com.android.runtime/lib64/bionic/libc.so (scudo::ScopedErrorReport::~ScopedErrorReport()+32) (BuildId: 03452a4a418e14ff93948f26561eace6)
2020-12-03 09:35:35.459 8793-8793/? A/DEBUG:       #03 pc 00000000000431bc  /apex/com.android.runtime/lib64/bionic/libc.so (scudo::reportInvalidChunkState(scudo::AllocatorAction, void*)+76) (BuildId: 03452a4a418e14ff93948f26561eace6)
2020-12-03 09:35:35.459 8793-8793/? A/DEBUG:       #04 pc 00000000000445c8  /apex/com.android.runtime/lib64/bionic/libc.so (scudo::Allocator<scudo::AndroidConfig, &(scudo_malloc_postinit)>::deallocate(void*, scudo::Chunk::Origin, unsigned long, unsigned long)+336) (BuildId: 03452a4a418e14ff93948f26561eace6)
2020-12-03 09:35:35.459 8793-8793/? A/DEBUG:       #05 pc 0000000000f28410  /data/app/~~aY5uKj8Afw-Q2ziI7O3gwQ==/com.google.ar.core-bebFBw08iHEZ1zV3qkLYNw==/base.apk!libarcore_c.so (offset 0x6b2000) (BuildId: a0efc32f0b32821fdd1677dc174aaa79)
2020-12-03 09:35:35.459 8793-8793/? A/DEBUG:       #06 pc 0000000000f2769c  /data/app/~~aY5uKj8Afw-Q2ziI7O3gwQ==/com.google.ar.core-bebFBw08iHEZ1zV3qkLYNw==/base.apk!libarcore_c.so (offset 0x6b2000) (BuildId: a0efc32f0b32821fdd1677dc174aaa79)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #07 pc 0000000000f26f44  /data/app/~~aY5uKj8Afw-Q2ziI7O3gwQ==/com.google.ar.core-bebFBw08iHEZ1zV3qkLYNw==/base.apk!libarcore_c.so (offset 0x6b2000) (BuildId: a0efc32f0b32821fdd1677dc174aaa79)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #08 pc 00000000017ed25c  /data/app/~~aY5uKj8Afw-Q2ziI7O3gwQ==/com.google.ar.core-bebFBw08iHEZ1zV3qkLYNw==/base.apk!libarcore_c.so (offset 0x6b2000) (BuildId: a0efc32f0b32821fdd1677dc174aaa79)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #09 pc 00000000017d8adc  /data/app/~~aY5uKj8Afw-Q2ziI7O3gwQ==/com.google.ar.core-bebFBw08iHEZ1zV3qkLYNw==/base.apk!libarcore_c.so (offset 0x6b2000) (ArSession_update+152) (BuildId: a0efc32f0b32821fdd1677dc174aaa79)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #10 pc 000000000000de70  /data/app/~~TiNQSnL9tDOEL_adQR11qQ==/com.example.ar-BHpY8s-c2MLAkdxfGdGCug==/base.apk!libarcore_sdk_jni.so (offset 0x12bd000) (Java_com_google_ar_core_Session_nativeUpdate+48) (BuildId: 9690d502c90288819a26242a263a5461)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #11 pc 000000000013ced4  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #12 pc 00000000020e9c04  /memfd:jit-cache (deleted) (offset 0x2000000) (com.google.ar.core.Session.update+116)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #13 pc 00000000020e37ac  /memfd:jit-cache (deleted) (offset 0x2000000) (com.google.ar.sceneform.ArSceneView.onBeginFrame+204)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #14 pc 00000000020ff6f0  /memfd:jit-cache (deleted) (offset 0x2000000) (com.google.ar.sceneform.SceneView.doFrameNoRepost+128)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #15 pc 00000000020ed990  /memfd:jit-cache (deleted) (offset 0x2000000) (com.google.ar.sceneform.SceneView.doFrame+96)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #16 pc 000000000206d890  /memfd:jit-cache (deleted) (offset 0x2000000) (android.view.Choreographer$CallbackRecord.run+160)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #17 pc 00000000020130f4  /memfd:jit-cache (deleted) (offset 0x2000000) (android.view.Choreographer.doCallbacks+564)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #18 pc 00000000020484b4  /memfd:jit-cache (deleted) (offset 0x2000000) (android.view.Choreographer.doFrame+964)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #19 pc 00000000020762c4  /memfd:jit-cache (deleted) (offset 0x2000000) (android.view.Choreographer$FrameDisplayEventReceiver.run+84)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #20 pc 000000000201cb34  /memfd:jit-cache (deleted) (offset 0x2000000) (android.os.Handler.handleCallback+68)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #21 pc 000000000201d8f0  /memfd:jit-cache (deleted) (offset 0x2000000) (android.os.Handler.dispatchMessage+64)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #22 pc 000000000201e1a0  /memfd:jit-cache (deleted) (offset 0x2000000) (android.os.Looper.loop+1328)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #23 pc 000000000013387c  /apex/com.android.art/lib64/libart.so (art_quick_osr_stub+60) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #24 pc 000000000033d0e4  /apex/com.android.art/lib64/libart.so (art::jit::Jit::MaybeDoOnStackReplacement(art::Thread*, art::ArtMethod*, unsigned int, int, art::JValue*)+344) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #25 pc 0000000000689aa8  /apex/com.android.art/lib64/libart.so (MterpMaybeDoOnStackReplacement+208) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #26 pc 0000000000132350  /apex/com.android.art/lib64/libart.so (MterpHelpers+240) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #27 pc 0000000000396d00  /system/framework/framework.jar (offset 0x92b000) (android.os.Looper.loop+1084)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #28 pc 0000000000305c34  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.16249794272548105830)+268) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #29 pc 000000000030dc24  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+200) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #30 pc 000000000030f00c  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, true>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1772) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #31 pc 0000000000177f40  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<true, false>(art::interpreter::SwitchImplContext*)+57848) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #32 pc 000000000013f7d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #33 pc 00000000001a1698  /system/framework/framework.jar (android.app.ActivityThread.main)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #34 pc 0000000000305d3c  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.16249794272548105830)+532) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #35 pc 0000000000669e20  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #36 pc 000000000013cff8  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #37 pc 00000000001337e8  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #38 pc 00000000001a8a94  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+228) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #39 pc 000000000055431c  /apex/com.android.art/lib64/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1364) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #40 pc 00000000004d3b28  /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+52) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #41 pc 00000000000896f4  /apex/com.android.art/javalib/arm64/boot.oat (art_jni_trampoline+180) (BuildId: 13577ce71153c228ecf0eb73fc39f45010d487f8)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #42 pc 0000000000133564  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #43 pc 00000000001a8a78  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #44 pc 000000000031830c  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #45 pc 000000000030e638  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+996) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #46 pc 000000000067b118  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+848) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #47 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #48 pc 00000000004492d6  /system/framework/framework.jar (offset 0x125d000) (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+22)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #49 pc 0000000000305c34  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.16249794272548105830)+268) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #50 pc 0000000000669e20  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #51 pc 000000000013cff8  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #52 pc 00000000008975b8  /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+2280) (BuildId: a7dd0eff5bdbc65cfca1e16bfa63f1bc14ff1b8a)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #53 pc 00000000001337e8  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #54 pc 00000000001a8a94  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+228) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #55 pc 0000000000552d58  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+448) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #56 pc 000000000055320c  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+92) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #57 pc 000000000043811c  /apex/com.android.art/lib64/libart.so (art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+656) (BuildId: 0252adff22f4c0297f97cb35735c7649)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #58 pc 0000000000099424  /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+124) (BuildId: b79898a84f04b7398c4e478f52b7ac53)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #59 pc 00000000000a08b0  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+836) (BuildId: b79898a84f04b7398c4e478f52b7ac53)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #60 pc 0000000000003580  /system/bin/app_process64 (main+1336) (BuildId: 3254c0fd94c1b04edc39169c6c635aac)
2020-12-03 09:35:35.460 8793-8793/? A/DEBUG:       #61 pc 0000000000049418  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+108) (BuildId: 03452a4a418e14ff93948f26561eace6)
2020-12-03 09:35:36.118 908-908/? E/tombstoned: Tombstone written to: /data/tombstones/tombstone_03
2020-12-03 09:35:36.304 1182-2670/? E/Surface: queueBuffer: error queuing buffer to SurfaceTexture, -32
2020-12-03 09:35:36.309 1182-2670/? E/Camera3-OutputStream: returnBufferCheckedLocked: Stream 0: Error queueing buffer to native window: Broken pipe (-32)
2020-12-03 09:35:36.309 1182-1367/? E/Camera3-OutputStream: getBufferLockedCommon: Stream 1: Can't dequeue next output buffer: Broken pipe (-32)
2020-12-03 09:35:36.310 1182-1367/? E/Surface: queueBuffer: error queuing buffer to SurfaceTexture, -32
2020-12-03 09:35:36.310 1182-1367/? E/Camera3-OutputStream: returnBufferCheckedLocked: Stream 0: Error queueing buffer to native window: Broken pipe (-32)
2020-12-03 09:35:36.310 1182-1367/? E/Surface: queueBuffer: error queuing buffer to SurfaceTexture, -32
2020-12-03 09:35:36.311 1182-1367/? E/Surface: queueBuffer: error queuing buffer to SurfaceTexture, -32
2020-12-03 09:35:36.311 1182-1367/? E/Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
2020-12-03 09:35:36.313 934-1299/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:570 SubmitCommand() IMX363: Failed submitting OIS communicator packet.
2020-12-03 09:35:36.313 934-1299/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:648 UpdateShiftBuffer() IMX363: Failed getting OIS shift from kernel.
2020-12-03 09:35:36.313 934-1299/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:570 SubmitCommand() IMX363: Failed submitting OIS communicator packet.
2020-12-03 09:35:36.313 934-1299/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:648 UpdateShiftBuffer() IMX363: Failed getting OIS shift from kernel.
2020-12-03 09:35:36.313 934-1299/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:570 SubmitCommand() IMX363: Failed submitting OIS communicator packet.
2020-12-03 09:35:36.313 934-1299/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:648 UpdateShiftBuffer() IMX363: Failed getting OIS shift from kernel.
2020-12-03 09:35:36.313 934-1299/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:570 SubmitCommand() IMX363: Failed submitting OIS communicator packet.
2020-12-03 09:35:36.313 934-1299/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:648 UpdateShiftBuffer() IMX363: Failed getting OIS shift from kernel.
2020-12-03 09:35:36.314 934-1299/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:570 SubmitCommand() IMX363: Failed submitting OIS communicator packet.
2020-12-03 09:35:36.314 934-1299/? E/CamX: [ERROR][SENSOR ] googoiscommunicator.cpp:648 UpdateShiftBuffer() IMX363: Failed getting OIS shift from kernel.
2020-12-03 09:35:36.327 934-8735/? E/GCH_PendingRequestsTracker: TrackReturnedAcquiredBuffers: stream 0 should not have any pending acquired buffers.
2020-12-03 09:35:36.328 934-8735/? E/GCH_PendingRequestsTracker: TrackReturnedAcquiredBuffers: stream 0 should not have any pending acquired buffers.
2020-12-03 09:35:36.328 934-8735/? E/GCH_PendingRequestsTracker: TrackReturnedAcquiredBuffers: stream 1 should not have any pending acquired buffers.
2020-12-03 09:35:36.328 934-8735/? E/GCH_PendingRequestsTracker: TrackReturnedAcquiredBuffers: stream 1 should not have any pending acquired buffers.
2020-12-03 09:35:36.328 934-8735/? E/GCH_PendingRequestsTracker: TrackReturnedAcquiredBuffers: stream 1 should not have any pending acquired buffers.
2020-12-03 09:35:36.523 1182-3171/? E/CameraService: binderDied: Java client's binder died, removing it from the list of active clients
RGregat commented 3 years ago

Well, the problem is not really solved, I get now so many different issues but to be fair they are sceneform related :/

12-04 10:23:14.681 26413 26413 E AndroidRuntime: java.lang.AssertionError: Unable to create RenderableInstance.
12-04 10:23:14.681 26413 26413 E AndroidRuntime:        at com.google.ar.sceneform.rendering.RenderableInternalData.buildInstanceData(RenderableInternalData.java:228)
12-04 10:23:14.681 26413 26413 E AndroidRuntime:        at com.google.ar.sceneform.rendering.RenderableInstance.prepareForDraw(RenderableInstance.java:276)
12-04 10:23:14.681 26413 26413 E AndroidRuntime:        at com.google.ar.sceneform.rendering.Renderer.updateInstances(Renderer.java:596)
12-04 10:23:14.681 26413 26413 E AndroidRuntime:        at com.google.ar.sceneform.rendering.Renderer.render(Renderer.java:263)
12-04 10:23:14.681 26413 26413 E AndroidRuntime:        at com.google.ar.sceneform.SceneView.doRender(SceneView.java:401)
12-04 10:23:14.681 26413 26413 E AndroidRuntime:        at com.google.ar.sceneform.SceneView.doFrameNoRepost(SceneView.java:335)
12-04 10:23:14.681 26413 26413 E AndroidRuntime:        at com.google.ar.sceneform.SceneView.doFrame(SceneView.java:317)
12-04 10:23:14.681 26413 26413 E AndroidRuntime:        at android.view.Choreographer$CallbackRecord.run(Choreographer.java:970)
12-04 10:23:14.681 26413 26413 E AndroidRuntime:        at android.view.Choreographer.doCallbacks(Choreographer.java:796)
12-04 10:23:14.681 26413 26413 E AndroidRuntime:        at android.view.Choreographer.doFrame(Choreographer.java:727)
12-04 10:23:14.681 26413 26413 E AndroidRuntime:        at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:957)
12-04 10:23:14.681 26413 26413 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:938)
12-04 10:23:14.681 26413 26413 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:99)
12-04 10:23:14.681 26413 26413 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:223)
12-04 10:23:14.681 26413 26413 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:7656)
12-04 10:23:14.681 26413 26413 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
12-04 10:23:14.681 26413 26413 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
12-04 10:23:14.681 26413 26413 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

and so on and so on. Some Sceneform users here who have the same problem?

YogeshLegendkiller commented 3 years ago

have you solved it??

RGregat commented 3 years ago

Not really, but I haven't seen any fatal crashes lately anymway.