[Dune] Notification from Dune

Flyspray dune at hal.iwr.uni-heidelberg.de
Wed Jul 12 18:22:13 CEST 2006


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below.

User who did this: - Oliver Sander (sander)

Attached to Project - Dune
Summary - Use of uninitialized values in dgfparser
Task Type - Bug Report
Category - Grid
Status - New
Assigned To - 
Operating System - All
Severity - Medium
Priority - Normal
Reported Version - SVN
Due in Version - 
Due Date - Undecided
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);

}

==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'.

Valgrind gives me the following messages



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