arcore-android-sdk icon indicating copy to clipboard operation
arcore-android-sdk copied to clipboard

Crash when using DepthAPI on Note10+

Open lvonasek opened this issue 2 years ago • 2 comments

SPECIFIC ISSUE ENCOUNTERED

The app crashes way to off when calling DepthAPI on Note10+.

VERSIONS USED

  • Android Studio: 2021.1.1
  • ARCore SDK for Android: 1.29.0
  • Device manufacturer, model, and O/S: Samsung Note10+, Android 12
  • Google Play Services for AR (ARCore):1.29.0
  • Output of adb shell getprop ro.build.fingerprint: samsung/d2seea/d2s:12/SP1A.210812.016/N975FXXU7GVA5

STEPS TO REPRODUCE THE ISSUE

The crash happens randomly, usually after 30-150s of walking around and calling DepthAPI.

WORKAROUNDS (IF ANY)

-Use ARCore 1.28

ADDITIONAL COMMENTS

2022-02-23 12:31:53.676 1445-1445/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG: Build fingerprint: 'samsung/d2seea/d2s:12/SP1A.210812.016/N975FXXU7GVA5:user/release-keys'
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG: Revision: '24'
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG: ABI: 'arm64'
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG: Timestamp: 2022-02-23 12:31:53.146575906+0100
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG: Process uptime: 27s
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG: Cmdline: com.lvonasek.arcore3dscanner
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG: pid: 32666, tid: 507, name: ms_depth  >>> com.lvonasek.arcore3dscanner <<<
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG: uid: 10423
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG: Cause: null pointer dereference
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG:     x0  0000006dded640f0  x1  0000000000000000  x2  0000000000000004  x3  0000000000000010
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG:     x4  0000006dded640f4  x5  0000006e3edaa010  x6  0000000040205cc4  x7  0000000000000000
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG:     x8  0000000000000000  x9  0000006e7f008b68  x10 0000000000000000  x11 0000ffff00000eff
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG:     x12 00000000ed1e34f1  x13 0000000000000001  x14 0000000000000001  x15 0000000000000001
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG:     x16 0000006d21f977a0  x17 00000070d35a3fb0  x18 0000000000012c00  x19 0000006cdd530aa0
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG:     x20 0000006cdd530260  x21 0000006cdd5304d0  x22 0000006f0ed1bcf0  x23 0000006f0ed1bd30
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG:     x24 0000006f0ed1bd60  x25 0000000000000000  x26 0000006deee8b2b0  x27 0000006cdd532000
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG:     x28 0000006cdd530260  x29 0000006f0ed1bd28
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG:     lr  0000006d21cc1604  sp  0000006cdd52fff0  pc  0000006d21cc1614  pst 0000000080000000
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG: backtrace:
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG:       #00 pc 0000000001bf0614  /data/app/~~g8Y5aWV0Xd_AEoKXmVZzYA==/com.google.ar.core-Jo9IPf9nM_5dTvVLvsQXpA==/base.apk!libarcore_c.so (BuildId: 251be2541c7a79ead8976a4d2f589ae6)
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG:       #01 pc 0000000001c409a4  /data/app/~~g8Y5aWV0Xd_AEoKXmVZzYA==/com.google.ar.core-Jo9IPf9nM_5dTvVLvsQXpA==/base.apk!libarcore_c.so (BuildId: 251be2541c7a79ead8976a4d2f589ae6)
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG:       #02 pc 0000000001c4eca0  /data/app/~~g8Y5aWV0Xd_AEoKXmVZzYA==/com.google.ar.core-Jo9IPf9nM_5dTvVLvsQXpA==/base.apk!libarcore_c.so (BuildId: 251be2541c7a79ead8976a4d2f589ae6)
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG:       #03 pc 0000000001c4ff54  /data/app/~~g8Y5aWV0Xd_AEoKXmVZzYA==/com.google.ar.core-Jo9IPf9nM_5dTvVLvsQXpA==/base.apk!libarcore_c.so (BuildId: 251be2541c7a79ead8976a4d2f589ae6)
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG:       #04 pc 000000000108f65c  /data/app/~~g8Y5aWV0Xd_AEoKXmVZzYA==/com.google.ar.core-Jo9IPf9nM_5dTvVLvsQXpA==/base.apk!libarcore_c.so (BuildId: 251be2541c7a79ead8976a4d2f589ae6)
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG:       #05 pc 000000000109f0c0  /data/app/~~g8Y5aWV0Xd_AEoKXmVZzYA==/com.google.ar.core-Jo9IPf9nM_5dTvVLvsQXpA==/base.apk!libarcore_c.so (BuildId: 251be2541c7a79ead8976a4d2f589ae6)
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG:       #06 pc 000000000109b9e0  /data/app/~~g8Y5aWV0Xd_AEoKXmVZzYA==/com.google.ar.core-Jo9IPf9nM_5dTvVLvsQXpA==/base.apk!libarcore_c.so (BuildId: 251be2541c7a79ead8976a4d2f589ae6)
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG:       #07 pc 00000000000b4ad8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264) (BuildId: 721f9a1e738668c9f29a0ef6a2870cb9)
2022-02-23 12:31:53.676 1445-1445/? A/DEBUG:       #08 pc 0000000000052c08  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 721f9a1e738668c9f29a0ef6a2870cb9)

lvonasek avatar Feb 23 '22 13:02 lvonasek

Could you run Depth Lab app to see if reproduce the issues, Please attach the full log. thanks.

sandyfriend avatar Mar 17 '22 19:03 sandyfriend

DepthLab worked as it is compiled with an old SDK. Unfortunately I returned Note10+ device already.

lvonasek avatar Mar 17 '22 19:03 lvonasek

I am closing this as I cannot provide more information.

lvonasek avatar Oct 20 '23 05:10 lvonasek