Deepstream freezes the system

Hardware Platform: Jetson Nano
DeepStream Version: 5.0
JetPack Version: 4.3
TensorRT Version: Not sure

Hi, this is not exactly an issue but I just wanted to report that the deepstream-app freezes the whole system if a the rect params of custom object meta are assigned an out of bound image value. Of course, assigning an out of bound value is wrong but I believe this shouldn’t freeze the system rather just give a segmentation fault kind of error and shutdown? Can it be explained why is it causing the system to freeze? I am adding this issue because the system freeze caused the jetson nano to shut down and it was really hard to track where I was making the mistake in this case. Just to clarify, this case was seen when assigning the value using python bindings like this:

rect_params = obj_meta.rect_params
rect_params.left = int(IMAGE_WIDTH * frame_object.left) ----> here, for example. As soon as this is called the system freezes
rect_params.top = int(IMAGE_HEIGHT * frame_object.top)
rect_params.width = int(IMAGE_WIDTH * frame_object.width)
rect_params.height = int(IMAGE_HEIGHT * frame_object.height)

Hello.
Tegra and CPU sharing RAM, so when you got out of set memory - system cannot return to previous, non error, state. And freezes.

2 Likes