<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Snapshot crashes voxl-camera-server]]></title><description><![CDATA[<ul>
<li>What hardware are you using? MDK-M0204-1-02 (VOXL 2 Mini) + M0161 (IMX412 4K camera)</li>
<li>What version of software are you using? (SDK 1.6.3 with all packages updated today) <code>voxl-camera-server             2.2.23</code></li>
<li>How have you configured the software? What is the output of voxl-inspect-services -&gt; not relevant I think, I can provide this on request</li>
<li>Do you have any logs? See below</li>
<li>Can you share pictures of your setup? no</li>
<li>Have you looked at the source code? If so, can you point to any potential issues? see below</li>
</ul>
<p dir="auto"><code>voxl-send-command hires_snapshot snapshot</code> causes <code>voxl-camera-server</code> to crash.<br />
<code>journalctl -b -u voxl-camera-server --no-pager --follow</code> shows the server crashes with a segfault:</p>
<pre><code>Apr 15 13:38:12 m0104 voxl-camera-server[6083]: ------ voxl-camera-server: Started 1 of 1 cameras
Apr 15 13:38:12 m0104 voxl-camera-server[6083]: ------ voxl-camera-server: Camera server is now running
Apr 15 13:38:24 m0104 voxl-camera-server[6083]: Camera: hires taking snapshot (destination: /data/snapshots/hires-2026-04-15_13:38:24.703.jpg)
Apr 15 13:38:25 m0104 voxl-camera-server[6083]: ERROR:   bufferGetBufferInfo wan't able to successfully find the requested buffer
Apr 15 13:38:25 m0104 voxl-camera-server[6083]: Segmentation fault:   
Apr 15 13:38:25 m0104 voxl-camera-server[6083]: Fault thread: cam0-result(tid: 6161)
Apr 15 13:38:25 m0104 systemd[1]: voxl-camera-server.service: Main process exited, code=killed, status=11/SEGV   
Apr 15 13:38:25 m0104 systemd[1]: voxl-camera-server.service: Failed with result 'signal'.                                                                                                     
Apr 15 13:38:27 m0104 systemd[1]: voxl-camera-server.service: Service hold-off time over, scheduling restart.
Apr 15 13:38:27 m0104 systemd[1]: voxl-camera-server.service: Scheduled restart job, restart counter is at 1.
Apr 15 13:38:27 m0104 systemd[1]: Stopped voxl-camera-server.           
</code></pre>
<p dir="auto">Output when running <code>voxl-camera-server -d 0</code> (verbose log):</p>
<pre><code>...
VERBOSE: Received metadata for frame 45 from camera hires
VERBOSE:        Timestamp: 5666431218886
VERBOSE:        Gain: 104
VERBOSE:        Exposure: 4488219
VERBOSE:        Readout Time: 16328284
VERBOSE: Find 1 buffer in result ring for frame 45
VERBOSE: Received result from HAl3 for frame number 44
VERBOSE: Received 1 buffers from camera hires, partial result:0
VERBOSE: Received output buffer 44 from camera hires
VERBOSE: hires procesing new buffer
VERBOSE: Camera: hires processing small vid frame
VERBOSE: hires procesing new buffer
VERBOSE: Camera: hires processing snapshot frame
ERROR:   bufferGetBufferInfo wan't able to successfully find the requested buffer

Segmentation fault:
Fault thread: cam0-result(tid: 6554)
Segmentation fault
</code></pre>
<p dir="auto"><a href="https://gitlab.com/voxl-public/voxl-sdk/services/voxl-camera-server/-/blob/4909f89ce65ef5dee3181193487bbde42052a1bb/src/hal3_camera_mgr.cpp#L3124" rel="nofollow ugc">https://gitlab.com/voxl-public/voxl-sdk/services/voxl-camera-server/-/blob/4909f89ce65ef5dee3181193487bbde42052a1bb/src/hal3_camera_mgr.cpp#L3124</a> is likely the call that crashes.<br />
When searching for references for <code>snap_bufferGroup</code> I find no use of this variable.<br />
Maybe the snapshot functionality was overlooked when converting to the <code>mpa_ion_buf_*</code> API?</p>
]]></description><link>https://forum.modalai.com/topic/5166/snapshot-crashes-voxl-camera-server</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 19:17:04 GMT</lastBuildDate><atom:link href="https://forum.modalai.com/topic/5166.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 15 Apr 2026 13:47:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Snapshot crashes voxl-camera-server on Thu, 16 Apr 2026 17:39:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.modalai.com/uid/3650">@rddrone</a> , thanks for the information. I will look into this. I have not heard of this issue before, so maybe something new, but i will test it out today.</p>
<p dir="auto">Alex</p>
]]></description><link>https://forum.modalai.com/post/25764</link><guid isPermaLink="true">https://forum.modalai.com/post/25764</guid><dc:creator><![CDATA[Alex Kushleyev]]></dc:creator><pubDate>Thu, 16 Apr 2026 17:39:39 GMT</pubDate></item><item><title><![CDATA[Reply to Snapshot crashes voxl-camera-server on Thu, 16 Apr 2026 07:00:47 GMT]]></title><description><![CDATA[<p dir="auto"><code>/etc/modalai/voxl-camera-server.conf</code>:</p>
<pre><code>{
  "version": 0.1,
  "fsync_en": true,
  "fsync_gpio": 109,
  "cameras": [
    {
      "type": "imx412",
      "name": "hires",
      "enabled": true,
      "camera_id": 0,
      "fps": 15,
      "en_rotate": false,
      "en_preview": false,
      "preview_width": 1024,
      "preview_height": 768,
      "en_raw_preview": false,
      "en_small_video": true,
      "small_video_width": 1024,
      "small_video_height": 768,
      "small_venc_mode": "h264",
      "small_venc_br_ctrl": "cqp",
      "small_venc_Qfixed": 30,
      "small_venc_Qmin": 15,
      "small_venc_Qmax": 40,
      "small_venc_nPframes": 9,
      "small_venc_mbps": 2,
      "en_large_video": true,
      "large_video_width": 4056,
      "large_video_height": 3040,
      "large_venc_mode": "h264",
      "large_venc_br_ctrl": "cqp",
      "large_venc_Qfixed": 30,
      "large_venc_Qmin": 15,
      "large_venc_Qmax": 50,
      "large_venc_nPframes": 29,
      "large_venc_mbps": 40,
      "en_snapshot": true,
      "en_snapshot_width": 4056,
      "en_snapshot_height": 3040,
      "exif_focal_length": 3.1,
      "exif_focal_length_in_35mm_format": 17,
      "exif_fnumber": 1.24,
      "snapshot_jpeg_quality": 75,
      "ae_mode": "isp",
      "gain_min": 54,
      "gain_max": 8000
    }
  ]
}
</code></pre>
]]></description><link>https://forum.modalai.com/post/25762</link><guid isPermaLink="true">https://forum.modalai.com/post/25762</guid><dc:creator><![CDATA[rddrone]]></dc:creator><pubDate>Thu, 16 Apr 2026 07:00:47 GMT</pubDate></item><item><title><![CDATA[Reply to Snapshot crashes voxl-camera-server on Wed, 15 Apr 2026 15:17:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.modalai.com/uid/3650">@rddrone</a> , can you please provide your <code>voxl-camera-server.conf</code> to help us debug / reproduce?</p>
<p dir="auto">Alex</p>
]]></description><link>https://forum.modalai.com/post/25752</link><guid isPermaLink="true">https://forum.modalai.com/post/25752</guid><dc:creator><![CDATA[Alex Kushleyev]]></dc:creator><pubDate>Wed, 15 Apr 2026 15:17:04 GMT</pubDate></item></channel></rss>