[0]PETSC ERROR: PetscTrFreeDefault() called from PetscLayoutDestroy() at /mnt/c/mathware/petsc/src/vec/is/utils/pmap.c:133 [0]PETSC ERROR: Block at address 0x7fff8367ba70 is corrupted; cannot free; may be block not allocated with PetscMalloc() [0]PETSC ERROR: --------------------- Error Message -------------------------------------------------------------- [0]PETSC ERROR: Memory corruption: https://petsc.org/release/faq/#valgrind [0]PETSC ERROR: Bad location or corrupted memory [0]PETSC ERROR: WARNING! There are option(s) set that were not used! Could be the program crashed before they were used or a spelling mistake, etc! [0]PETSC ERROR: Option left: name:-ksp_max_it value: 2000 source: command line [0]PETSC ERROR: See https://petsc.org/release/faq/ for trouble shooting. [0]PETSC ERROR: Petsc Development GIT revision: v3.19.0-236-gee39b84cc03 GIT Date: 2023-04-23 18:43:23 -0400 [0]PETSC ERROR: topopt on a arch-linux-c-debug named win01705 by carlthore Mon Apr 24 10:26:18 2023 [0]PETSC ERROR: Configure options -f --with-cuda --with-cusp --download-scalapack --download-hdf5 --download-zlib --download-mumps --download-parmetis --download-metis --download-ptscotch --download-hypre --download-spai [0]PETSC ERROR: #1 PetscTrFreeDefault() at /mnt/c/mathware/petsc/src/sys/memory/mtr.c:288 [0]PETSC ERROR: #2 PetscLayoutDestroy() at /mnt/c/mathware/petsc/src/vec/is/utils/pmap.c:133 [0]PETSC ERROR: #3 PCSetUp_Redistribute() at /mnt/c/mathware/petsc/src/ksp/pc/impls/redistribute/redistribute.c:309 [0]PETSC ERROR: #4 PCSetUp() at /mnt/c/mathware/petsc/src/ksp/pc/interface/precon.c:994 [0]PETSC ERROR: #5 PCApply() at /mnt/c/mathware/petsc/src/ksp/pc/interface/precon.c:438 [0]PETSC ERROR: #6 KSP_PCApply() at /mnt/c/mathware/petsc/include/petsc/private/kspimpl.h:381 [0]PETSC ERROR: #7 KSPSolve_PREONLY() at /mnt/c/mathware/petsc/src/ksp/ksp/impls/preonly/preonly.c:21 [0]PETSC ERROR: #8 KSPSolve_Private() at /mnt/c/mathware/petsc/src/ksp/ksp/interface/itfunc.c:898 [0]PETSC ERROR: #9 KSPSolve() at /mnt/c/mathware/petsc/src/ksp/ksp/interface/itfunc.c:1070 [0]PETSC ERROR: #10 SolveState() at /mnt/c/TOPet/fts_topopt_in_petsc-master/MixedStokes.cc:869 [0]PETSC ERROR: #11 ComputeObjectiveConstraints() at /mnt/c/TOPet/fts_topopt_in_petsc-master/MixedStokes.cc:1102 [0]PETSC ERROR: #12 main() at /mnt/c/TOPet/fts_topopt_in_petsc-master/main.cc:158 [0]PETSC ERROR: Reached the main program with an out-of-range error code 1. This should never happen [0]PETSC ERROR: PETSc Option Table entries: [0]PETSC ERROR: -history workdir/ResultDataFolder_230424-102618/PetscHistory.txt (source: command line) [0]PETSC ERROR: -ksp_max_it 2000 (source: command line) [0]PETSC ERROR: -ksp_type preonly (source: command line) [0]PETSC ERROR: -maxAlpha 1e8 (source: command line) [0]PETSC ERROR: -maxItr 1 (source: command line) [0]PETSC ERROR: -mlimit 1.000e-01 (source: command line) [0]PETSC ERROR: -nc 1 (source: command line) [0]PETSC ERROR: -nx 31 (source: command line) [0]PETSC ERROR: -ny 21 (source: command line) [0]PETSC ERROR: -nz 31 (source: command line) [0]PETSC ERROR: -objT 2 (source: command line) [0]PETSC ERROR: -pc_type redistribute (source: command line) [0]PETSC ERROR: -penal 100 (source: command line) [0]PETSC ERROR: -rmin 0.002 (source: command line) [0]PETSC ERROR: -UsePenaltyStokes 0 (source: command line) [0]PETSC ERROR: -UseSlopedGeometry (source: command line) [0]PETSC ERROR: -UseSymmetry (source: command line) [0]PETSC ERROR: -volfrac 0.5 (source: command line) [0]PETSC ERROR: -voxelization (source: command line) [0]PETSC ERROR: -workdir workdir/ResultDataFolder_230424-102618 (source: command line) [0]PETSC ERROR: ----------------End of Error Message -------send entire error message to petsc-maint@mcs.anl.gov----------