Bug 166188

Summary: crash when creating direct dependency loop in cross power spectrum
Product: [Applications] kst Reporter: Andrew Walker <arwalker>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: 1.7.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andrew Walker 2008-07-10 00:52:17 UTC
Version:           1.7.0 (using KDE 3.5.8)
Installed from:    Compiled From Sources
OS:                Linux

PROBLEM:

When the user creates a cross power spectrum and subsequently sets one of the output vectors from this object as one of its input vectors, Kst will crash.

STEPS TO REPRODUCE:

Start kst
Create some vector
Create a new Cross Power Spectrum plugin
Edit the Cross Power Spectrum and set one of its input vectors to one of its output vectors

RESULTS:
Kst crashes

EXPECTED RESULTS:
Kst prevents the dependency loop
Comment 1 Andrew Walker 2008-07-10 01:55:44 UTC
SVN commit 830203 by arwalker:

BUG:166188 prevent dependency loops in the cross power spectrum - direct or otherwise. The possiblity of a direct depenedency loop was never considered in the code for the cross power spectrum

 M  +4 -0      crosspowerspectrum.cpp  
 M  +9 -2      crossspectrumdialog_i.cpp  


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