voxl-dfs-server stack smashing
-
Hey guys,
I've recently been having trouble with the voxl-dfs-server. I'm running voxl-suite 1.0 on Sentinel. I've recalibrated the stereo cameras and enabled the server, but it isn't running. When I try to run I get a "stack smashing" error. Has anyone else encountered this issue? Any recommendations to fix? Code is below, all inputs are appreciated!
▂▂▂▂▂▂▂▂▂▂▂▂▂ ▂▄▆▆██▛▀▀▀▀▀▀▀▀▜████▆▆▄▂ ███╗ ███╗ ██████╗ ██████╗ █████╗ ██╗ ▗▆████▀▔ ▔▔▀▀▀▀▚▄ ████╗ ████║██╔═══██╗██╔══██╗██╔══██╗██║ ▗▟████▀ ▗██▖ ▐█ ▝▀▆▄▄▄ ██╔████╔██║██║ ██║██║ ██║███████║██║ ▟████▀ ▗█▘▝█▖ ▐█ ▜█▀█▄ ██║╚██╔╝██║██║ ██║██║ ██║██╔══██║██║ █▌ ▐█▌ ▗█▘ ▝█▖ ▐█ ▐▄ ▄█ ██║ ╚═╝ ██║╚██████╔╝██████╔╝██║ ██║███████╗ ▀████ ▗█▘ ▝█▖ ▐█ ▂▄███▀ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝ ▀▀██▄▄ ▂▆███▀ ▀▀██▄▄ ▀▀▆▄▄▄▄▆██▀▀▀▘ -------------------------------------------------------------------------------- system-image: 1.6.2-M0054-14.1a-perf kernel: #1 SMP PREEMPT Fri May 19 22:19:33 UTC 2023 4.19.125 -------------------------------------------------------------------------------- hw version: M0054 -------------------------------------------------------------------------------- voxl-suite: -------------------------------------------------------------------------------- current IP: wlan0: 192.168.8.1 -------------------------------------------------------------------------------- voxl2:/$ voxl-inspect-services Scanning services... Service Name | Enabled | Running | CPU Usage --------------------------------------------------------------- docker-autorun | Disabled | Not Running | docker-daemon | Disabled | Not Running | modallink-relink | Disabled | Not Running | voxl-camera-server | Enabled | Running | 71.8% voxl-cpu-monitor | Enabled | Running | 0.5% voxl-dfs-server | Enabled | Not Running | voxl-imu-server | Enabled | Running | 5.3% voxl-lepton-server | Disabled | Not Running | voxl-mavcam-manager | Enabled | Running | 0.0% voxl-mavlink-server | Enabled | Running | 2.5% voxl-modem | Disabled | Not Running | voxl-portal | Enabled | Running | 0.2% voxl-px4-imu-server | Disabled | Not Running | voxl-px4 | Enabled | Running | 33.0% voxl-qvio-server | Enabled | Running | 37.6% voxl-remote-id | Disabled | Not Running | voxl-softap | Enabled | Completed | voxl-static-ip | Disabled | Not Running | voxl-streamer | Enabled | Running | 0.0% voxl-tag-detector | Enabled | Running | 18.5% voxl-tflite-server | Enabled | Running | 0.9% voxl-time-sync | Disabled | Not Running | voxl-uvc-server | Disabled | Not Running | voxl-vision-hub | Enabled | Running | 2.3% voxl-wait-for-fs | Enabled | Completed | voxl2:/$ voxl-configure-dfs-server bash: voxl-configure-dfs-server: command not found voxl2:/$ voxl-configure-dfs-server enable bash: voxl-configure-dfs-server: command not found voxl2:/$ systemctl enable voxl-dfs-server voxl2:/$ voxl2:/$ voxl-dfs-server ================================================================= min_disparity: 4 max_disparity: 64 min_threshold: 10 cost_threshold: 10 width: 640 height: 480 pc_skip_n_lines: 4 dfs pair #0 enable: 1 input_pipe: stereo_front skip_n_frames: 1 blur_size: 0 post_median_size: 0 intrinsics_file: /data/modalai/opencv_stereo_front_intrinsics.yml extrinsics_file: /data/modalai/opencv_stereo_front_extrinsics.yml dfs pair #1 enable: 1 input_pipe: stereo_rear skip_n_frames: 1 blur_size: 0 post_median_size: 0 intrinsics_file: /data/modalai/opencv_stereo_rear_intrinsics.yml extrinsics_file: /data/modalai/opencv_stereo_rear_extrinsics.yml ================================================================= loading calibration files for Pair #0, loaded these lens params: f: 476.498688 cx: 337.858215 cy: 244.905640 baseline_m: 0.080362 for Pair #1, loaded these lens params: f: 501.284851 cx: 323.020020 cy: 223.681076 baseline_m: 0.079995 initializing dfs module opening cameras paused client voxl-vision-hub0 connected to ch 2 client voxl-vision-hub0 connected to ch 5 connected to pipe stereo_front connected to pipe stereo_rear *** stack smashing detected ***: <unknown> terminated Aborted -
Hey guys,
I've recently been having trouble with the voxl-dfs-server. I'm running voxl-suite 1.0 on Sentinel. I've recalibrated the stereo cameras and enabled the server, but it isn't running. When I try to run I get a "stack smashing" error. Has anyone else encountered this issue? Any recommendations to fix? Code is below, all inputs are appreciated!
▂▂▂▂▂▂▂▂▂▂▂▂▂ ▂▄▆▆██▛▀▀▀▀▀▀▀▀▜████▆▆▄▂ ███╗ ███╗ ██████╗ ██████╗ █████╗ ██╗ ▗▆████▀▔ ▔▔▀▀▀▀▚▄ ████╗ ████║██╔═══██╗██╔══██╗██╔══██╗██║ ▗▟████▀ ▗██▖ ▐█ ▝▀▆▄▄▄ ██╔████╔██║██║ ██║██║ ██║███████║██║ ▟████▀ ▗█▘▝█▖ ▐█ ▜█▀█▄ ██║╚██╔╝██║██║ ██║██║ ██║██╔══██║██║ █▌ ▐█▌ ▗█▘ ▝█▖ ▐█ ▐▄ ▄█ ██║ ╚═╝ ██║╚██████╔╝██████╔╝██║ ██║███████╗ ▀████ ▗█▘ ▝█▖ ▐█ ▂▄███▀ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝ ▀▀██▄▄ ▂▆███▀ ▀▀██▄▄ ▀▀▆▄▄▄▄▆██▀▀▀▘ -------------------------------------------------------------------------------- system-image: 1.6.2-M0054-14.1a-perf kernel: #1 SMP PREEMPT Fri May 19 22:19:33 UTC 2023 4.19.125 -------------------------------------------------------------------------------- hw version: M0054 -------------------------------------------------------------------------------- voxl-suite: -------------------------------------------------------------------------------- current IP: wlan0: 192.168.8.1 -------------------------------------------------------------------------------- voxl2:/$ voxl-inspect-services Scanning services... Service Name | Enabled | Running | CPU Usage --------------------------------------------------------------- docker-autorun | Disabled | Not Running | docker-daemon | Disabled | Not Running | modallink-relink | Disabled | Not Running | voxl-camera-server | Enabled | Running | 71.8% voxl-cpu-monitor | Enabled | Running | 0.5% voxl-dfs-server | Enabled | Not Running | voxl-imu-server | Enabled | Running | 5.3% voxl-lepton-server | Disabled | Not Running | voxl-mavcam-manager | Enabled | Running | 0.0% voxl-mavlink-server | Enabled | Running | 2.5% voxl-modem | Disabled | Not Running | voxl-portal | Enabled | Running | 0.2% voxl-px4-imu-server | Disabled | Not Running | voxl-px4 | Enabled | Running | 33.0% voxl-qvio-server | Enabled | Running | 37.6% voxl-remote-id | Disabled | Not Running | voxl-softap | Enabled | Completed | voxl-static-ip | Disabled | Not Running | voxl-streamer | Enabled | Running | 0.0% voxl-tag-detector | Enabled | Running | 18.5% voxl-tflite-server | Enabled | Running | 0.9% voxl-time-sync | Disabled | Not Running | voxl-uvc-server | Disabled | Not Running | voxl-vision-hub | Enabled | Running | 2.3% voxl-wait-for-fs | Enabled | Completed | voxl2:/$ voxl-configure-dfs-server bash: voxl-configure-dfs-server: command not found voxl2:/$ voxl-configure-dfs-server enable bash: voxl-configure-dfs-server: command not found voxl2:/$ systemctl enable voxl-dfs-server voxl2:/$ voxl2:/$ voxl-dfs-server ================================================================= min_disparity: 4 max_disparity: 64 min_threshold: 10 cost_threshold: 10 width: 640 height: 480 pc_skip_n_lines: 4 dfs pair #0 enable: 1 input_pipe: stereo_front skip_n_frames: 1 blur_size: 0 post_median_size: 0 intrinsics_file: /data/modalai/opencv_stereo_front_intrinsics.yml extrinsics_file: /data/modalai/opencv_stereo_front_extrinsics.yml dfs pair #1 enable: 1 input_pipe: stereo_rear skip_n_frames: 1 blur_size: 0 post_median_size: 0 intrinsics_file: /data/modalai/opencv_stereo_rear_intrinsics.yml extrinsics_file: /data/modalai/opencv_stereo_rear_extrinsics.yml ================================================================= loading calibration files for Pair #0, loaded these lens params: f: 476.498688 cx: 337.858215 cy: 244.905640 baseline_m: 0.080362 for Pair #1, loaded these lens params: f: 501.284851 cx: 323.020020 cy: 223.681076 baseline_m: 0.079995 initializing dfs module opening cameras paused client voxl-vision-hub0 connected to ch 2 client voxl-vision-hub0 connected to ch 5 connected to pipe stereo_front connected to pipe stereo_rear *** stack smashing detected ***: <unknown> terminated Aborted@Taylor-Presley Please upgrade to the latest SDK, it should be resolved
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login