id summary reporter owner description type status milestone component version severity resolution keywords cc 386 boost::pool_allocator breaks with vector of vectors glr9940 shammah "{{{ The resulting executable built with the following code under GCC 3.3.5 produces a segmentation fault when run: Note that switching the definition of EventVector to use a vector with a standard allocator will fix the problem. Also note that the definition of IndexVector doesn't seem to matter. #include #include #include template struct PooledVector { typedef std::vector > Type; }; typedef PooledVector::Type EventVector; //typedef std::vector EventVector; //typedef PooledVector::Type IndexVector; typedef std::vector IndexVector; int main() { IndexVector iv; iv.push_back(EventVector()); iv.back().push_back(3); std::cout << ""it works\n""; return 0; } }}}" Bugs closed pool None Problem fixed