Re: [eigen] NEON remaining failing tests

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


On Saturday 06 March 2010 13:53:00 Konstantinos Margaritis wrote:
> make in test/ fails in cholesky:
> 
> [ 12%] Building CXX object test/CMakeFiles/cholesky_1.dir/cholesky.cpp.o
> In file included from /home/oem/eigen/Eigen/Core:272,
>                  from /home/oem/eigen/Eigen/QR:4,
>                  from /home/oem/eigen/test/main.h:151,
>                  from /home/oem/eigen/test/cholesky.cpp:29:
> /home/oem/eigen/Eigen/src/Core/Product.h: In instantiation of
> 'Eigen::ei_product_type<Eigen::Block<Eigen::Matrix<double, 1, 1, 0, 1, 1>,
> 33331, 33331, 32>, Eigen::Block<Eigen::Block<Eigen::Matrix<double, 1, 1, 0,
>  1, 1>, 1, 1, 32>, 1, 1, 32> >':
> /home/oem/eigen/Eigen/src/Cholesky/LDLT.h:249:   instantiated from
> 'Eigen::LDLT<MatrixType>& Eigen::LDLT<MatrixType>::compute(const
>  _MatrixType&) [with _MatrixType = Eigen::Matrix<double, 1, 1, 0, 1, 1>]'
> /home/oem/eigen/Eigen/src/Cholesky/LDLT.h:86:   instantiated from
> 'Eigen::LDLT<MatrixType>::LDLT(const _MatrixType&) [with _MatrixType =
> Eigen::Matrix<double, 1, 1, 0, 1, 1>]'
> /home/oem/eigen/test/cholesky.cpp:121:   instantiated from 'void
> cholesky(const MatrixType&) [with MatrixType = Eigen::Matrix<double, 1, 1,
>  0, 1, 1>]'
> /home/oem/eigen/test/cholesky.cpp:153:   instantiated from here
> /home/oem/eigen/Eigen/src/Core/Product.h:78: error: incomplete type
> 'Eigen::ei_product_type_selector<2, 1, 1>' used in nested name specifier

Uhm I just reproduced this sans-NEON, and also on x86 and sse2 builds.
Also, cholesky_2 builds fine but I get the following on ARM(with/without NEON):

$ ./cholesky_2
Initializing random number generator with seed 1267893603
Repeating each test 10 times
*** glibc detected *** ./cholesky_2: double free or corruption (!prev): 0x00132750 ***
Aborted

and on x86(both with/without sse):

$ ./cholesky_2
Initializing random number generator with seed 1267894057
Repeating each test 10 times
*** glibc detected *** ./cholesky_2: double free or corruption (!prev): 0x000000000072d390 ***
======= Backtrace: =========
/lib64/libc.so.6[0x7f09f4e0cc76]
/lib64/libc.so.6(cfree+0x6c)[0x7f09f4e1196c]
./cholesky_2(_ZN5Eigen22ei_selfadjoint_productIdLi0ELi0ELb1ELi1EE3runEiiPKdiPdid+0x6c7)[0x422207]
./cholesky_2(_ZN5Eigen14ei_llt_inplaceILi1EE7blockedINS_6MatrixIdLi33331ELi33331ELi0ELi33331ELi33331EEEEEbRT_+0x160)
[0x429b20]
./cholesky_2(_ZN5Eigen3LLTINS_6MatrixIdLi33331ELi33331ELi0ELi33331ELi33331EEELi1EE7computeERKS2_+0x13b)
[0x429d5b]
./cholesky_2(_Z8choleskyIN5Eigen6MatrixIdLi33331ELi33331ELi0ELi33331ELi33331EEEEvRKT_+0xc06)[0x42a9f6]
./cholesky_2(_Z13test_choleskyv+0x17d)[0x4180cd]
./cholesky_2(main+0x1f0)[0x4185d0]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7f09f4db8a7d]
./cholesky_2[0x40da69]
======= Memory map: ========
00400000-00441000 r-xp 00000000 08:06 2113301                            /home/markos/Development/eigen-build-
plain/test/cholesky_2
00640000-00641000 r--p 00040000 08:06 2113301                            /home/markos/Development/eigen-build-
plain/test/cholesky_2
00641000-00642000 rw-p 00041000 08:06 2113301                            /home/markos/Development/eigen-build-
plain/test/cholesky_2
00642000-0074e000 rw-p 00000000 00:00 0                                  [heap]
7f09f0000000-7f09f0021000 rw-p 00000000 00:00 0
7f09f0021000-7f09f4000000 ---p 00000000 00:00 0
7f09f4d4b000-7f09f4d9a000 rw-p 00000000 00:00 0
7f09f4d9a000-7f09f4eeb000 r-xp 00000000 08:05 2490380                    /lib64/libc-2.10.1.so
7f09f4eeb000-7f09f50eb000 ---p 00151000 08:05 2490380                    /lib64/libc-2.10.1.so
7f09f50eb000-7f09f50ef000 r--p 00151000 08:05 2490380                    /lib64/libc-2.10.1.so
7f09f50ef000-7f09f50f0000 rw-p 00155000 08:05 2490380                    /lib64/libc-2.10.1.so
7f09f50f0000-7f09f50f5000 rw-p 00000000 00:00 0
7f09f50f5000-7f09f510b000 r-xp 00000000 08:05 2490422                    /lib64/libgcc_s.so.1
7f09f510b000-7f09f530a000 ---p 00016000 08:05 2490422                    /lib64/libgcc_s.so.1
7f09f530a000-7f09f530b000 r--p 00015000 08:05 2490422                    /lib64/libgcc_s.so.1
7f09f530b000-7f09f530c000 rw-p 00016000 08:05 2490422                    /lib64/libgcc_s.so.1
7f09f530c000-7f09f5360000 r-xp 00000000 08:05 2490412                    /lib64/libm-2.10.1.so
7f09f5360000-7f09f555f000 ---p 00054000 08:05 2490412                    /lib64/libm-2.10.1.so
7f09f555f000-7f09f5560000 r--p 00053000 08:05 2490412                    /lib64/libm-2.10.1.so
7f09f5560000-7f09f5561000 rw-p 00054000 08:05 2490412                    /lib64/libm-2.10.1.so
7f09f5561000-7f09f5651000 r-xp 00000000 08:05 2403626                    /usr/lib64/libstdc++.so.6.0.12
7f09f5651000-7f09f5851000 ---p 000f0000 08:05 2403626                    /usr/lib64/libstdc++.so.6.0.12
7f09f5851000-7f09f5858000 r--p 000f0000 08:05 2403626                    /usr/lib64/libstdc++.so.6.0.12
7f09f5858000-7f09f585a000 rw-p 000f7000 08:05 2403626                    /usr/lib64/libstdc++.so.6.0.12
7f09f585a000-7f09f586f000 rw-p 00000000 00:00 0
7f09f586f000-7f09f588d000 r-xp 00000000 08:05 2490635                    /lib64/ld-2.10.1.so
7f09f590c000-7f09f5a4b000 rw-p 00000000 00:00 0
7f09f5a89000-7f09f5a8c000 rw-p 00000000 00:00 0
7f09f5a8c000-7f09f5a8d000 r--p 0001d000 08:05 2490635                    /lib64/ld-2.10.1.so
7f09f5a8d000-7f09f5a8e000 rw-p 0001e000 08:05 2490635                    /lib64/ld-2.10.1.so
7fff95f66000-7fff95f7b000 rw-p 00000000 00:00 0                          [stack]
7fff95fff000-7fff96000000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Ακυρώθηκε



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/