我在尝试通过SurfaceView使用相机时遇到了崩溃。崩溃报告飞过logcat,只能通过选择“No filters”来查看。我只在奥利奥(8.1)面对它。
Build fingerprint: 'google/bullhead/bullhead:8.1.0/OPM3.171019.014/4503998:user/release-keys'
Revision: 'rev_1.0'
ABI: 'arm'
pid: 26381, tid: 26381, name: application-name >>> package-name <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'Could not write wake signal to fd 48: Bad file descriptor'
r0 00000000 r1 0000670d r2 00000006 r3 00000008
r4 0000670d r5 0000670d r6 ffc192cc r7 0000010c
r8 00000000 r9 e50da000 sl 12ec0800 fp 00000000
ip 12ef0ea8 sp ffc192b8 lr e57018b1 pc e56fb39a cpsr 200b0030
backtrace:
#00 pc 0001a39a /system/lib/libc.so (abort+63)
#01 pc 0000655d /system/lib/liblog.so (__android_log_assert+156)
#02 pc 0000fe29 /system/lib/libutils.so (android::Looper::wake()+108)
#03 pc 005cfd97 /system/framework/arm/boot-framework.oat (offset 0x5cf000) (android.os.Binder.restoreCallingIdentity [DEDUPED]+102)
#04 pc 000245c9 /dev/ashmem/dalvik-jit-code-cache (deleted)