This bugzilla service is closed. All entries have been migrated to

Bug 213

Summary: fixed-size matrix product crashes when EIGEN_DONT_ALIGN_STATICALLY is defined
Product: Eigen Reporter: Hauke Heibel <hauke.heibel>
Component: Core - generalAssignee: Nobody <eigen.nobody>
Severity: Unknown CC: gael.guennebaud, jacob.benoit.1
Priority: ---    
Version: unspecified   
Hardware: All   
OS: All   
Description Flags
Sample code to reproduce the bug.
minimal testcase
stack none

Description Hauke Heibel 2011-03-03 15:58:25 UTC
The function uses _mm_load_pd even though EIGEN_ALIGN16 is not properly defined.

see attachment
Comment 1 Hauke Heibel 2011-03-03 15:59:06 UTC
Created attachment 117 [details]
Sample code to reproduce the bug.
Comment 2 Hauke Heibel 2011-03-03 16:02:21 UTC
"The function" is of course

template<typename MatrixType, typename ResultType>
struct compute_inverse_size4<Architecture::SSE, double, MatrixType, ResultType>

in Inverse_SSE.h
Comment 3 Benoit Jacob 2011-03-04 13:46:41 UTC
I can reproduce in 32bit mode only, with SSE2:

g++ main.cpp -o main -O2 -I eigen -lrt -m32 -msse2
Comment 4 Benoit Jacob 2011-03-04 13:49:16 UTC
Created attachment 120 [details]
Comment 5 Benoit Jacob 2011-03-04 15:07:12 UTC
Created attachment 121 [details]
minimal testcase
Comment 6 Benoit Jacob 2011-03-04 15:09:21 UTC
Created attachment 122 [details]
Comment 7 Benoit Jacob 2011-03-04 16:00:48 UTC
Fixed by b2a24739db97.
Comment 8 Benoit Jacob 2011-03-10 15:47:20 UTC
New test added: dontalign.cp, does various stuff on various types with both EIGEN_DONT_ALIGN and EIGEN_DONT_ALIGN_STATICALLY.
Comment 9 Nobody 2019-12-04 10:27:27 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: