malloc(): memory corruption:

Dominik Szczerba dominik at
Sat Nov 14 15:32:29 CST 2009

Now for something more serious: I get a crash like this one:

Starting KSPSolve (1/2)
   0 KSP Residual norm 2.964538623545e-06
*** glibc detected *** /home/domel/build/solve-debug/ns3t10mpi: 
malloc(): memory corruption: 0x09258008 ***
======= Backtrace: =========
(and so on)

gdb invoked as:

mpiexec -np 2 ..... -on_error_attach_debugger -display :0.0

does not display any backtrace after the crash.

Any hints how to debug are highly appreciated.


More information about the petsc-users mailing list