Bug 324052 - Crash importing ASCII with data wizard due to curve placement
Summary: Crash importing ASCII with data wizard due to curve placement
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: plotting (show other bugs)
Version: 2.0.7
Platform: Microsoft Windows Microsoft Windows
: HI crash
Target Milestone: 2.0.8
Assignee: kst
URL:
Keywords: testcase
Depends on:
Blocks:
 
Reported: 2013-08-26 09:03 UTC by david.mcminn
Modified: 2013-09-25 19:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Test data file to reproduce crash (13.17 KB, application/zip)
2013-08-26 09:04 UTC, david.mcminn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description david.mcminn 2013-08-26 09:03:15 UTC
After running the kst 2.0.7 release I chose the data manager, selected an ASCII file to load and specified the configuration as below:
  Apply as defaults: unchecked
  Data starts at line: 1
  Read field names: unchecked
  Read units: disabled
  Comment indicatos: #
  Decimal separator: Dot
  Space/tab delimited
  Limit buffer size: unchecked
  Use threads: unchecked
  Always accept files matching: blank
  Date/Time Interpretation: unchecked
Clicked OK.
Selected both columns from the data file (Column 1 and Column 2), clicked next.
Read from 0 to the end of file and did not choose to create any plots. Clicked next.
The final page is configured as follows:
  Curve placement is set to 1 new plot per curve.
  Plot layout automatic.
  Plot placement: All in current tab
  Labels: unchecked
  Spectrum axis mode: both unchecked
  Legends: Off, Vertical unticked
  Curve style: Lines only
Clicked on "Finish".

I then get a "kst2.exe has stopped working" dialog.

If I then change the "Curve placement" to be "All curves in one plot" then it does not crash and it loads the data OK. However, I get a plot with no curves. It looks as if it is not generating the final curve which causes the crash when "Curve placement" is set to "1 new plot per curve".


Reproducible: Always

Steps to Reproduce:
As described in details.


Expected Results:  
I would expect an error and not a crash, otherwise it would have wiped out any unsaved work.


This behaviour is the same with the latest automatic build on github (syntheticpp-kstbinary-e8718f9).

Windows 7 Pro x64 with 4GB RAM, running kst 32 bit.

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	kst2.exe
  Application Version:	0.0.0.0
  Application Timestamp:	51cd341f
  Fault Module Name:	kst2.exe
  Fault Module Version:	0.0.0.0
  Fault Module Timestamp:	51cd341f
  Exception Code:	c0000005
  Exception Offset:	0006f4e3
  OS Version:	6.1.7601.2.1.0.256.48
  Locale ID:	2057
  Additional Information 1:	0a9e
  Additional Information 2:	0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:	0a9e
  Additional Information 4:	0a9e372d3b4ad19135b953a78882e789
Comment 1 david.mcminn 2013-08-26 09:04:25 UTC
Created attachment 81938 [details]
Test data file to reproduce crash
Comment 2 Peter Kümmel 2013-09-25 19:40:51 UTC
Fixed, new binary soon at https://github.com/Kst-plot/kst-build