Open ducta1092 opened 6 months ago
Hi @ducta1092. Thank you. This is consistent with the know issue listed in our release notes (4210082). We don't have an ETA for this bug fix at this stage, since it only happens on exit and is lower priority.
To circumvent the issue manually, you can force your application to not use the tegra nvv4l2 library, but use the default ubuntu package instead of v4l2. Three options are:
v4l2
libs in /etc/nvidia-container-runtime/host-files-for-container.d/drivers.csv
before running your containerLD_PRELOAD=/usr/lib/aarch64-linux-gnu/libv4l2.so.0.0.0 <your_holoscan_app>
export v4l2_lib="/usr/lib/aarch64-linux-gnu/libv4l2.so"
sudo mv ${v4l2_lib}.0 ${v4l2_lib}.0.old
sudo ln -s ${v4l2_lib}.0.0.0 ${v4l2_lib}.0
Let us know if this helps. Thank you
Many thanks, it works. But I think that should document this bug because the application may do some post actions (statistics, save video file...).
Removed the Holoscan SDK 2.6 milestone as the upstream fix in the Tegra nvv4l2 library is still pending. Please continue to use the workarounds documented above with Holoscan SDK v2.6.0.
Device: AGX Orin 64GB igpu OS: Jetpack 6.0 (setup by Nvidia SDK Manager) Holoscan: 1.0.3, 2.0.0 Input devices: USB Camera or Capture device through USB
When I run my application using v4l2_video_capture operator on AGX Orin. And send SIGINT (i.e CTRL+C) or use app->executor().interrupt(). The segmentation happens:
I try to build with ucs 1.16.0 but not success. This is not unexpected behavior, because stop steps for nodes of graph not executed, and cannot do threading to trigger holoscan application. To reproduce, the simplest example in directory
/opt/nvidia/holoscan/v4l2_camera
has same crash when CTRL+C or send SIGINT.This bug not happen on dGPU docker, I tested with nvcr.io/nvidia/clara-holoscan/holoscan:v1.0.3-dgpu