Snapshot crashes voxl-camera-server
-
Re: Minimal example of using camera_cb
I get an error when trying snapshot on the Sentinel, voxl-suite 0.8.1.
Input:
voxl2:/run/mpa/hires$ echo "snapshot" > control
Output:
Nov 04 16:20:41 m0054 bash[24392]: Camera: hires taking snapshot (destination: /data/snapshots/hires-0.jpg) Nov 04 16:20:41 m0054 bash[24392]: free(): invalid pointer Nov 04 16:20:41 m0054 systemd[1]: voxl-camera-server.service: Main process exited, code=killed, status=6/ABRT Nov 04 16:20:41 m0054 systemd[1]: voxl-camera-server.service: Failed with result 'signal'.
My voxl services:
voxl2:~$ voxl-inspect-services -v Service Name | Version | Enabled | Running | CPU Usage --------------------------------------------------------------------------- docker-autorun | 1.2.4 | Disabled | Not Running | docker-daemon | 1.2.4 | Disabled | Not Running | modallink-relink | 0.16.0 | Disabled | Not Running | voxl-camera-server | 1.1.0 | Enabled | Running | 61.1 voxl-cpu-monitor | 0.2.6 | Enabled | Running | 0.0 voxl-dfs-server | 0.0.5 | Enabled | Running | 0.0 voxl-imu-server | 0.2.4 | Enabled | Running | 5.6 voxl-mavlink-server | 0.1.3 | Enabled | Running | 0.0 voxl-modem | 0.16.0 | Disabled | Not Running | voxl-mpa-to-ros | 0.2.8 | Enabled | Running | 0.0 voxl-portal | 0.1.2 | Enabled | Running | 38.9 voxl-px4-imu-server | 1.4.16 | Disabled | Not Running | voxl-px4 | 0.7.1 | Enabled | Running | 0.0 voxl-qvio-server | 0.1.3 | Enabled | Running | 27.8 voxl-softap | 0.1.3 | Disabled | Not Running | voxl-static-ip | 0.3.6 | Disabled | Not Running | voxl-streamer | 0.0.4 | Enabled | Running | 0.0 voxl-tag-detector | 0.2.7 | Disabled | Not Running | voxl-tflite-server | 1.1.4 | Disabled | Not Running | voxl-time-sync | 1.2.0 | Disabled | Not Running | voxl-vision-px4 | 1.1.4 | Enabled | Running | 0.0 voxl-wait-for-fs | | Enabled | Completed |
Any advice?
cc @Alex-Gardner -
Hi @mkwan , I'm not positive if resolved but there's newer SDK available, any chance you can try to update?
voxl2_platform_0.9.tar.gz
https://developer.modalai.com/
https://docs.modalai.com/platform-releases/#installI can have someone test this out on 0.9 release next week as well.