Reading symbols from ./Debug_gcc/src/grid_test...done. (gdb) break Point::operator new[] Breakpoint 1 at 0x8190f51: file ./src/point.hh, line 33. (gdb) break Point::operator delete[] Breakpoint 2 at 0x8158091: file ./src/point.hh, line 33. (gdb) r Starting program: ./Debug_gcc/src/grid_test warning: Could not load shared library symbols for linux-gate.so.1. Do you need "set solib-search-path" or "set sysroot"? Running 1 test case... Breakpoint 1, Point::operator new[] (size=3872) at ./src/point.hh:33 33 EIGEN_MAKE_ALIGNED_OPERATOR_NEW (gdb) s Eigen::internal::conditional_aligned_malloc (size=3872) at /usr/include/eigen3/Eigen/src/Core/util/Memory.h:283 283 return aligned_malloc(size); (gdb) s Eigen::internal::aligned_malloc (size=3872) at /usr/include/eigen3/Eigen/src/Core/util/Memory.h:196 196 check_that_malloc_is_allowed(); (gdb) s Eigen::internal::check_that_malloc_is_allowed () at /usr/include/eigen3/Eigen/src/Core/util/Memory.h:188 188 {} (gdb) s Eigen::internal::aligned_malloc (size=3872) at /usr/include/eigen3/Eigen/src/Core/util/Memory.h:210 210 result = handmade_aligned_malloc(size); (gdb) c Continuing. Breakpoint 2, Point::operator delete[] (ptr=0x81eab40) at ./src/point.hh:33 33 EIGEN_MAKE_ALIGNED_OPERATOR_NEW (gdb) s Eigen::internal::conditional_aligned_free (ptr=0x81eab40) at /usr/include/eigen3/Eigen/src/Core/util/Memory.h:299 299 aligned_free(ptr); (gdb) s Eigen::internal::aligned_free (ptr=0x81eab40) at /usr/include/eigen3/Eigen/src/Core/util/Memory.h:227 227 std::free(ptr); (gdb) s *** Error in `./Debug_gcc/src/grid_test': double free or corruption (out): 0x081eab40 *** ======= Backtrace: ========= ...