#147 ALUGrid crashes after use of Entity assignment operator
Metadata
Property | Value |
---|---|
Reported by | Oliver Sander (oliver.sander@tu-dresden.de) |
Reported at | Jul 13, 2006 18:43 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Oliver Sander (oliver.sander@tu-dresden.de) |
Last edited at | Jul 17, 2006 09:43 |
Closed by | Robert K (robertk@posteo.org) |
Closed at | Jul 26, 2006 14:26 |
Closed in version | Unknown |
Resolution | Fixed |
Comment | Will be fixed by version > 0.3 of ALUGrid-Library. Unitl then the compiler option -DNDEBUG or the described code above will avoid this assertion. |
Description
The following litte program produces a segmentation fault:
#include "config.h" #include <dune/grid/io/file/dgfparser/dgfalu.hh>
using namespace Dune; typedef ALUSimplexGrid<3,3> GridType;
int main() { GridType* grid = Dune::MacroGrid("simplex.dgf", -1);
GridType::Codim<0>::LeafIterator eIt = grid->leafend<0>();
eIt = grid->leafbegin<0>();
GeometryType gt = eIt->geometry().type();
delete(grid);
}