#776 Assertion failure in sequential UGGrid test with parallel UG
Metadata
Property | Value |
---|---|
Reported by | Oliver Sander (oliver.sander@tu-dresden.de) |
Reported at | Apr 17, 2010 22:08 |
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 | Mar 16, 2012 15:21 |
Closed by | Oliver Sander (oliver.sander@tu-dresden.de) |
Closed at | Mar 16, 2012 15:21 |
Closed in version | Unknown |
Resolution | Fixed |
Comment | A tentative fix is included in UG-3.9.1-patch8. Please reopen if the bug rears its ugly head somewhere else. |
Description
The sequential UGGrid test (in test-ug.cc) aborts with a failed assertion when compiled and run with a parallel UG. The failure message is
test-ug: ugm.c:1346: UG::INT GetSideIDFromScratchSpecialRule(UG::D3::ELEMENT*, UG::D3::NODE*): Assertion `(((((UINT *)(f))[0]) & (((1<<(3)) - 1) << 18)) >> 18)==HEXAHEDRON' failed.
(the corresponding line actually reads:
assert(TAG(f)==HEXAHEDRON);
)
The backtrace is
#0 0xb7fe1424 in __kernel_vsyscall () #1 (closed) 0xb7c118e0 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #2 (closed) 0xb7c14e15 in *__GI_abort () at abort.c:88 #3 (closed) 0xb7c0aace in __GI___assert_fail (assertion=0x866f9a8 "(((((UINT )(f))[0]) & (((1<<(3)) - 1) << 18)) >> 18)==HEXAHEDRON", file=0x8642145 "ugm.c", line=1346, function=0x86706c0 "UG::INT GetSideIDFromScratchSpecialRule(UG::D3::ELEMENT, UG::D3::NODE)") at assert.c:78 #4 (closed) 0x0840e165 in GetSideIDFromScratchSpecialRule (theElement=0x793cfad8, theNode=0x793cf040) at ugm.c:1346 #5 (closed) 0x08509f8f in ConstructConsistentGridLevel (theGrid=) at gridcons.c:269 #6 (closed) 0x0850a3cf in UG::D3::ConstructConsistentMultiGrid (theMG=0x8adb680) at gridcons.c:419 #7 (closed) 0x08438f5b in UG::D3::AdaptMultiGrid (theMG=0x8adb680, flag=2, seq=0, mgtest=0) at refine.c:6866 #8 (closed) 0x081b74b4 in Dune::UGGrid<3>::adapt() () #9 (closed) 0x081b8cdc in Dune::UGGrid<3>::globalRefine(int) () #10 (closed) 0x08050869 in generalTests (greenClosure=true) at test-ug.cc:207 #11 (closed) 0x08050a6f in main (argc=1, argv=0xbffff884) at test-ug.cc:240