This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GSL Nonlinear Least-Squares Fitting crashes when system not converges


Hi!
 
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 functions:
 
_free_dbg_lk(void * 0x08be62e0, int 1) line 1033 + 60 bytes
_free_dbg(void * 0x08be62e0, int 1) line 970 + 13 bytes
free(void * 0x08be62e0) line 926 + 11 bytes
gsl_block_free(gsl_block_struct * 0x08be6340) line 77 + 15 bytes
gsl_vector_free(gsl_vector * 0x08be6380) line 167 + 12 bytes
lmder_free(void * 0x08be6d50) line 353 + 12 bytes
gsl_multifit_fdfsolver_free(gsl_multifit_fdfsolver * 0x08be54f0) line 145 + 17 bytes
 
At the moment I use GSL 1.4 (1.3 same problem) under Windows :-( vith VC++ 6.
 
If anyone can help, Thanks.
 
---
Christian Winter
 
e-Mail Christian.Winter@FH-Zwickau.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]