Deepstream-image-meta-test Segmentation fault (core dumped)

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) dGPU, NVIDIA GeForce RTX 4090
• DeepStream Version Docker container nvcr.io/nvidia/deepstream:7.1-gc-triton-devel
• JetPack Version (valid for Jetson only)
• TensorRT Version (the default version in docker)
• NVIDIA GPU Driver Version (valid for GPU only) 560.70
• Issue Type( questions, new requirements, bugs) Questions, bugs
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)

On Windows 11 with WSL2, the Ubuntu-22.04 distro:

docker pull nvcr.io/nvidia/deepstream:7.1-gc-triton-devel
xhost +
docker run --gpus all -it --rm --net=host --privileged -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream-7.1 nvcr.io/nvidia/deepstream:7.1-gc-triton-devel
cd sources/apps/sample_apps/deepstream-image-meta-test/
export CUDA_VER=12.6
make
./deepstream-image-meta-test 0 file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.mp4

The result: a black screen window and the following output:

Running…
Failed to query video capabilities: Inappropriate ioctl for device
Segmentation fault (core dumped)

Removing gstreamer cache or executing the user_additional_install.sh script did not help.
Also used gdb:

gdb --args deepstream-
image-meta-test 0 file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.mp4
r
bt

Output:

Thread 86 “pool-deepstream” received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffe4aec2000 (LWP 4276)]
0x00007fffc8502a08 in ?? () from /lib/x86_64-linux-gnu/libjpeg.so
(gdb) bt
#0 0x00007fffc8502a08 in () at /lib/x86_64-linux-gnu/libjpeg.so
#1 0x0000000000000780 in ()
#2 0x00007ffe4aeb9890 in ()
#3 0x00007ffe34002a20 in ()
#4 0x00007ffe34002a40 in ()
#5 0x00007ffe34002a60 in ()
#6 0x0000000000000001 in ()
#7 0x00007ffe340029a0 in ()
#8 0x00007ffe4aeb9890 in ()
#9 0x000055555647b700 in ()
#10 0x00007fffc84c4da0 in jpeg_make_c_derived_tbl () at /lib/x86_64-linux-gnu/libjpeg.so
#11 0x0000000000000000 in ()

The issue is reproducible with the deepstream-transfer-learning-app, as well as in the 7.0 version of the same container.

Could you help me with getting this app work? I need it in order to get my custom app working.

• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

This is a bug, I can reproduce it. DeepStream on WSL is an alpha release, there are a lot of bugs. Can you install native Ubuntu? Native Ubuntu works fine.

1 Like

like

Veniamin Voitolovskyi reacted to your message:

Thank you for your quick reply!
I can’t install native Ubuntu right now, but I do have a Jetson accessible. Using docker DeepStream 6.3, I’ve managed to run the deepstream-image-meta-test app.

DeepStream support for WSL is a very desired feature. It opens the world of Computer Vision in general and of DS in particular to the large community of Windows users. I appreciate the work on this feature which has been already done, and I’m looking forward to the new fixes/enhancements!

Best regards,
Veniamin.

1 Like