[boost.test] Assertion/crash
Hi all,
I am having an issue where boost.test is triggering an assert when I
make a BOOST_REQUIRE_EQUAL check. It always gives me the same assert.
I am on Windows 7 with Visual C++ 2013, compiling a 32 bit application.
This error happens both with boost_1_57_0 and boost_1_58_0.
The assert says:
Debug Assertion Failed!
Program: C:\Windows\system32\MSVCP120D.dll
File: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring
Line: 168
Expression: string iterator + offset out of range
Here's the stack:
0041ef44 0149ca07 015c08f0 015c07e0 000000a8
MSVCP120D!std::_Debug_message+0x26
0041ef60 0149ca93 00000053 0041ef80 0041efa0
my_tests!std::_String_const_iterator ::operator+=+0x77
0041ef70 0149c91e 00000053 d4f524ac 07d2cff0
my_tests!std::_String_iterator Does anyone have any tips for things I might try?
Thanks in advance for any help on this!
Kind regards,
Philip Bennefall
Philip Bennefall
I am having an issue where boost.test is triggering an assert when I make a BOOST_REQUIRE_EQUAL check. It always gives me the same assert.
I am on Windows 7 with Visual C++ 2013, compiling a 32 bit application. This error happens both with boost_1_57_0 and boost_1_58_0.
The assert says:
Debug Assertion Failed!
Program: C:\Windows\system32\MSVCP120D.dll File: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xstring Line: 168
Expression: string iterator + offset out of range
This is not a Boost.Test message. This is the Visual Studio debug runtime message. If you believe this is caused by Boost.Test implementation issue, please provide small reproducer. I also urge you to try to build your test module with 1.59 RC and let me know if this resolves the issue. Gennadiy
participants (2)
-
Gennadiy Rozental
-
Philip Bennefall