[Dune] dune-grid fails at vertexordertest

Christoph GrĂ¼ninger christoph.grueninger at iws.uni-stuttgart.de
Wed May 16 18:34:36 CEST 2012


Hi,
just an update, my g++ 4.7 seem to dislike ALUGrid. I found segmentation 
faults in test-alugrid and refinedp1test from dune-localfunctions.

Bye
Christoph

# ./test-alugrid
usage:./test-alugrid <2d|2dsimp|2dcube|2dconf|3d|3dsimp|3dcube> <display>
Check empty grids
Speicherzugriffsfehler

# ./test-alugrid 3dsimp
Check empty grids
Speicherzugriffsfehler

# ./test-alugrid 3dcube
Check empty grids
Speicherzugriffsfehler

# ./test-alugrid 3d
Check empty grids
Speicherzugriffsfehler


refinedp1test from
/home/gruenich/dune/dune-localfunctions/dune/localfunctions/test:
[..]
Created serial ALUSimplexGrid<2,2>.

test for refinedP1LocalFiniteElement in 2D ... passed.

Program received signal SIGSEGV, Segmentation fault.
ALUGridSpace::AlignIterator<ALUGridSpace::ListIterator<ALUGridSpace::Gitter::Geometric::Hexa>, 
ALUGridSpace::ListIterator<ALUGridSpace::Gitter::Geometric::Tetra>, 
ALUGridSpace::Gitter::helement>::item (this=0x837d4e0) at serial/walk.h:646
646       else return (C &) _walk1.A::item () ;
(gdb) backtrace
#0 
ALUGridSpace::AlignIterator<ALUGridSpace::ListIterator<ALUGridSpace::Gitter::Geometric::Hexa>, 
ALUGridSpace::ListIterator<ALUGridSpace::Gitter::Geometric::Tetra>, 
ALUGridSpace::Gitter::helement>::item (this=0x837d4e0) at serial/walk.h:646
#1  0x081d087b in item (this=0x837d3e4) at serial/gitter_sti.h:2080
#2 
ALUGridSpace::Insert<ALUGridSpace::PureElementAccessIterator<ALUGridSpace::Gitter::helement>::Handle, 
ALUGridSpace::TreeIterator<ALUGridSpace::Gitter::helement, 
ALUGridSpace::is_leaf<ALUGridSpace::Gitter::helement> > >::first 
(this=0x837d3e0) at serial/walk.h:786
#3  0x0805fa65 in Dune::ALU3dGrid<(Dune::ALU3dGridElementType)4, 
Dune::No_Comm>::checkMacroGrid (this=0x836c7c8)
     at /home/gruenich/dune/dune-grid/dune/grid/alugrid/3d/grid_imp.cc:858
#4  0x0805aa65 in Dune::ALU3dGrid<(Dune::ALU3dGridElementType)4, 
Dune::No_Comm>::ALU3dGrid (this=0x836c7c8, macroTriangFilename=..., 
mpiComm=..., bndPrj=0x0, bndVec=0x0,
     refinementType=Dune::nonconforming) at 
/home/gruenich/dune/dune-grid/dune/grid/alugrid/3d/grid_inline.hh:72
#5  0x08057fa8 in Dune::ALUSimplexGrid<3, 3>::ALUSimplexGrid 
(this=0x836c7c8, mpiComm=..., bndProject=0x0, bndVector=0x0, 
macroName=..., verb=true)
     at /home/gruenich/dune/dune-grid/dune/grid/alugrid/3d/alugrid.hh:264
#6  0x0806f594 in Dune::ALU3dGridFactory<Dune::ALUSimplexGrid<3, 3> 
 >::createGridObj (this=0xbfffec30, bndProjections=0x0, name=...)
     at 
/home/gruenich/dune/dune-grid/dune/grid/alugrid/3d/alu3dgridfactory.hh:113
#7  0x0806211d in Dune::ALU3dGridFactory<Dune::ALUSimplexGrid<3, 3> 
 >::createGrid (this=0xbfffec30, addMissingBoundaries=true, 
temporary=true, name=...)
     at 
/home/gruenich/dune/dune-grid/dune/grid/alugrid/3d/alu3dgridfactory.cc:309
#8  0x0806569c in Dune::ALU3dGridFactory<Dune::ALUSimplexGrid<3, 3> 
 >::createGrid (this=0xbfffec30) at 
/home/gruenich/dune/dune-grid/dune/grid/alugrid/3d/alu3dgridfactory.cc:163
#9  0x0805c87b in testForDim<3> () at refinedp1test.cc:45
#10 0x0804cd4b in main (argc=1, argv=0xbffff004) at refinedp1test.cc:150




More information about the Dune mailing list