Re: [eigen] the "Complex" test crashes randomly

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


Sorry about that. The problem was probably uninitialized memory.
The test code was mostly just to exercise and demonstrate different promotions.
The test code now initializes the arrays.

Thomas Capricelli wrote:
Hello,

Using the latest repository, In unsupported, the "Complex" is often failing here, though not always.
-------------
 15/ 16 Testing FFTW                             Passed
 16/ 16 Testing Complex                       ***Failed

94% tests passed, 1 tests failed out of 16

The following tests FAILED:
         16 - Complex (Failed)
Errors while running CTest
make: *** [test] Error 8
----------------


Actually, it segfaults : here are two successive runs, where only one crashes..:

orzel@berlioz build/unsupported/test% ./test_Complex
Initializing random number generator with seed 1257791037
Repeating each test 10 times
(5.93176e-39,0)
(5.93176e-39,0)
(1.40509e-37,0)
(1.86261e-316,2.08847e-317)
(1.86261e-316,2.08847e-317)
(1.86261e-316,1.28347e-312)
(1.75902e-4941,-3.68892e-4935)
(1.75902e-4941,-3.68892e-4935)
(1.29603e-1010,1.04305e+4740)
orzel@berlioz build/unsupported/test% ./test_Complex
Initializing random number generator with seed 1257791038
Repeating each test 10 times
(5.93176e-39,0)
(5.93176e-39,0)
(3.27166e-38,0)
(9.91212e-317,2.08847e-317)
(9.91212e-317,2.08847e-317)
(9.91208e-317,1.28347e-312)
Segmentation fault


I have no idea what's wrong..
Thomas




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