Bug 163480 - kst crash when adding plugin interpolation linear without specifying y interpolated
Summary: kst crash when adding plugin interpolation linear without specifying y interp...
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-07 20:54 UTC by Roman Fietze
Modified: 2008-06-08 19:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Add plugin "Interpolation linear" with dialog defaults (2.23 KB, text/plain)
2008-06-07 20:55 UTC, Roman Fietze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Fietze 2008-06-07 20:54:21 UTC
Version:            (using KDE 3.5.9)
Installed from:    SuSE RPMs

Take (almost?) any input data, and create a plugin "Interpolation linear". When the dialog opens just klick "Ok" without changing anything to crash kst.

The console shows:

gsl: interp.c:134: ERROR: interpolation error
Default GSL error handler invoked.
KCrash: Application 'kst' crashing...
kst: Fatal IO error: client killed

The backtrace is in the attachment.
Comment 1 Roman Fietze 2008-06-07 20:55:19 UTC
Created attachment 25196 [details]
Add plugin "Interpolation linear" with dialog defaults
Comment 2 Andrew Walker 2008-06-08 19:50:06 UTC
The gsl interpolation routines require a monotonically increasing x input-vector.
Comment 3 Andrew Walker 2008-06-08 19:51:40 UTC
SVN commit 818520 by arwalker:

BUG:163480 Return early if the x-input vector fed to the interpolation plugins is not monotonically increasing.

 M  +9 -0      interpolations.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=818520