Open jjmmouss opened 5 years ago
@jjmmouss what is your NDK version and have you ever tried to build the other two samples? This error is probably caused by improper version of the NDK, please try to build it with android-ndk-r16b.
The build was successful, but it goes down as soon as it starts up.
"There was a problem, exiting Algoapp." Message appears.
07-25 04:14:55.445 2763-3272/? E/TinyAlsaStream: getFramesAvailable: Unable to get available frames 07-25 04:14:55.445 2763-3272/? E/TinyAlsaStream: getFramesAvailable: Unable to get available frames 07-25 04:14:55.446 2763-3272/? E/TinyAlsaStream: getFramesAvailable: Unable to get available frames 07-25 04:14:56.437 18510-18510/? E/art: setrlimit(RLIMIT_CORE) failed for pid 18510: Operation not permitted 07-25 04:15:00.166 2763-18549/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:00.217 2763-3272/? E/TinyAlsaStream: getFramesAvailable: Unable to get available frames 07-25 04:15:00.217 2763-3272/? E/TinyAlsaStream: getFramesAvailable: Unable to get available frames 07-25 04:15:00.218 2763-3272/? E/TinyAlsaStream: getFramesAvailable: Unable to get available frames 07-25 04:15:01.685 2763-18571/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:01.686 2763-18572/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:01.689 2763-18573/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:01.691 2763-18574/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:01.691 2763-18575/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:01.693 2763-18576/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:01.696 2763-18577/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:01.701 2763-18579/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:01.944 2763-3277/? E/CameraDeviceClient: beginConfigure: Not implemented yet. 07-25 04:15:05.139 3667-3667/? E/vision_jni: close sensor error: null pointer passed for argument "sensor" 07-25 04:15:05.139 3667-3667/? E/vision_jni: close left depthcamera error 07-25 04:15:05.139 3667-3667/? E/vision_jni: close extDepthcamera failed with code -1 07-25 04:15:05.139 3667-3667/? E/ExtDepthCameraManager: close depth failed. 07-25 04:15:05.140 3667-3667/? E/vision_jni: extDepthCamera is already opened! 07-25 04:15:05.174 2763-18608/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:05.175 2763-18610/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:05.176 2763-18611/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:05.178 2763-18612/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:05.179 2763-18613/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:05.179 2763-18614/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:05.184 2763-18615/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:05.188 2763-18617/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:05.193 2763-18618/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:05.194 2763-18620/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:05.197 2763-18619/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:05.199 2763-18621/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:05.368 2763-8349/? E/PVL: E] Error: sqlite3_open_v2(RW) 07-25 04:15:05.371 2763-8349/? E/CameraMetadataHelper: Bad type 0 for tag (null).(null)! Should be 1 07-25 04:15:05.372 2763-8349/? E/PlatformData: ERROR in opening file /sys/spid/vendor_id 07-25 04:15:05.372 2763-8349/? E/PlatformData: vendor_id could not be read from sysfs 07-25 04:15:05.378 2763-18634/? E/V4L2_Camera: usb_wdog_thread mutex ret 16 07-25 04:15:05.385 2763-3763/? E/CameraDeviceClient: beginConfigure: Not implemented yet. 07-25 04:15:05.573 2763-18623/? E/Camera_AAAEngine: Error handling new stats 07-25 04:15:05.615 2763-18623/? E/Camera_AAAEngine: Error handling new stats
--------- beginning of crash
07-25 04:15:05.623 18510-18607/com.segway.robot.algo.algo_app A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x10 in tid 18607 (Thread-190) 07-25 04:15:06.020 2763-18635/? E/Surface: queueBuffer: error queuing buffer to SurfaceTexture, -32 07-25 04:15:06.020 2763-18635/? E/Camera3-OutputStream: returnBufferCheckedLocked: Stream 0: Error queueing buffer to native window: Broken pipe (-32) 07-25 04:15:06.020 2763-18635/? E/Camera3-Device: Can't return buffer to its stream: Broken pipe (-32) 07-25 04:15:06.020 2763-18635/? E/Surface: queueBuffer: error queuing buffer to SurfaceTexture, -32 07-25 04:15:06.020 2763-18635/? E/Camera3-OutputStream: returnBufferCheckedLocked: Stream 0: Error queueing buffer to native window: Broken pipe (-32) 07-25 04:15:06.020 2763-18635/? E/Camera3-Device: Can't return buffer to its stream: Broken pipe (-32) 07-25 04:15:06.020 2763-18635/? E/Surface: queueBuffer: error queuing buffer to SurfaceTexture, -32 07-25 04:15:06.020 2763-18635/? E/Camera3-OutputStream: returnBufferCheckedLocked: Stream 0: Error queueing buffer to native window: Broken pipe (-32) 07-25 04:15:06.020 2763-18635/? E/Camera3-Device: Can't return buffer to its stream: Broken pipe (-32) 07-25 04:15:06.021 2763-18635/? E/Surface: queueBuffer: error queuing buffer to SurfaceTexture, -32 07-25 04:15:06.021 2763-18635/? E/Camera3-OutputStream: returnBufferCheckedLocked: Stream 0: Error queueing buffer to native window: Broken pipe (-32) 07-25 04:15:06.021 2763-18635/? E/Camera3-Device: Can't return buffer to its stream: Broken pipe (-32) 07-25 04:15:06.024 2763-18637/? E/Camera2ClientBase: Error condition 3 reported by HAL, requestId 0 07-25 04:15:06.028 2779-2779/? E/CRASHLOG: CRASH d9e798100334cfa75269 2020-07-25/04:15:06 JAVA_TOMBSTONE /data/logs/crashlog7_d9e798100334cfa75269 07-25 04:15:06.063 3667-3667/? E/vision_jni: close sensor error: null pointer passed for argument "sensor" 07-25 04:15:06.063 3667-3667/? E/vision_jni: close left depthcamera error 07-25 04:15:06.063 3667-3667/? E/vision_jni: close extDepthcamera failed with code -1 07-25 04:15:06.063 3667-3667/? E/ExtDepthCameraManager: close depth failed. 07-25 04:15:06.256 2763-3279/? E/Camera_IPU2HwIsp: No lens actuator available 07-25 04:15:09.342 3131-3291/? E/WifiStateMachine: WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=2.72 rxSuccessRate=30.32 targetRoamBSSID=00:00:00:00:00:00 RSSI=-52 07-25 04:15:09.342 3131-3291/? E/WifiStateMachine: WifiStateMachine starting scan for "IMAGELAB"WPA_PSK with 2437,5180
When I start tensorflow app, it crashes Please tell me the solution
Hello
I am using Android Studio 3.1.4 with Android SDK tools 26.1.1 and Android platform version API 28 revision 6
After following the instruction of the readme, I tried to build the app_tensorflow_sample and I got the following error :
After some googeling, I modified the Cmakelist. I suppressed the warning with
-Wno-expansion-to-defined
which solved the error but a new one displayed :