Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. voxl-dfs-server stack smashing

voxl-dfs-server stack smashing

Scheduled Pinned Locked Moved Ask your questions right here!
2 Posts 2 Posters 628 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Taylor PresleyT Offline
    Taylor PresleyT Offline
    Taylor Presley
    Contributor
    wrote on last edited by
    #1

    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
    
    
    ModeratorM 1 Reply Last reply
    0
    • Taylor PresleyT Taylor Presley

      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
      
      
      ModeratorM Offline
      ModeratorM Offline
      Moderator
      ModalAI Team
      wrote on last edited by
      #2

      @Taylor-Presley Please upgrade to the latest SDK, it should be resolved

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      ModalAI
      Categories Recent Tags ModalAI.com Docs
      © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups