Stack smashing detected

Dear @sankal.pattanashetti,
Just want to confirm if your host has any other CUDA/TensorRT version installed. If so, please uninstall them.

When you copy the TRT samples onto target, did you copy the .o files compiled on host as well?