Test fails in MTL4 alpha 1
Jari Häkkinen <[email protected]> Fri, 26 Oct 2007 22:21:29 +0200
| Newsgroups | gmane.comp.lib.mtl.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, One of the tests fails on my mac. The problem seems to be related to the function template <typename Matrix> void raw_copy_test(Matrix& matrix, col_major) in compressed2D_inserter.cpp. The index array created in the problematic function looks strange. I get the output attached below. I am using: boost 1.34.1 i686-apple-darwin8-g++-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5363) The other tests works fine. Cheers, Jari # scons -D . check=1 with-blas=1 scons: Entering directory `/projects/osd/mtl4' scons: Reading SConscript files ... -DMTL_ASSERT_FOR_THROW scons: done reading SConscript files. scons: Building targets ... g++ -o libs/numeric/mtl/test/compressed2D_inserter.o -c -Wno-long-double -g -DMTL_ASSERT_FOR_THROW -DNDEBUG -Wno-long-double -I. libs/numeric/mtl/test/compressed2D_inserter.cpp g++ -o libs/numeric/mtl/test/compressed2D_inserter libs/numeric/mtl/test/compressed2D_inserter.o /projects/osd/mtl4/libs/numeric/mtl/test/compressed2D_inserter [ 0 1 0 0 2 0] [ 0 0 3 0 0 0] [ 4 5 6 7 0 0] [ 0 0 0 8 0 9] [ 0 10 0 11 12 0] [ 0 13 0 14 15 16] [ 0 0 0 0 0 0] [ 0 0 17 0 0 18] [ 0 1 0 31 2 0] [ 0 0 3 0 0 0] [ 4 5 6 7 0 0] [ 0 0 0 33 0 9] [ 0 10 0 11 37 0] [ 0 13 0 14 15 16] [ 35 0 0 0 0 0] [ 0 0 17 0 0 18] [ 0 1 27 31 2 0] [ 0 0 3 0 0 0] [ 4 5 27 7 22 26] [ 0 28 0 33 0 9] [ 0 10 54 11 37 0] [ 0 13 0 14 15 16] [ 35 23 0 0 0 0] [ 0 0 43 0 0 18] matrix[2][2] = 28 [ 0 0 0 0 0 0] [ 0 0 1 0 0 2] [ 0 0 0 3 0 0] [ 0 4 5 6 7 0] [ 0 0 0 0 8 0] [ 0 0 10 0 11 12] [ 0 0 13 0 14 15] [ 0 0 0 0 0 0] [ 0 0 0 0 0 0] [ 0 0 1 0 31 2] [ 0 0 0 3 0 0] [ 0 4 5 6 7 0] [ 0 0 0 0 33 0] [ 0 0 10 0 11 37] [ 0 0 13 0 14 15] [ 0 35 0 0 0 0] [ 0 0 0 0 0 0] [ 0 0 1 27 31 2] [ 0 0 0 3 0 0] [ 0 4 5 27 7 22] [ 0 0 28 0 33 0] [ 0 0 10 54 11 37] [ 0 0 13 0 14 15] [ 0 35 23 0 0 0] matrix[2][2] = 28 [ 0 1 0 0 2 0] [ 0 0 3 0 0 0] [ 4 5 6 7 0 0] [ 0 0 0 8 0 0] [ 0 10 0 0 12 0] [ 0 13 0 0 15 16] [ 0 0 0 0 0 0] [ 0 0 17 0 0 18] [ 0 1 0 31 2 0] [ 0 0 3 0 0 0] [ 4 5 6 7 0 0] [ 0 0 0 33 0 0] [ 0 10 0 0 37 0] [ 0 13 0 0 15 16] [ 35 0 0 0 0 0] [ 0 0 17 0 0 18] [ 0 1 27 31 2 0] [ 0 0 3 0 0 0] [ 4 5 27 7 22 26] [ 0 28 0 33 0 0] [ 0 10 54 0 37 0] [ 0 13 0 0 15 16] [ 35 23 0 0 0 0] [ 0 0 43 0 0 18] matrix[2][2] = 28 /usr/local/include/boost/test/minimal.hpp(122): exception "memory access violation" caught in function: 'int main(int, char**)' **** Testing aborted. **** 1 error detected [scons: *** [libs/numeric/mtl/test/compressed2D_inserter] Error 201 scons: building terminated because of errors. _______________________________________________ This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/