[Dune-devel] Segfault in fvectortest

Christoph GrĂ¼ninger christoph.grueninger at iws.uni-stuttgart.de
Mon Dec 23 08:22:41 CET 2013


Hi Dune,
has anyone a clue why fvectortest is failing for me? The code
looks innocent... I compiled with gcc 4.8.1 and no flags 
besides
-g2.

Bye
Christoph


FieldVectorMainTest      ( Dune::FieldVector<int, 3> )
FieldVectorMainTest      ( 
Dune::FieldVector<std::complex<int>, 3> )
DotProductTest           ( Dune::FieldVector<int, 3> and 
Dune::FieldVector<std::complex<int>, 3>)
FieldVectorMainTest      ( Dune::FieldVector<int, 2> )
FieldVectorMainTest      ( 
Dune::FieldVector<std::complex<int>, 2> )
DotProductTest           ( Dune::FieldVector<int, 2> and 
Dune::FieldVector<std::complex<int>, 2>)
FieldVectorMainTest      ( Dune::FieldVector<int, 1> )
ScalarOperatorTest       ( Dune::FieldVector<int, 1> )
ScalarOrderingTest       ( Dune::FieldVector<int, 1> )
DotProductTest           ( Dune::FieldVector<int, 1> and 
Dune::FieldVector<std::complex<int>, 1>)
FieldVectorMainTest      ( 
Dune::FieldVector<std::complex<int>, 1> )
ScalarOperatorTest       ( 
Dune::FieldVector<std::complex<int>, 1> )

Program received signal SIGSEGV, Segmentation fault.
0x0808c535 in FieldVectorMainTest<int, int, 
0>::FieldVectorMainTest (this=0xbffff0ef) at 
/home/gruenich/dune/dune-common/dune/common/test/fvectortest.cc:29
29          a = x[0];
(gdb) bt
#0  0x0808c535 in FieldVectorMainTest<int, int, 
0>::FieldVectorMainTest (this=0xbffff0ef) at 
/home/gruenich/dune/dune-common/dune/common/test/fvectortest.cc:29
#1  0x0808021f in FieldVectorTest<int, 1>::FieldVectorTest 
(this=0xbffff11f) at 
/home/gruenich/dune/dune-common/dune/common/test/fvectortest.cc:308
#2  0x08079336 in FieldVectorTest<int, 2>::FieldVectorTest 
(this=0xbffff14f) at 
/home/gruenich/dune/dune-common/dune/common/test/fvectortest.cc:286
#3  0x08077484 in FieldVectorTest<int, 3>::FieldVectorTest 
(this=0xbffff179) at 
/home/gruenich/dune/dune-common/dune/common/test/fvectortest.cc:286
#4  0x08076a16 in main () at 
/home/gruenich/dune/dune-common/dune/common/test/fvectortest.cc:348
(gdb)




More information about the Dune-devel mailing list