[Kst] [Bug 111574] Request for interactive fitting

Nicolas Brisset nicolas.brisset at eurocopter.com
Fri Sep 22 12:31:54 CEST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=111574         




------- Additional Comments From nicolas.brisset eurocopter com  2006-09-22 12:31 -------
I unfortunately don't have very much time to work on that at the moment, and I'm still seeing crashes. Below is a backtrace when trying to fit the curve created with 'kst --xe 0:100:500 --ye "sqrt(2*x)+1.4*x-0.02*x^2"':

#0  0x0135620c in _int_free () from /lib/tls/libc.so.6
#1  0x0135773b in free () from /lib/tls/libc.so.6
#2  0x007936fa in function_df () from /dk/ouvea-3510-0/users/brisset/.kde/share/apps/kst/plugins/kstfit_general_levenberg_marquardt.so
#3  0x007939e6 in function_fdf () from /dk/ouvea-3510-0/users/brisset/.kde/share/apps/kst/plugins/kstfit_general_levenberg_marquardt.so
#4  0x025591ac in set (vstate=0x8fceb30, fdf=0x49, x=0x8dd7c20, f=0x8ef0dc0, J=0x8dd8328, dx=0x8fd8bd0, scale=1) at lmset.c:14
#5  0x02559dfb in lmsder_set (vstate=0x8fceb30, fdf=0xb7ada310, x=0x8dd7c20, f=0x8ef0dc0, J=0x8dd8328, dx=0x8fd8bd0) at lmder.c:327
#6  0x0255a44f in gsl_multifit_fdfsolver_set (s=0x8fd9e60, f=0xb7ad9fe8, x=0xb7ada370) at fdfsolver.c:133
#7  0x00792896 in kstfit_general_levenberg_marquardt () from /dk/ouvea-3510-0/users/brisset/.kde/share/apps/kst/plugins/kstfit_general_levenberg_marquardt.so
#8  0x008cb57f in Plugin::call () from /ldk/0/soft/kde3.5/lib/libkstmath.so.1
#9  0x008b105b in KstPlugin::update () from /ldk/0/soft/kde3.5/lib/libkstmath.so.1
#10 0x0022be3a in KstPrimitive::update () from /ldk/0/soft/kde3.5/lib/libkst.so.1
#11 0x008908d1 in KstVCurve::update () from /ldk/0/soft/kde3.5/lib/libkstmath.so.1
#12 0x00ea4eff in UpdateThread::doUpdates () from /ldk/0/soft/kde3.5/lib/libkstapp.so.1
#13 0x00ea4830 in UpdateThread::run () from /ldk/0/soft/kde3.5/lib/libkstapp.so.1
#14 0x02cad1fa in QThreadInstance::start () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#15 0x002fe98c in start_thread () from /lib/tls/libpthread.so.0
#16 0x013b016a in clone () from /lib/tls/libc.so.6
(gdb) 

If anybody has an idea where that might come from, help is welcome! Another option would be to try another implementation of the Levenberg-Marquardt solver, since even when it does not crash there are cases where the results are not as good as xmgrace's. There is a GPL'd one at http://www.ics.forth.gr/~lourakis/levmar/ which looks quite good, but I have not had time to test it yet.


More information about the Kst mailing list