I'm getting debug assertion(__acrt_first_block == header) when using any of the std::string related OCCI functions(SQLException::getMessage(), Statement::getString(), etc). The functions themselves do work so for example when using ::getMessage I get the message but get an assertion at the end of deallocator block. I'm using Visual Studio 2015 Enterprise with Oracle 12.1.0(vc12). "Release" build doesn't cause any problems and works as expected.