# PetscSignalSegvCheckPointerOrMpi
To be called from a signal handler for SIGSEGV. 
## Synopsis
```
void PetscSignalSegvCheckPointerOrMpi(void)
```
Not Collective


## Notes
If the signal was received while executing PetscCheckPointer(), this function longjmps back
there, otherwise returns with no effect. This function is called automatically by
PetscSignalHandlerDefault().




## See Also
 `PetscPushSignalHandler()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/error/checkptr.c.html#PetscSignalSegvCheckPointerOrMpi">src/sys/error/checkptr.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/error/checkptr.c)


[Index of all Sys routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
