[petsc-users] many valgrind error of petsc string functions

Gong Ding gdiso at ustc.edu
Sat Dec 3 06:18:02 CST 2011


In the function of PetscOptionsFindPair_Private (options.c line 1098), there are still some code with the same problem.



----- Original Message ----- 
From: "Jed Brown" <jedbrown at mcs.anl.gov>
To: "PETSc users list" <petsc-users at mcs.anl.gov>
Sent: Friday, December 02, 2011 8:28 PM
Subject: Re: [petsc-users] many valgrind error of petsc string functions


> 2011/12/2 Gong Ding <gdiso at ustc.edu>
> 
>> Valgrind reported many errors about string processing functionss of petsc.
>> These error seems harmless, but really ugly.
>>
> 
> Agreed, I think you have a really long path (but still much shorter than
> the system path length). If this is the problem, then the fix I just pushed
> to petsc-3.2 will fix it.
> 
> http://petsc.cs.iit.edu/petsc/releases/petsc-3.2/rev/36bd87d582e9
> 
> You can pull this with mercurial or apply manually. Let me know if this
> works.
>


More information about the petsc-users mailing list