Error from src_elem:TIMEOUT

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Jetson Orin Nano
• DeepStream Version 6.3
• JetPack Version (valid for Jetson only) 5.1.2
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, 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)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I am running deepstream app and after a while it gives me this error and crshes, can you help me with that please.

ERROR from src_elem: TIMEOUT
Debug info: Argus Error Status
CONSUMER: ERROR OCCURRED
Quitting
nvstreammux: Successfully handled EOS for source_id=0
[NvMultiObjectTracker] De-initialized
GST_ARGUS: Cleaning up
App run failed

Can you re-run with “GST_DEBUG=3” ahead of deepstream-app command? Please provide the full log, thanks.

here is what it gives me:

==========
== CUDA ==
==========
 
CUDA Version 11.4.19
 
Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
 
This container image and its contents are governed by the NVIDIA Deep Learning Container License.
By pulling and using the container, you accept the terms and conditions of this license:
https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license
 
A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience.
 
[INFO] 2024-03-25 11:01:46 - Cuurent module twin config: {'$version': 105, 'ds_activate': 1, 'ds_cloud_telemetry_interval': 5}
[INFO] 2024-03-25 11:01:46 - configuration file exists
[INFO] 2024-03-25 11:01:46 - No update needed from module twin.
[ERROR] 2024-03-25 11:01:46 - deepstream_path: config/dstest_occupancy_analytics.txt
[INFO] 2024-03-25 11:01:46 - analytics_enabled: 1
[INFO] 2024-03-25 11:01:46 - Deepstream process started.
0:00:00.172931424    51 0xaaab0208caa0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x120000: 'AVR (Audio Visual Research)' is not mapped
0:00:00.172979105    51 0xaaab0208caa0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x180000: 'CAF (Apple Core Audio File)' is not mapped
0:00:00.172987489    51 0xaaab0208caa0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x100000: 'HTK (HMM Tool Kit)' is not mapped
0:00:00.172995169    51 0xaaab0208caa0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0xc0000: 'MAT4 (GNU Octave 2.0 / Matlab 4.2)' is not mapped
0:00:00.173000257    51 0xaaab0208caa0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0xd0000: 'MAT5 (GNU Octave 2.1 / Matlab 5.0)' is not mapped
0:00:00.173004673    51 0xaaab0208caa0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x210000: 'MPC (Akai MPC 2k)' is not mapped
0:00:00.173014370    51 0xaaab0208caa0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0xe0000: 'PVF (Portable Voice Format)' is not mapped
0:00:00.173020546    51 0xaaab0208caa0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x160000: 'SD2 (Sound Designer II)' is not mapped
0:00:00.173030690    51 0xaaab0208caa0 WARN                 default gstsf.c:97:gst_sf_create_audio_template_caps: format 0x190000: 'WVE (Psion Series 3)' is not mapped
0:00:00.421228194    51 0xaaab0208caa0 WARN                  ladspa gstladspa.c:507:plugin_init:<plugin226> no LADSPA plugins found, check LADSPA_PATH
0:00:00.722989293    51 0xaaab0208caa0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: libtritonserver.so: cannot open shared object file: No such file or directory
 
(gst-plugin-scanner:51): GStreamer-WARNING **: 11:01:47.120: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libtritonserver.so: cannot open shared object file: No such file or directory
0:00:00.836004351    51 0xaaab0208caa0 WARN      GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry: module_open failed: librivermax.so.0: cannot open shared object file: No such file or directory
 
(gst-plugin-scanner:51): GStreamer-WARNING **: 11:01:47.233: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.0: cannot open shared object file: No such file or directory
** WARN: <parse_tracker:1604>: Unknown key 'enable-batch-process' for group [tracker]
 
(deepstream-app:49): GLib-GObject-WARNING **: 11:01:48.151: value "TRUE" of type 'gboolean' is invalid or out of range for property 'sync' of type 'gboolean'
 
(deepstream-app:49): GLib-GObject-WARNING **: 11:01:48.151: value "TRUE" of type 'gboolean' is invalid or out of range for property 'qos' of type 'gboolean'
Unknown or legacy key specified 'is-classifier' for group [property]
Unknown or legacy key specified 'disable-output-host-copy' for group [property]
Warn: 'threshold' parameter has been deprecated. Use 'pre-cluster-threshold' instead.
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
~~ CLOG[/dvs/git/dirty/git-master_linux/deepstream/sdk/src/utils/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/NvTrackerParams.hpp, getConfigRoot() @line 52]: [NvTrackerParams::getConfigRoot()] !!![WARNING] Invalid low-level config file caused an exception, but will go ahead with the default config values
~~ CLOG[/dvs/git/dirty/git-master_linux/deepstream/sdk/src/utils/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/NvTrackerParams.hpp, getConfigRoot() @line 52]: [NvTrackerParams::getConfigRoot()] !!![WARNING] Invalid low-level config file caused an exception, but will go ahead with the default config values
[NvMultiObjectTracker] Initialized
WARNING: [TRT]: Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
Deserialize yoloLayerV3 plugin: yolo_83
Deserialize yoloLayerV3 plugin: yolo_95
Deserialize yoloLayerV3 plugin: yolo_107
0:00:09.488923225    49 0xaaaae43684c0 INFO                 nvinfer gstnvinfer.cpp:682:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1988> [UID = 1]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-6.3/sources/apps/sample_apps/deepstream-nvdsanalytics-test/config/yolov3/model_b1_gpu0_int8.engine
0:00:09.695049187    49 0xaaaae43684c0 INFO                 nvinfer gstnvinfer.cpp:682:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2091> [UID = 1]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-6.3/sources/apps/sample_apps/deepstream-nvdsanalytics-test/config/yolov3/model_b1_gpu0_int8.engine
0:00:09.832768026    49 0xaaaae43684c0 INFO                 nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus:<primary_gie> [UID 1]: Load new model:/opt/nvidia/deepstream/deepstream-6.3/sources/apps/sample_apps/deepstream-nvdsanalytics-test/config/yolov3/config_infer_primary_yoloV3.txt sucessfully
0:00:09.833843883    49 0xaaaae38995e0 FIXME                default gstutils.c:3980:gst_pad_create_stream_id_internal:<src_elem:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
INFO: [Implicit Engine Info]: layers num: 4
0   INPUT  kFLOAT data            3x608x608       
1   OUTPUT kFLOAT yolo_83         255x19x19       
2   OUTPUT kFLOAT yolo_95         255x38x38       
3   OUTPUT kFLOAT yolo_107        255x76x76       
 
 
Runtime commands:
	h: Print this help
	q: Quit
 
	p: Pause
	r: Resume
 
NOTE: To expand a source in the 2D tiled display and view object details, left-click on the source.
      To go back to the tiled display, right-click anywhere on the window.
 
 
**PERF:  FPS 0 (Avg)	
**PERF:  0.00 (0.00)	
** INFO: <bus_callback:239>: Pipeline ready
 
** INFO: <bus_callback:225>: Pipeline running
 
GST_ARGUS: Creating output stream
 
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 4032 x 3040 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;
 
GST_ARGUS: 3840 x 2160 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;
 
GST_ARGUS: 1920 x 1080 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;
 
GST_ARGUS: Running with following settings:
   Camera index = 0 
   Camera mode  = 2 
   Output Stream W = 1920 H = 1080 
   seconds to Run    = 0 
   Frame Rate = 59.999999 
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
 
CONSUMER: Producer has connected; continuing.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
**PERF:  30.52 (30.40)	
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

**PERF:  30.03 (30.04)	
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
**PERF:  30.00 (30.03)	
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
**PERF:  30.01 (30.02)	
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ERROR from src_elem: TIMEOUT
Debug info: Argus Error Status
CONSUMER: ERROR OCCURRED
Quitting
nvstreammux: Successfully handled EOS for source_id=0
[NvMultiObjectTracker] De-initialized
GST_ARGUS: Cleaning up
App run failed
[ERROR] 2024-03-25 11:03:41 - Deepstream process exited with an error.

Can you provide the configuration file of deepstream-app? Also, have you changed the source code of deepstream-app?

Can you provide the crash stack with gdb ?

I have changed the Deepstream_app_main.c file. these are files that has been changed.
shift.zip (117.4 KB)

and this the configuration file:
dstest_occupancy_analytics.txt (7.6 KB)

Your configuration file does not match the log.

Which camera are you using? v4l2 or csi? Is your source type 1 or 5?

we are testing with both and we modify the config file accordingly, but the errors arises when we use CSI camera, without RTSP ir can run for 4-5 frames and then it gives this error and with RTSP, it shows fps=0 for a while then when it starts RTSP it fails with same error. this is the config file used for CSI camera:

dstest_occupancy_analytics.txt (8.0 KB)

Sorry for the long delay.Do you need more help?

1.Don’t use rtsp for now, this problem should only be related to CSI camera

2.Here is a similar topic, you can refer to it first. Then modify the pipeline of deepstream-app

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.