Got a native crash when android app closing


I develop an android app based on “nuitrack_gl_sample” and using an Orbbec Astra Pro camera.
When exiting the nuitrack function, the app always crash and get a crash report as follows:

476-705/system_process I/InputReader: Device added: id=14, name=‘Astra Pro HD Camera’, sources=0x00002103
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x81a586a8 in tid 20477 (Thread-7)
I/sh: type=1400 audit(0.0:456): avc: denied { getattr } for path="/vendor" dev=“rootfs” ino=8545 scontext=u:r:lcdparamservice:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=1
A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
A/DEBUG: Build fingerprint: ‘Android/rk3399_mid/rk3399_mid:7.1.2/NHG47K/server12140901:userdebug/test-keys’
A/DEBUG: Revision: ‘0’
A/DEBUG: ABI: ‘arm’
A/DEBUG: pid: 20443, tid: 20477, name: Thread-7 >>> com.sample.nuitest <<<
A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x81a586a8
A/DEBUG: r0 81a581a4 r1 00000000 r2 00000001 r3 ca621ac9
A/DEBUG: r4 dae55480 r5 caa1a520 r6 e0d6a000 r7 caa1a520
A/DEBUG: r8 ca61fce5 r9 e70e8420 sl 00000041 fp 00001000
A/DEBUG: ip e70e1860 sp c7edb7a0 lr ca621a3f pc ca633640 cpsr a00f0010
A/DEBUG: backtrace:
A/DEBUG: #00 pc 0045c640 /data/app/com.tdv.nuitrack.sdk-1/lib/arm/

Best regards,

Hi cybing,

Sorry for a late reply.

Please advise:

  1. What tool do you use to build the app?
  2. What Android device do you use?
  3. What version of Android do you use?