#1173 parallel UG and DGF segfaults

Metadata

Property Value
Reported by Bernd Flemisch (bernd@iws.uni-stuttgart.de)
Reported at Aug 29, 2012 18:45
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 Sep 5, 2012 13:37
Closed by Oliver Sander (oliver.sander@tu-dresden.de)
Closed at Sep 5, 2012 13:37
Closed in version Unknown
Resolution Fixed
Comment Patches committed in rev 8396 (trunk) and 8398 (2.2). Thanks!

Description

UGGrid and DGF do not work any more in parallel. Compiling in dune/grid/io/file/dgfparser/test/ by make testug and running by mpirun -np 2 ./testug ../../../../../../doc/grids/dgf/test3d.dgf segfaults on the second process with the stack below.

It works with 2.1, and does not work anymore with 2.2 and the current trunk, all with UG patchset 8. I am using gcc-4.6 and OpenMPI 1.4something.

0x000000000094d008 in Dune::UGGrid<3>::levelIndexSet (this=0x1687690, level=0) at ../../../../../../dune/grid/uggrid.hh:654 (gdb) where #0 0x000000000094d008 in Dune::UGGrid<3>::levelIndexSet (this=0x1687690, level=0) at ../../../../../../dune/grid/uggrid.hh:654 #1 (closed) 0x000000000093e412 in Dune::DefaultLevelGridView<Dune::UGGrid<3> const, (Dune::PartitionIteratorType)4>::indexSet (this=0x7fffffffd000) at ../../../../../../dune/grid/common/defaultgridview.hh:132 #2 (closed) 0x00000000009392aa in Dune::GridView<Dune::DefaultLevelGridViewTraits<Dune::UGGrid<3> const, (Dune::PartitionIteratorType)4> >::indexSet (this=0x7fffffffd000) at ../../../../../../dune/grid/common/gridview.hh:150 #3 (closed) 0x00000000009378b1 in Dune::GridPtr<Dune::UGGrid<3> >::initialize (this=0x7fffffffd4f0, dgfFactory=...) at ../../../../../../dune/grid/io/file/dgfparser/gridptr.hh:265 #4 (closed) 0x00000000009355bb in Dune::GridPtr<Dune::UGGrid<3> >::GridPtr (this=0x7fffffffd4f0, filename="../../../../../../doc/grids/dgf/test3d.dgf", comm=0x1340a80) at ../../../../../../dune/grid/io/file/dgfparser/gridptr.hh:64 #5 (closed) 0x000000000092c8cd in main (argc=2, argv=0x7fffffffd798, envp=0x7fffffffd7b0) at main.cc:105