Stack smashing detected

Dear @sankal.pattanashetti,
I see the sample is part of TRT 5.x (TensorRT Samples Support Guide :: Deep Learning SDK Documentation)
Could you check /usr/src/tensorrt/samples folder on host after installing the DRIVE SW on host?