id summary reporter owner description type status milestone component version severity resolution keywords cc 1581 Boost.MultiArray: Resizing bug if the index is not 0-based avhacker@… Ronald Garcia "I find that a boost::multi_array will crash when calling to resize() with non 0-based indexes. The implementation seems have problem if the array is not 0-based. Please see the following code: {{{ #include #include int main(int,char*[]) { typedef boost::multi_array marray; marray A(boost::extents[5][5]); boost::array bases; bases[0] = 2; bases[1] = 3; A.reindex(bases); // bases[0] = 0; // bases[1] = 0; // A.reindex(bases); A.resize(boost::extents[7][7]); bases[0] = 2; bases[1] = 3; A.reindex(bases); return 0; } }}} The above program will get crash unless you uncomment the 3 lines that re-index bases to 0. " Bugs closed Boost 1.36.0 multi_array Boost 1.34.1 Problem worksforme multiarray resize reindex