Bug 85211 - kst consumes 100% cpu when plotting data with missing secondary files
Summary: kst consumes 100% cpu when plotting data with missing secondary files
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-15 00:17 UTC by Matthew Truch
Modified: 2004-07-27 19:06 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 2004-07-15 00:17:26 UTC
Version:           0.98 (using KDE KDE 3.2.1)
Installed from:    RedHat RPMs
OS:                Linux

When plotting data (from a dirfile) where one (or more) of the vectors is derived and requires a secondary file (for example, a lookup table), and the secondary file is non-existant, kst displays wrong data (zeros), and consumes all the cpu.  

How to reproduce:  Get dirfile data where at least one vector depends on an external file, and delete (or move) the external file.  Plot that vector vs. INDEX.

Expected behavior:  kst at the very least shouldn't consume all the cpu, and probably should spit out an error about the datasource being invalid.
Comment 1 Matthew Truch 2004-07-22 03:20:06 UTC
This (100% cpu usage) is also true when the actual data is temporarily unavailable (ie the data is on an nfs share, which has been temporarily taken down).  
Comment 2 Netterfield 2004-07-27 19:06:34 UTC
Fixed: now silently returns 0 if linterp file is bad or missing.