[Dune] Re: Bug in fmatrix.hh ?
Markus Blatt
Markus.Blatt at ipvs.uni-stuttgart.de
Wed Jan 17 19:19:16 CET 2007
Hi,
On Wed, Jan 17, 2007 at 05:53:25PM +0100, Sreejith Pulloor Kuttanikkad wrote:
> is there still a bug in fmatrix.hh. I am getting segfault when attempting
> invert:
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1480063296 (LWP 7256)]
> 0x080634c1 in Dune::FieldMatrix<double, 15, 15>::invert (this=0x81c1350)
> at /home/sreejith/dune-home/dune-common/dune/common/fmatrix.hh:709
> 709 p[i][k] /= U[i][i];
>
>
I would think that this bug is not fmatrix, but in your code. Seqfault
usually means that one tries to access values that are beyond the
limits of the array.
Please try to find the cause by using gdb and/or valgrind.
Cheers,
Markus
More information about the Dune
mailing list