[petsc-users] [petsc-maint] error message from GDB

Matthew Knepley knepley at gmail.com
Mon Jan 25 00:41:07 CST 2016

We will need to see a stack trace. You can use the debugger,
-start_in_debugger, to get one.

Also, always send the whole error message.



On Mon, Jan 25, 2016 at 12:26 AM, praveen kumar <praveenpetsc at gmail.com>

> I am employing PETSc for DD in existing serial fortran code. the program
> ran for few seconds and showed segmentation fault core dumped. would anyone
> suggest how to fix this
> error message from GDB:
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff64f7cc0 in PetscCheckPointer (ptr=0x15e00007fff,
> dtype=PETSC_OBJECT) at /home/praveen/petsc/src/sys/error/checkptr.c:106
> 106          PETSC_UNUSED volatile PetscClassId classid =
> ((PetscObject)ptr)->classid;

What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160125/b5c59862/attachment.html>

More information about the petsc-users mailing list