On Wed, Mar 13, 2013 at 4:21 PM, Nachiket Gokhale <gokhalen at gmail.com>wrote:
> I am getting the error at the end of the email only in optimized mode. > Output of -on_error_attach_debugger and "where" is at the end of this > email. Running through valgrind in debug mode doesn't show up any > memory misuse on my part. Does this seem to be something in petsc? > > -Nachiket > > 0]PETSC ERROR: > ------------------------------------------------------------------------ > [0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, > probably memory access out of range > [0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger > [0]PETSC ERROR: or see > http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind[0]PETSC > ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X to > find memory corruption errors > [0]PETSC ERROR: configure using --with-debugging=yes, recompile, link, and > run > Is it says here, reconfigure --with-debugging=yes. The trace is not very useful without line numbers. Also provide steps to reproduce. > [0]PETSC ERROR: to get more information on the crash. > [0]PETSC ERROR: User provided function() line 0 in unknown directory > unknown file > [0]PETSC ERROR: PETSC: Attaching gdb to > /home/gokhale/WAIGEN/GDEB-WAIGEN2012/bin/waigen of pid 8458 on display > :47.0 on machine asd1.wai.com > > > #0 0x0000003caccaba50 in __nanosleep_nocancel () from /lib64/libc.so.6 > #1 0x0000003caccab8e0 in sleep () from /lib64/libc.so.6 > #2 0x00007f715f45f67f in PetscSleep () > from > /opt/petsc/petsc-hg/linux-gcc-gpp-mpich-mumps-complex/lib/libpetsc.so > #3 0x00007f715f4982db in PetscAttachDebugger () > from > /opt/petsc/petsc-hg/linux-gcc-gpp-mpich-mumps-complex/lib/libpetsc.so > #4 0x00007f715f49834b in PetscAttachDebuggerErrorHandler () > from > /opt/petsc/petsc-hg/linux-gcc-gpp-mpich-mumps-complex/lib/libpetsc.so > #5 0x00007f715f498df8 in PetscError () > from > /opt/petsc/petsc-hg/linux-gcc-gpp-mpich-mumps-complex/lib/libpetsc.so > #6 0x00007f715f49d67e in PetscSignalHandlerDefault () > from > /opt/petsc/petsc-hg/linux-gcc-gpp-mpich-mumps-complex/lib/libpetsc.so > #7 0x00007f715f49d731 in PetscSignalHandler_Private(int) () > from > /opt/petsc/petsc-hg/linux-gcc-gpp-mpich-mumps-complex/lib/libpetsc.so > #8 <signal handler called> > #9 0x00007f715f8bbcdb in MatTranspose_SeqAIJ(_p_Mat*, MatReuse, _p_Mat**) > () > from > /opt/petsc/petsc-hg/linux-gcc-gpp-mpich-mumps-complex/lib/libpetsc.so > #10 0x00007f715f57f05c in MatTranspose () > from > /opt/petsc/petsc-hg/linux-gcc-gpp-mpich-mumps-complex/lib/libpetsc.so > #11 0x000000000040ce03 in waigensolveepsnull(_p_Mat**, _p_Mat**, > _p_Mat**, _p_Vec**, int*, int*, int*, int*, PetscBool) () > #12 0x000000000040275f in main () > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130313/c29863ec/attachment.html>