I have some C++ code that I am executing from C# dotnet core 2. In my C++, I am using a third party library. My code builds and runs, but after being executed a few million times (2.5 mil last time) I see the following message:
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_S_create
Aborted (core dumped)
Now I would like to put my code up here for review, but I don't really understand if it would be against the broken code policy. It might not be broken, because as far as I know the error is being thrown from the third party lib (although as a pretty new C++ dev, I am assuming it's my fault). Would posting this for review be appropriate?