| Summary: | Kst unexpectedly terminated after accessing property: valid in Plugin class. | ||
|---|---|---|---|
| Product: | [Applications] kst | Reporter: | Yiwen Mao <yiwenv> |
| Component: | general | Assignee: | kst |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.x | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | the source file for getting the vector v in problem desciption above | ||
Created attachment 23480 [details]
the source file for getting the vector v in problem desciption above
SVN commit 772451 by arwalker: BUG:157448 Fix crash due to referencing of incorrect object M +1 -1 bind_plugin.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=772451 |
Version: 1.6.0 (using KDE 3.5.3) OS: Linux I try to use KstScript to apply the bin plugin to a vector importing from a data source file. After accessing the property:valid by typing bin.valid in an external terminal, Kst crashes instead of giveing me a true or false value. Here are the steps to reproduce the crash: kst> var s = new Scalar(5); //scalar input for bin plugin kst> var source = new DataSource("/home/vyiwen/datafiles/random.dat"); //vector source file kst> var v = new DataVector(source, "1"); //import the vector kst> v.tagName = "v"; v kst> var bin = new Plugin(Kst.pluginManager.modules["Bin"]); //getting the bin plugin kst> bin.setInput(0,v); //setting input vector and scalar for bin plugin true kst> bin.setInput(1,s); true kst> bin.valid //access valid Kst application process has terminated.