Bug 116488

Summary: curve fitting freezes kst
Product: [Applications] kst Reporter: Nicolas Brisset <nicolas.brisset>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: unspecified   
OS: Solaris   
Latest Commit: Version Fixed In:

Description Nicolas Brisset 2005-11-16 11:30:33 UTC
Version:           1.2.0_devel (using KDE 3.4.0, compiled sources)
Compiler:          gcc version 3.4.3
OS:                SunOS (sun4u) release 5.8

To reproduce:
- in a kst session, call the datamanager
- generate a vector V0 (e.g. from -10 to 10, 1000 points)
- generate a new equation like: 1.27*[V0]^3 + 2.43*[V0]^2 -3.21*[V0] + 7.47
- in the plot dialog, context menu, call "Fit", choose polynomial (it seems to exhibit the same behavior with other fit plugins, but I haven't tried too many), order 3
- click OK: kst is frozen and eats up all your CPU :-(

kst 1.1.0 does not have this problem. As said previously, it seems to AFFECT ALL FIT AND FILTER PLUGINS, invoked from either the contextual menu or the datamanager and the only solution is KILLING KST ! This is pretty bad and needs to be fixed before 1.2.0 comes out !
Comment 1 George Staikos 2005-11-17 06:32:10 UTC
Almost have this fixed, along with some other locking bugs.  I hope to commit 
tomorrow.
Comment 2 George Staikos 2005-11-17 15:12:57 UTC
Roughly fixed, but I need to review the locking again.  It seems to be quite 
broken still.
Comment 3 George Staikos 2005-11-17 15:59:31 UTC
*** Bug has been marked as fixed ***.
Comment 4 Nicolas Brisset 2005-11-17 19:00:24 UTC
Is it a know problem that filtering a curve with a low-pass filter (and possibly others, I have not tried) still freezes kst ?