This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: GSL Nonlinear Least-Squares Fitting crashes when system not converges
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: "Christian.Winter" <Christian dot Winter at fh-zwickau dot de>
- Cc: <gsl-discuss at sources dot redhat dot com>
- Date: Thu, 18 Sep 2003 14:26:59 +0100
- Subject: Re: GSL Nonlinear Least-Squares Fitting crashes when system not converges
- References: <A09CBDFA5D621F4E86203A40203FDDF81D619E@whz-exc-01.zw.fh-zwickau.de>
Christian.Winter writes:
> I have some problems with GSL Nonlinear Least-Squares Fitting.
>
> It crashes everytime when freeing the solver with
> gsl_multifit_fdfsolver_free() when the system to fit does not
> converge, if it converges everything is fine.
>
> I use it for some kind of Augmented Reality Application to fit a
> system of functions to find the Transformation of 3D Modelpoints
> which are projected to 2D Device Coordinates. When the initial
> guess of the Transformation is not good enough the system will not
> converge but when this happens GSL crashes in the following
I would recommend compiling your program using a memory checking tool
such as 'checkergcc' on GNU/Linux, to look for any out of bounds
memory accesses.
regards
--
Brian Gough