TensorRT 7.2.1 sampleDynamicReshape segfault

Description

Hi,

I’m having a look at the TensorRT C++ samples. They all compile and run fine, except one which is the sampleDynamicReshape. I get a “Exception thrown: read access violation. config._Mypair._Myval2-> was 0xFFFFFFFFFFFFFEE7.” on line 259 which does “config->setCalibrationProfile(profileCalib);”.

Would you guys have any idea why?

Environment

TensorRT Version: 7.2.1.6
GPU Type: GTX 1050 Ti
Nvidia Driver Version: 456.81
CUDA Version: 11.1
CUDNN Version: 8.0
Operating System + Version: Windows 10 build 18363
Baremetal or Container (if container which image + tag): Bare metal

Steps To Reproduce

  1. Load the solution file in Visual Studio
  2. Hit “F5”

Hi @The_Smith,
You issue has been noted.
Kindly allow us some time to check on this.

Thanks!

Hi @The_Smith,
Which visual studio version and cuDNN version are you using?

Hi,

I’m using Visual Studio 2019 and cuDNN 8.0. All other samples are working with this setup.

Regards,

Smith

Hi @The_Smith,
We cant reproduce the issue at our end.
Can you please provide the below set of information -
PC CPU info and RAM info:
The url link for TensorRT / CUDA / cuDNN package:
Visual studio SDK version / Platform Toolset / C++ Language standard info like teh sample image


It will be useful to provide more screen snapshots or even screen videos to illustrate the issue.

Thanks!

Thanks for the information. I reviewed my setup parameters and I was able to find the error. The sample was loading the dlls from a previous TensorRT installation. All is well now.

Regards,

Smith