<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I was actually wondering about this, as in some cases valgrind errors appear and sometimes they don't, but I didn't dig into it too deeply.<div class=""><br class=""></div><div class=""><div class="">Here's my workaround, FWIW, which shows some output for that test on master.</div><div class=""><br class=""></div><div class="">I don't see any output when I just run the tests like this:</div><div class=""><br class=""></div><div class="">    VALGRIND=1 make -f gmakefile.test test globsearch="dm_impls_plex_tests-ex1_fluent_2"</div><div class=""><br class=""></div><div class="">But I do see something if I do this to find any non-empty .err files:</div><div class=""><br class=""></div><div class="">    find $PETSC_ARCH/tests -name *.err ! -size 0</div><div class=""><br class=""></div><div class="">And then I see these valgrind warnings after copy-pasting the path:</div><div class=""><br class=""></div><div class=""><div><br class=""></div><div><div>$ cat arch-master-extra-opt/tests/dm/impls/plex/examples/tests/runex1_fluent_2/runex1_fluent_2.err</div><div>==4990== Conditional jump or move depends on uninitialised value(s)</div><div>==4990==    at 0x4C3705A: rawmemchr (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)</div><div>==4990==    by 0x7687351: _IO_str_init_static_internal (strops.c:41)</div><div>==4990==    by 0x767878C: vsscanf (iovsscanf.c:40)</div><div>==4990==    by 0x76721A3: sscanf (sscanf.c:32)</div><div>==4990==    by 0x588147D: DMPlexCreateFluent_ReadSection (plexfluent.c:105)</div><div>==4990==    by 0x5882E3A: DMPlexCreateFluent (plexfluent.c:246)</div><div>==4990==    by 0x588492F: DMPlexCreateFluentFromFile (plexfluent.c:30)</div><div>==4990==    by 0x577E2B7: DMPlexCreateFromFile (plexcreate.c:3254)</div><div>==4990==    by 0x10BEDF: CreateMesh (ex1.c:170)</div><div>==4990==    by 0x10A20B: main (ex1.c:430)</div><div>==4990==  Uninitialised value was created by a stack allocation</div><div>==4990==    at 0x5881313: DMPlexCreateFluent_ReadSection (plexfluent.c:96)</div><div>==4990==</div><div>==4990== Use of uninitialised value of size 8</div><div>==4990==    at 0x766276F: _IO_vfscanf (vfscanf.c:633)</div><div>==4990==    by 0x767879C: vsscanf (iovsscanf.c:41)</div><div>==4990==    by 0x76721A3: sscanf (sscanf.c:32)</div><div>==4990==    by 0x588147D: DMPlexCreateFluent_ReadSection (plexfluent.c:105)</div><div>==4990==    by 0x5882E3A: DMPlexCreateFluent (plexfluent.c:246)</div><div>==4990==    by 0x588492F: DMPlexCreateFluentFromFile (plexfluent.c:30)</div><div>==4990==    by 0x577E2B7: DMPlexCreateFromFile (plexcreate.c:3254)</div><div>==4990==    by 0x10BEDF: CreateMesh (ex1.c:170)</div><div>==4990==    by 0x10A20B: main (ex1.c:430)</div><div>==4990==  Uninitialised value was created by a stack allocation</div><div>==4990==    at 0x5881313: DMPlexCreateFluent_ReadSection (plexfluent.c:96)</div><div>==4990==</div><div>==4990== Conditional jump or move depends on uninitialised value(s)</div><div>==4990==    at 0x766277B: _IO_vfscanf (vfscanf.c:630)</div><div>==4990==    by 0x767879C: vsscanf (iovsscanf.c:41)</div><div>==4990==    by 0x76721A3: sscanf (sscanf.c:32)</div><div>==4990==    by 0x588147D: DMPlexCreateFluent_ReadSection (plexfluent.c:105)</div><div>==4990==    by 0x5882E3A: DMPlexCreateFluent (plexfluent.c:246)</div><div>==4990==    by 0x588492F: DMPlexCreateFluentFromFile (plexfluent.c:30)</div><div>==4990==    by 0x577E2B7: DMPlexCreateFromFile (plexcreate.c:3254)</div><div>==4990==    by 0x10BEDF: CreateMesh (ex1.c:170)</div><div>==4990==    by 0x10A20B: main (ex1.c:430)</div><div>==4990==  Uninitialised value was created by a stack allocation</div><div>==4990==    at 0x5881313: DMPlexCreateFluent_ReadSection (plexfluent.c:96)</div><div>==4990==</div><blockquote type="cite" class=""><div class="">Am 07.12.2019 um 21:45 schrieb Matthew Knepley <<a href="mailto:knepley@gmail.com" class="">knepley@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I am trying to clean up valgrind errors. However this one<div class=""><br class=""></div><div class="">  dm_impls_plex_tests-ex1_fluent_2<br class=""><div class=""><br class=""></div><div class="">is valgrind clean on my machine. Does anyone get it to output something?</div><div class=""><br class=""></div><div class="">  Thanks,</div><div class=""><br class=""></div><div class="">     Matt</div><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class="">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br class="">-- Norbert Wiener</div><div class=""><br class=""></div><div class=""><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank" class="">https://www.cse.buffalo.edu/~knepley/</a><br class=""></div></div></div></div></div></div></div></div></div>
</div></blockquote></div><br class=""></div></div></body></html>