[petsc-users] PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range

Matthew Knepley knepley at gmail.com
Tue Jun 7 09:00:37 CDT 2022


On Tue, Jun 7, 2022 at 9:51 AM wang yuqi <yu1299885905 at outlook.com> wrote:

> Hi, Dear developer:
>
> I encountered the following problems when I run my code with PETSC-3.5.2:
>
>
>
> [46]PETSC ERROR:
> ------------------------------------------------------------------------
>
> [46]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation,
> probably memory access out of range
>
> [46]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
>
> [46]PETSC ERROR: or see
> http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind
>
> [46]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS
> X to find memory corruption errors
>
>
>
> Could you please help me to fix this problem?
>
>
It may not be a PETSc problem. Could you run in the debugger and get a
stack trace?

  Thanks,

     Matt


> Thank you very much!
>
>
>
> Best Regards.
>
> Yuqi Wang
>
>
>


-- 
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

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220607/6af29dc2/attachment-0001.html>


More information about the petsc-users mailing list