#1529 valgrind reports invalid reads for umtv in densematrix
|Reported by||Felix Schindler (email@example.com)|
|Reported at||Nov 11, 2014 18:39|
|Operating System||Unspecified / All|
|Last edited by||Felix Schindler (firstname.lastname@example.org)|
|Last edited at||Nov 12, 2014 00:31|
I found the following output when inspecting some DUNE code with valgrind (while looking for an unrelated error):
==27356== Invalid read of size 8 ==27356== at 0x157F2D9D: umtv<Dune::FieldVector<double, 1>, Dune::FieldVector<double, 2> > (densematrix.hh:458) ==27356== by 0x157F2D9D: map2world (mappings_imp.cc:1033) ==27356== by 0x157F2D9D: map2world (geometry.hh:139) ==27356== by 0x157F2D9D: corner (geometry.hh:132) ==27356== by 0x157F2D9D: corner (geometry_imp.cc:126) ==27356== by 0x157F2D9D: corner (geometry.hh:178)
This was with a debug build (including -DDUNE_FMatrix_WITH_CHECKING=1) and the corresponding checks in
dune/common/densematrix.hh did not throw an exception.
Please note that I am not sure that this is a bug or a problem. But since I could not find anything related already reported and I do not like these kind of messages from valgrind for quite central pieces of code I thought I would report this. The
GridType in use was a
ALUGrid< 2, 2, simplex, conforming > and of all core modules I use the git version on tag v2.3.1.
Please let me know if you require any additional information!