[Dune] Notification from Dune

Flyspray dune at hal.iwr.uni-heidelberg.de
Mon Jul 24 16:38:40 CEST 2006


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has been changed.  The new details are below.  For
full information about what has changed, visit the URL and click the
History tab.

FS#146 - Use of uninitialized values in dgfparser
User who did this: - Christian Engwer (christi)

Attached to Project - Dune
Summary - Use of uninitialized values in dgfparser
Task Type - Bug Report
Category - DGFParser
Status - New
Assigned To - 
Operating System - All
Severity - Medium
Priority - Normal
Reported Version - SVN
Due in Version - 1.0
Due Date - Undecided
Percent Complete - 0%
Details - When reading a grid using the dgf parser, say

#include "config.h"
#include <dune/grid/io/file/dgfparser/dgfalberta.hh>

int main(){

    Dune::AlbertaGrid<3,3>* albertaGrid =
Dune::MacroGrid("simplex.dgf", -1);

}


valgrind gives me the following messages


==8098== Conditional jump or move depends on uninitialised value(s)
==8098==    at 0x806D443:
Dune::DuneGridFormatParser::readDuneGrid(std::istream&)
(dgfparser.cc:230)
==8098==    by 0x806D9FC: Dune::MacroGrid::Impl<Dune::AlbertaGrid<3,
3> >::generate(Dune::MacroGrid&, ch
ar const*, int) (dgfalberta.cc:11)
==8098==    by 0x806DD52:
_ZN4Dune9MacroGridcvPT_INS_11AlbertaGridILi3ELi3EEEEEv
(dgfparser.hh:104)
==8098==    by 0x804B46F: main (uggridtest.cc:7)
==8098==
==8098== Conditional jump or move depends on uninitialised value(s)
==8098==    at 0x805D92A:
Dune::DuneGridFormatParser::writeAlberta(std::ostream&)
(dgfparser.cc:24)
==8098==    by 0x806DB90: Dune::MacroGrid::Impl<Dune::AlbertaGrid<3,
3> >::generate(Dune::MacroGrid&, ch                            ar
const*, int) (dgfalberta.cc:27)
==8098==    by 0x806DD52:
_ZN4Dune9MacroGridcvPT_INS_11AlbertaGridILi3ELi3EEEEEv
(dgfparser.hh:104)
==8098==    by 0x804B46F: main (uggridtest.cc:7)
macro_test:         WARNING in ../3d/macro.c, line 489
                    not implemented for 3d yet: no check is performed
check_mesh:         checking mesh
                    checking done; no error detected
AlbertaGrid<3,3> created from macro grid file
'simplex.dgf.albertagrid'.





More information can be found at the following URL:
http://hal.iwr.uni-heidelberg.de/flyspray/?do=details&id=146

You are receiving this message because you have requested it from the
Flyspray bugtracking system.  You can be removed from future
notifications by visiting the URL shown above.





More information about the Dune mailing list