[petsc-users] glibc detected

Jed Brown jed at 59A2.org
Sat Apr 17 09:37:59 CDT 2010


On Sat, 17 Apr 2010 10:10:00 -0400, "(Rebecca) Xuefei YUAN" <xy2102 at columbia.edu> wrote:
> Dear Matt,
> 
> I did run with valgrind, and the error message is for a  
> DAGetLocalVector() in FormFunction() which is not related to this  
> structure.

This first error is causing memory corruption which causes the invalid
free() you see later.  Run with valgrind and -malloc 0, then fix every
item in the order they appear (many of the later items will be caused by
earlier corruption, so rerun valgrind after each fix).

Jed


More information about the petsc-users mailing list