<div class="gmail_quote">On Tue, Feb 21, 2012 at 4:55 PM, Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov">jedbrown@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><div class="gmail_quote">On Tue, Feb 21, 2012 at 15:38, John Fettig <span dir="ltr"><<a href="mailto:john.fettig@gmail.com" target="_blank">john.fettig@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is this likely memory corruption on my side or on the PETSc side, or something else entirely? I seem unable to reproduce it with an example, unfortunately. Running it through valgrind may take a week.</blockquote></div>
<br></div><div>I don't see a reason why that specific line would naturally end up with an invalid value, so I suspect memory corruption. Make a smaller problem so that valgrind runs fast.</div>
</blockquote></div><br>You were right. I was able to run it through valgrind overnight and it was definitely memory corruption on my end. After cleaning that up, the segfault in KSPDestroy goes away.<br><br>Thanks,<br>
John<br>