Bug 67948

Summary: kst uses up all cpu when a file in the format file isn't present
Product: [Applications] kst Reporter: Matthew Truch <matt>
Component: generalAssignee: George Staikos <staikos>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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