Deepstream-app crashes if osd or tracker is disabled

Please provide complete information as applicable to your setup.

• Hardware Platform (GeForce RTX 2080i)
• DeepStream Version 5.0-DP
• TensorRT Version 7
• NVIDIA GPU Driver Version 450.36.06 CUDA Version: 10.2

deepstream-app crashes if osd or tracker is disabled in the config file.

Use any standard config file provided with the sample deepstream-app and set osd or tracker property enable=0 to reproduce.

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

Hi,
I can not repro your issue, could you please provide more information, like where it crashed, it’s hard to tell where get wrong without log.

Hi

You can try to use this repo to reproduce:
https://drive.google.com/file/d/1dJvVo0FnELeZFEQFgl6LEDDP7ujDxUGH/view?usp=sharing

I see you make some changes.
and i can not comile, anything wrong?
++ -g -c -o …/apps-common/src/deepstream_streammux.o -DPLATFORM_TEGRA -Wno-c+±compat -fpermissive -g -I…/apps-common/includes -I…/includes -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 pkg-config --cflags gstreamer-1.0 gstreamer-video-1.0 x11 …/apps-common/src/deepstream_streammux.c
cc1plus: warning: command line option ‘-Wno-c+±compat’ is valid for C/ObjC but not for C++
g++ -g -o deepstream-app deepstream_app.o deepstream_app_main.o deepstream_app_config_parser.o …/apps-common/src/deepstream_tracker_bin.o …/apps-common/src/deepstream_primary_gie_bin.o …/apps-common/src/deepstream_source_bin.o …/apps-common/src/deepstream_c2d_msg.o …/apps-common/src/deepstream_config_file_parser.o …/apps-common/src/deepstream_common.o …/apps-common/src/deepstream_sink_bin.o …/apps-common/src/deepstream_perf.o …/apps-common/src/deepstream_dewarper_bin.o …/apps-common/src/deepstream_dsexample.o …/apps-common/src/deepstream_secondary_gie_bin.o …/apps-common/src/deepstream_tiled_display_bin.o …/apps-common/src/deepstream_osd_bin.o …/apps-common/src/deepstream_streammux.o -L…/lib/ -lnvdsgst_meta -lnvds_meta -lnvdsgst_helper -lnvdsgst_smartrecord -lnvds_utils -lm -lgstrtspserver-1.0 -ldl -Wl,-rpath,…/lib/ pkg-config --libs gstreamer-1.0 gstreamer-video-1.0 x11
/usr/bin/ld: deepstream_app.o: Relocations in generic ELF (EM: 62)
/usr/bin/ld: deepstream_app.o: Relocations in generic ELF (EM: 62)
/usr/bin/ld: deepstream_app.o: Relocations in generic ELF (EM: 62)
/usr/bin/ld: deepstream_app.o: Relocations in generic ELF (EM: 62)
/usr/bin/ld: deepstream_app.o: Relocations in generic ELF (EM: 62)
/usr/bin/ld: deepstream_app.o: Relocations in generic ELF (EM: 62)
/usr/bin/ld: deepstream_app.o: Relocations in generic ELF (EM: 62)
deepstream_app.o: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
Makefile:59: recipe for target ‘deepstream-app’ failed
make: *** [deepstream-app] Error 1

Can you repro your issue with original sample?

Hi,

As far as I remember, this issue had occurred even with the original deepstream-app sample. You can try using the original deepstream-app to reproduce. I have not tried to reproduce it again with the original sample.

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

But I can not repro your issue using original sample.