Bug 160383

Summary: Kst crashes after applying Event Monitor to streaming data
Product: [Applications] kst Reporter: Yiwen Mao <yiwenv>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: A perl script used to plot live data

Description Yiwen Mao 2008-04-04 23:54:23 UTC
Version:           1.6.0 (using KDE 4.0.3)
Installed from:    Unspecified
OS:                Linux

Problem: Kst crashes after applying the Event Monitor to streaming data

Steps to reproduce the problem:

download simrealtime.pl provided in attachment
Execute the Perl script in an external terminal:
    chmod a+x simrealtime.pl
    ./simrealtime.pl simulated.dat
In a seperate terminal, open Kst by typing:
     kst -y 1 simulated.dat
Create a new Event Monitor by Data-->New Event Monitor...
Enter "ABS([1]-[1/Mean])>=5*[1/Sigma]" for Expression
Check "Log as"
Select the "Warning" radio button
Click OK
In the terminal of executing the perl script: simrealtime.pl, press enter a few times
Save Kst by choosing File --> Save as...
Enter EM for the file name in the save as dialog
Close Kst
Open EM.kst
The Kst file crashes.
Comment 1 Yiwen Mao 2008-04-04 23:56:14 UTC
Created attachment 24191 [details]
A perl script used to plot live data
Comment 2 Andrew Walker 2008-04-05 00:09:10 UTC
SVN commit 793727 by arwalker:

BUG:160383 prevent crash by ensuring that only the locked inputs and outputs are unlocked when updating an event monitor entry

 M  +9 -13     ksteventmonitorentry.cpp  
 M  +0 -1      ksteventmonitorentry.h  


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