[petsc-users] Crash when using valgrind
Jed Brown
jedbrown at mcs.anl.gov
Thu Apr 18 08:29:16 CDT 2013
Dominik Szczerba <dominik at itis.ethz.ch> writes:
>> What happens when you pass -no_signal_handler to the PETSc program?
>>
>
> valgrind --tool=memcheck -q --num-callers=20 MySolver -no_signal_handler
>
> No change, i.e:
>
> cr_libinit.c:183 cri_init: sigaction() failed: Invalid argument
> Aborted (core dumped)
Can you run simple BLCR-using programs in Valgrind? You might have to
do your debugging in a non-BLCR build.
More information about the petsc-users
mailing list