Program received signal SIGSEGV, Segmentation fault. 0x08048cc9 in _mm_store_pd (to=0xffffa708, from=...) at /usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/emmintrin.h:148 148 *(__m128d *)__P = __A; (gdb) bt #0 0x08048cc9 in _mm_store_pd (to=0xffffa708, from=...) at /usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/emmintrin.h:148 #1 Eigen::internal::pstore(double *, const Eigen::internal::Packet2d &) (to=0xffffa708, from=...) at eigen/Eigen/src/Core/arch/SSE/PacketMath.h:297 #2 0x08051895 in Eigen::internal::gebp_traits::unpackRhs ( this=0xffff8b9b, n=200, rhs=0xffff9a88, b=0xffffa708) at eigen/Eigen/src/Core/products/GeneralBlockPanelKernel.h:202 #3 0x0804fe2d in Eigen::internal::gebp_kernel::operator() (this=0xffff8ca1, res=0xffffc254, resStride=4, blockA=0xffff8e08, blockB=0xffff9a88, rows=4, depth=100, cols=4, alpha=1, strideA=100, strideB=100, offsetA=0, offsetB=0, unpackedB=0xffffa708) at eigen/Eigen/src/Core/products/GeneralBlockPanelKernel.h:561 #4 0x08052038 in Eigen::internal::general_matrix_matrix_product::run (rows=4, cols=4, depth=100, _lhs=0xffffc3a8, lhsStride=100, _rhs=0xffffc3a8, rhsStride=100, res=0xffffc254, resStride=4, alpha=1, blocking=..., info=0x0) at eigen/Eigen/src/Core/products/GeneralMatrixMatrix.h:199 #5 0x08051bb8 in Eigen::internal::gemm_functor, Eigen::Transpose const>, Eigen::Matrix, Eigen::Matrix, Eigen::internal::gemm_blocking_space<0, double, double, 4, 4, 100, true> >::operator() ( this=0xffffb38c, row=0, rows=4, col=0, cols=4, info=0x0) at eigen/Eigen/src/Core/products/GeneralMatrixMatrix.h:240 #6 0x080517e7 in Eigen::internal::parallelize_gemm::scaleAndAddTo(Dest&, typename Eigen::internal::traits >::Scalar) const [with Dest = Eigen::Matrix, Lhs = Eigen::Transpose >, Rhs = Eigen::Matrix]::GemmFunctor, int>(const Eigen::GeneralProduct const>, Eigen::Matrix, 5>::GemmFunctor &, int, int, bool) (func=..., rows=4, cols=4, transpose=false) at eigen/Eigen/src/Core/products/Parallelizer.h:94 #7 0x0804f881 in Eigen::GeneralProduct const>, Eigen::Matrix, 5>::scaleAndAddTo > (this=0xffffc2d4, dst=..., alpha=1) at eigen/Eigen/src/Core/products/GeneralMatrixMatrix.h:440 #8 0x0804eed7 in Eigen::ProductBase const>, Eigen::Matrix, 5>, Eigen::Transpose const>, Eigen::Matrix >::scaleAndAddTo > (this=0xffffc2d4, dst=..., alpha=1) ---Type to continue, or q to quit--- at eigen/Eigen/src/Core/ProductBase.h:124 #9 0x0804e8a3 in Eigen::ProductBase const>, Eigen::Matrix, 5>, Eigen::Transpose const>, Eigen::Matrix >::evalTo > (this=0xffffc2d4, dst=...) at eigen/Eigen/src/Core/ProductBase.h:115 #10 0x0804cb21 in Eigen::MatrixBase >::lazyAssign const>, Eigen::Matrix, 5>, Eigen::Transpose const>, Eigen::Matrix > (this=0xffffc254, other=...) at eigen/Eigen/src/Core/ProductBase.h:283 #11 0x0804c402 in Eigen::PlainObjectBase >::lazyAssign const>, Eigen::Matrix, 5> > (this=0xffffc254, other=...) at eigen/Eigen/src/Core/PlainObjectBase.h:371 #12 0x0804bd99 in Eigen::internal::assign_selector, Eigen::GeneralProduct const>, Eigen::Matrix, 5>, false, false>::run (dst=..., other=...) at eigen/Eigen/src/Core/Assign.h:534 #13 0x0804b393 in Eigen::PlainObjectBase >::_set_noalias const>, Eigen::Matrix, 5> > (this=0xffffc254, other=...) at eigen/Eigen/src/Core/PlainObjectBase.h:579 #14 0x0804aa0c in Eigen::Matrix::Matrix const>, Eigen::Matrix, 5> > (this=0xffffc254, other=...) at eigen/Eigen/src/Core/Matrix.h:298 #15 0x0804a1b1 in Eigen::internal::inverse_impl const>, Eigen::Matrix, 5> >::inverse_impl (this=0xffffc254, matrix=...) at eigen/Eigen/src/LU/Inverse.h:292 #16 0x08049b26 in Eigen::MatrixBase const>, Eigen::Matrix, 5> >::inverse (this=0xffffc2d4) at eigen/Eigen/src/LU/Inverse.h:333 #17 0x08049422 in run<100, 4> (A=..., b=...) at main.cpp:16 #18 0x08048a14 in main (argc=1, argv=0xffffd4b4) at main.cpp:35