CHKMEMQ

Checks the memory for corruption, calls error handler if any is detected Not Collective

Synopsis

void CHKMEMQ(void)

Notes

Must run with the option -trdebug to enable this option

Once the error handler is called the calling function is then returned from with the given error code.

By defaults prints location where memory that is corrupted was allocated.

See Also

PetscTraceBackErrorHandler(), PetscPushErrorHandler(), PetscError(), SETERRQ(), CHKMEMQ(), SETERRQ1(), SETERRQ2(), SETERRQ2(),
PetscTrValid()

Level:beginner
Location:
src/sys/src/error/err.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages