Am 28.08.22 um 19:37 schrieb Paavo Helde:
Hmm.
It turned out that I accidentally called a constructor in
std::vector<>::emplace_back(...) rather than just passing constructor
arguments. Once I removed this unnecessary temporary object the error
(later in the application) was gone.
It was a small number crunching application that did neither use any
multi-threading nor new/delete (except for std::vector internally) and
all class variables are POD or one of the classes of POD's or a
reference to it.
The latter was likely the problem. The automatically generated move or
copy constructor probably somehow generated a dangling reference.
Marcel