#1529 valgrind reports invalid reads for umtv in densematrix
Metadata
Property | Value |
---|---|
Reported by | Felix Schindler (felix.schindler@wwu.de) |
Reported at | Nov 11, 2014 18:39 |
Type | Bug Report |
Version | 2.3 |
Operating System | Unspecified / All |
Last edited by | Felix Schindler (felix.schindler@wwu.de) |
Last edited at | Nov 12, 2014 00:31 |
Description
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!