Bug 67948 - kst uses up all cpu when a file in the format file isn't present
Summary: kst uses up all cpu when a file in the format file isn't present
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: George Staikos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-12 01:44 UTC by Matthew Truch
Modified: 2003-11-24 06:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Truch 2003-11-12 01:44:33 UTC
Version:           0.94 (using KDE KDE 3.1)
Installed from:    Unspecified Linux

If you choose a valid (according to the format file) vector, but that vector doesn't exist on disk (ie you didn't copy the whole data set from another location), kst uses up 'mucho' CPU.  

How to reproduce:  Within a dirfile, delete one of the elements.
open kst, and create a curve which uses the deleted element (either directly, or a derived vector that deponds on it)

Expected Behavior: kst won't use up much CPU, and just ignores the file (or pops up a dialog box to complain, etc).
Comment 1 George Staikos 2003-11-12 03:53:33 UTC
Yes this seems to be the case
Comment 2 George Staikos 2003-11-12 05:06:43 UTC
Can you update from CVS and try what's there?  I fixed one bug, but I'm not sure if the cpu usage I see is abnormally high now or not.  I profiled it and I see nothing out of the ordinary right now.  It is afterall drawing a graph with labels so there will be some cpu usage even though there is no real data.
Comment 3 George Staikos 2003-11-24 06:28:25 UTC
as far as I know, it's fixed