STL bug or programming error?
Posted on 2003-10-30
I have the following test code:
typedef std::vector<TEST_STRU> Test_Vector;
for (unsigned int i = 0; i < 50000; ++i)
It compiles and runs on Solaris 2.8, HPUX 11i, and RedHat Linux 8. It compiles but then produces a core file when it runs on AIX 18.104.22.168 and AIX 5.2 using the VisualAge C++ compiler version 5 and 6. The vague core files and backtraces seem to point to memory and allocation problems but we are not running out of memory. We've been developing our application on these platforms for nearly 10 years so we've learned what works and what doesn't but I've exhausted all my resources on this one.