|
所有例子都报了下面的错误,然后app闪退。 我用的是firefly的3399Pro。RockX_SDK用的是Rock-X AI组件库1.0.0 SDK。
是版本不兼容吗? 如何下载到兼容版本的Rock-X SDK。
2019-07-27 22:54:24.783 7385-7385/? I/zygote64: Late-enabling -Xcheck:jni
2019-07-27 22:54:24.955 7385-7385/com.rockchip.gpadc.rockx.carplate W/ActivityThread: Application com.rockchip.gpadc.rockx.carplate is waiting for the debugger on port 8100...
2019-07-27 22:54:24.957 7385-7385/com.rockchip.gpadc.rockx.carplate I/System.out: Sending WAIT chunk
2019-07-27 22:54:29.232 7385-7392/com.rockchip.gpadc.rockx.carplate I/zygote64: Debugger is active
2019-07-27 22:54:29.510 7385-7385/com.rockchip.gpadc.rockx.carplate I/System.out: Debugger has connected
2019-07-27 22:54:29.511 7385-7385/com.rockchip.gpadc.rockx.carplate I/System.out: waiting for debugger to settle...
2019-07-27 22:54:29.712 7385-7385/com.rockchip.gpadc.rockx.carplate I/System.out: waiting for debugger to settle...
2019-07-27 22:54:29.914 7385-7385/com.rockchip.gpadc.rockx.carplate I/System.out: waiting for debugger to settle...
2019-07-27 22:54:30.518 7385-7385/com.rockchip.gpadc.rockx.carplate I/chatty: uid=10067(com.rockchip.gpadc.rockx.carplate) identical 3 lines
2019-07-27 22:54:30.720 7385-7385/com.rockchip.gpadc.rockx.carplate I/System.out: waiting for debugger to settle...
2019-07-27 22:54:30.922 7385-7385/com.rockchip.gpadc.rockx.carplate I/System.out: debugger has settled (1395)
2019-07-27 22:54:31.151 7385-7385/com.rockchip.gpadc.rockx.carplate I/InstantRun: starting instant run server: is main process
2019-07-27 22:54:31.268 7385-7392/com.rockchip.gpadc.rockx.carplate I/zygote64: NOTE: SuspendByPolicy not suspending JDWP thread
2019-07-27 22:54:31.428 7385-7385/com.rockchip.gpadc.rockx.carplate W/zygote64: Verification of void com.rockchip.gpadc.demo.MainActivity.<init>() took 201.841ms
2019-07-27 22:54:33.298 7385-7385/com.rockchip.gpadc.rockx.carplate W/.rockx.carplate: type=1400 audit(0.0:783): avc: denied { read write } for name="rga" dev="tmpfs" ino=10254 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:rga_device:s0 tclass=chr_f
2019-07-27 22:54:33.298 7385-7385/com.rockchip.gpadc.rockx.carplate W/.rockx.carplate: type=1400 audit(0.0:784): avc: denied { open } for path="/dev/rga" dev="tmpfs" ino=10254 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:rga_device:s0 tclass=chr_f
2019-07-27 22:54:33.319 7385-7385/com.rockchip.gpadc.rockx.carplate D/rockx-app: onResume
2019-07-27 22:54:33.352 7385-7443/com.rockchip.gpadc.rockx.carplate D/OpenGLRenderer: HWUI GL Pipeline
2019-07-27 22:54:33.435 7385-7443/com.rockchip.gpadc.rockx.carplate I/mali_so: [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 876; [Func] : base_context_deal_with_version_affairs_rk_ext;
arm_release_ver of this mali_so is 'r18p0-01rel0', rk_so_ver is '8@0'.
2019-07-27 22:54:33.435 7385-7443/com.rockchip.gpadc.rockx.carplate D/mali_so: [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 881; [Func] : base_context_deal_with_version_affairs_rk_ext;
current process is NOT sf, to bail out.
2019-07-27 22:54:33.848 7385-7385/com.rockchip.gpadc.rockx.carplate D/rockx-app: surfaceCreated
2019-07-27 22:54:33.922 7385-7385/com.rockchip.gpadc.rockx.carplate D/rockx-app: mCameraId = 0
2019-07-27 22:54:34.286 7385-7385/com.rockchip.gpadc.rockx.carplate E/Camera-JNI: Unexpected camera orientation 6!
2019-07-27 22:54:34.286 7385-7385/com.rockchip.gpadc.rockx.carplate D/rockx-app: mCamera0 = android.hardware.Camera@e74ad66
2019-07-27 22:54:34.289 7385-7443/com.rockchip.gpadc.rockx.carplate I/com.rockchip.gpadc.rockx.carplate: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
2019-07-27 22:54:34.289 7385-7443/com.rockchip.gpadc.rockx.carplate I/OpenGLRenderer: Initialized EGL, version 1.4
2019-07-27 22:54:34.290 7385-7443/com.rockchip.gpadc.rockx.carplate D/OpenGLRenderer: Swap behavior 2
2019-07-27 22:54:34.296 7385-7443/com.rockchip.gpadc.rockx.carplate D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
2019-07-27 22:54:34.301 7385-7385/com.rockchip.gpadc.rockx.carplate V/rockx-app: Camera Supported Preview Size = 640x480
2019-07-27 22:54:34.301 7385-7385/com.rockchip.gpadc.rockx.carplate V/rockx-app: Camera Supported Preview Size = 1280x720
2019-07-27 22:54:34.301 7385-7385/com.rockchip.gpadc.rockx.carplate V/rockx-app: Camera Supported Preview Size = 320x240
2019-07-27 22:54:34.302 7385-7385/com.rockchip.gpadc.rockx.carplate V/rockx-app: Camera Supported Preview Size = 800x600
2019-07-27 22:54:34.327 7385-7385/com.rockchip.gpadc.rockx.carplate D/rockx-app: surfaceChanged
2019-07-27 22:54:34.329 7385-7385/com.rockchip.gpadc.rockx.carplate I/Choreographer: Skipped 56 frames! The application may be doing too much work on its main thread.
2019-07-27 22:54:34.386 7385-7443/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: Got handle 1 for fd 70
2019-07-27 22:54:34.386 7385-7443/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave, w : 1920, h : 1017, format : 0x1,internal_format : 0x1, usage : 0xb00. size=7810560,pixel_stride=1920,byte_stride=7680
2019-07-27 22:54:34.386 7385-7443/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave: prime_fd=70,share_attr_fd=71
2019-07-27 22:54:34.513 7385-7443/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: Got handle 2 for fd 75
2019-07-27 22:54:34.514 7385-7443/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave, w : 1920, h : 1017, format : 0x1,internal_format : 0x1, usage : 0xb00. size=7810560,pixel_stride=1920,byte_stride=7680
2019-07-27 22:54:34.514 7385-7443/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave: prime_fd=75,share_attr_fd=76
2019-07-27 22:54:35.243 7385-7398/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: for nv12, w : 640, h : 480, pixel_stride : 640, byte_stride : 640, size : 614400; internalHeight : 480.
2019-07-27 22:54:35.243 7385-7398/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: Got handle 3 for fd 68
2019-07-27 22:54:35.243 7385-7398/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave, w : 640, h : 480, format : 0x15,internal_format : 0x15, usage : 0x333. size=614400,pixel_stride=640,byte_stride=640
2019-07-27 22:54:35.243 7385-7398/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave: prime_fd=68,share_attr_fd=69
2019-07-27 22:54:35.249 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: for nv12, w : 640, h : 480, pixel_stride : 640, byte_stride : 640, size : 614400; internalHeight : 480.
2019-07-27 22:54:35.249 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: Got handle 4 for fd 78
2019-07-27 22:54:35.249 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave, w : 640, h : 480, format : 0x15,internal_format : 0x15, usage : 0x333. size=614400,pixel_stride=640,byte_stride=640
2019-07-27 22:54:35.250 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave: prime_fd=78,share_attr_fd=79
2019-07-27 22:54:35.255 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: for nv12, w : 640, h : 480, pixel_stride : 640, byte_stride : 640, size : 614400; internalHeight : 480.
2019-07-27 22:54:35.255 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: Got handle 5 for fd 81
2019-07-27 22:54:35.255 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave, w : 640, h : 480, format : 0x15,internal_format : 0x15, usage : 0x333. size=614400,pixel_stride=640,byte_stride=640
2019-07-27 22:54:35.255 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave: prime_fd=81,share_attr_fd=82
2019-07-27 22:54:35.261 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: for nv12, w : 640, h : 480, pixel_stride : 640, byte_stride : 640, size : 614400; internalHeight : 480.
2019-07-27 22:54:35.262 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: Got handle 6 for fd 84
2019-07-27 22:54:35.262 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave, w : 640, h : 480, format : 0x15,internal_format : 0x15, usage : 0x333. size=614400,pixel_stride=640,byte_stride=640
2019-07-27 22:54:35.262 7385-7444/com.rockchip.gpadc.rockx.carplate I/[Gralloc]: leave: prime_fd=84,share_attr_fd=85
2019-07-27 22:54:35.638 7385-7385/com.rockchip.gpadc.rockx.carplate W/.rockx.carplate: type=1400 audit(0.0:785): avc: denied { ioctl } for path="/dev/rga" dev="tmpfs" ino=10254 ioctlcmd=5017 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:rga_device:s0 tclass=chr_f
2019-07-27 22:54:38.668 7385-7385/com.rockchip.gpadc.rockx.carplate W/Thread-4: type=1400 audit(0.0:786): avc: denied { read } for name="nvmem" dev="sysfs" ino=8478 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:sysfs_armnn:s0 tclass=f
2019-07-27 22:54:38.668 7385-7385/com.rockchip.gpadc.rockx.carplate W/Thread-4: type=1400 audit(0.0:787): avc: denied { open } for path="/sys/devices/platform/ff690000.efuse/rockchip-efuse0/nvmem" dev="sysfs" ino=8478 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:sysfs_armnn:s0 tclass=f
2019-07-27 22:54:38.668 7385-7385/com.rockchip.gpadc.rockx.carplate W/Thread-4: type=1400 audit(0.0:788): avc: denied { getattr } for path="/sys/devices/platform/ff690000.efuse/rockchip-efuse0/nvmem" dev="sysfs" ino=8478 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:sysfs_armnn:s0 tclass=f
2019-07-27 22:54:38.668 7385-7385/com.rockchip.gpadc.rockx.carplate W/Thread-4: type=1400 audit(0.0:789): avc: denied { read } for name="compatible" dev="sysfs" ino=76 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:sysfs:s0 tclass=f
2019-07-27 22:54:39.891 7385-7468/com.rockchip.gpadc.rockx.carplate E/RKNNAPI: rknn_init, msg_load_ack fail, ack = 1, expect 0!
2019-07-27 22:54:39.892 7385-7468/com.rockchip.gpadc.rockx.carplate E/rockx: rknn_init fail! ret=-6
2019-07-27 22:54:39.893 7385-7468/com.rockchip.gpadc.rockx.carplate E/rockx: init module(10) error -1
2019-07-27 22:54:39.975 7385-7385/com.rockchip.gpadc.rockx.carplate W/Thread-4: type=1400 audit(0.0:799): avc: denied { read } for name="compatible" dev="sysfs" ino=76 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:sysfs:s0 tclass=f
2019-07-27 22:54:39.975 7385-7385/com.rockchip.gpadc.rockx.carplate W/Thread-4: type=1400 audit(0.0:800): avc: denied { open } for path="/sys/firmware/devicetree/base/compatible" dev="sysfs" ino=76 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:sysfs:s0 tclass=f
2019-07-27 22:54:39.975 7385-7385/com.rockchip.gpadc.rockx.carplate W/Thread-4: type=1400 audit(0.0:801): avc: denied { getattr } for path="/sys/firmware/devicetree/base/compatible" dev="sysfs" ino=76 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:sysfs:s0 tclass=f
2019-07-27 22:54:40.062 7385-7468/com.rockchip.gpadc.rockx.carplate E/RKNNAPI: rknn_init, msg_load_ack fail, ack = 1, expect 0!
2019-07-27 22:54:40.063 7385-7468/com.rockchip.gpadc.rockx.carplate E/rockx: rknn_init fail! ret=-6
2019-07-27 22:54:40.066 7385-7468/com.rockchip.gpadc.rockx.carplate E/rockx: init module(11) error -1
2019-07-27 22:54:40.241 7385-7468/com.rockchip.gpadc.rockx.carplate E/RKNNAPI: rknn_init, msg_load_ack fail, ack = 1, expect 0!
2019-07-27 22:54:40.242 7385-7468/com.rockchip.gpadc.rockx.carplate E/rockx: rknn_init fail! ret=-6
2019-07-27 22:54:40.242 7385-7468/com.rockchip.gpadc.rockx.carplate E/rockx: init module(12) error -1
2019-07-27 22:54:41.792 7385-7385/com.rockchip.gpadc.rockx.carplate W/.rockx.carplate: type=1400 audit(0.0:802): avc: denied { ioctl } for path="/dev/rga" dev="tmpfs" ino=10254 ioctlcmd=5017 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:rga_device:s0 tclass=chr_f
2019-07-27 23:03:30.605 7385-7468/com.rockchip.gpadc.rockx.carplate A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 7468 (Thread-4), pid 7385 (.rockx.carplate)
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|