Bug 166188 - crash when creating direct dependency loop in cross power spectrum
Summary: crash when creating direct dependency loop in cross power spectrum
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.7.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-10 00:52 UTC by Andrew Walker
Modified: 2008-07-10 01:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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