Runtime error of string memory allocating #2256
Labels
bug
Something isn't working
triage/needs-information
Indicates an issue needs more information in order to work on it.
Describe your environment
Windows/C++17/Visual Studio
CMake parameters as below:
Steps to reproduce
simple code as below, just call the GetTracer method:
namespace trace = opentelemetry::trace;
typedef nostd::shared_ptrtrace::Tracer TracerNSP;
TracerNSP GetTracer(const std::string& tracer_name)
{
auto provider = trace::Provider::GetTracerProvider();
return provider->GetTracer(tracer_name, OPENTELEMETRY_SDK_VERSION);
}
What is the expected behavior?
Success
What is the actual behavior?
A runtime error was triggered:
Additional context
The text was updated successfully, but these errors were encountered: