I've been using CppUnit for 7 months and all was going very well! I've reached more or less than 130 text fixtures! One day I included a new unit to my project (in C++ Builder 5, cppunit was compiled under Borland C++ ree Compiler) and I couln't run my tests any more!
I have an access violation and It's origin is in (99% sure of this) AutoRegisterSuite!
1) The AccessViolation appears even before the instruction pointer reaches the WinMain function!
I've read on the docs that AutoRegisterSuite operates
with static variables! In C++ static variables are allocated before program execution!
2) The stack trace is:
//xxxxxxx the stack trace:
basic_string<char, std::char_traits<char>, std::allocator<char> >::__unLink(this)
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string<char, std::char_traits<char>, std::allocator<char> >
3) The IDE shows me this line on memory.stl:
void deallocate(pointer p, size_type)
::operator delete(p); //<--- Error line where
4) this seams closelly related with bug #825717
I've reassembled the project! I've tryed to debug as far as I can! But nothing!
I can't live anymore without my tests! Please Help me
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.