It is only run in debug mode, hence only crashes there. I don't know why it fails here, somehow memory was corrupted earlier? Try running with -malloc_debug or under valgrind? static PetscErrorCode PetscFunctionListDLAllPop_Private(PetscFunctionList fl) { PetscFunctionBegin; if (PetscDefined(USE_DEBUG) && !PetscDefined(HAVE_THREADSAFETY)) { PetscFunctionListDLAll current = dlallhead, prev = NULL; /* Remove this entry from the main DL list (if it is in it) */ while (current) { const PetscFunctionListDLAll next = current->next; if (current->data == fl) { if (prev) { // somewhere in the middle (or end) of the list prev->next = next; } else { // prev = NULL implies current = dlallhead, so front of list dlallhead = next; } PetscCall(PetscFree(current)); break; } prev = current; current = next; } } PetscFunctionReturn(PETSC_SUCCESS); }
|
configure_log_tail_local_install
Description: Binary data
ksp_crash_log_local_install
Description: Binary data