Describe the issue
The test in question fails because when multiple calls to CreateCustomRegistry
from more than one thread throw an exception that Domain already exists. This causes the exception to propagate out of N-1 std::threads unhandled and this silently kills the test even in Debug build.
Urgency
The test is being commented out
Target platform
Generic
Build script
TRT Debug build
onnxruntime_provider_test.exe --gtest_filter=TensorrtExecutionProviderTest.SessionCreationWithMultiThreadsAndInferenceWithMultiThreads
Error / output
No output or core dump, however, is reproducible under debugger.
If a number of threads is changed to 1, things start working.
I am disabling the test.
Visual Studio Version
Version 17.14.17
GCC / Compiler Version
No response
@gedoensmax