Bug 277740 - kst crashes if I open a file with the wizard without creating any plot
Summary: kst crashes if I open a file with the wizard without creating any plot
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 2.0.4
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-14 08:18 UTC by Grégoire Verlut
Modified: 2012-04-25 18:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grégoire Verlut 2011-07-14 08:18:14 UTC
Version:           2.0.4
OS:                MS Windows

I want to load vectors into kst, without plotting anything.

I open the wizard, select a simple file, select the columns, uncheck all the "create plot" and press finish, kst crashes

Reproducible: Always

Steps to Reproduce:
see above. I tried with different text files, with different number of columns and so on. It crashes everytime


Expected Results:  
I would expect kst to create the data vectors but not to crash

OS: Windows 32-Bit
Comment 1 Nicolas Brisset 2011-07-14 21:09:40 UTC
Interesting. I have just tried it under Linux 32 bits with today's svn, and it does not crash. I loaded a simple ASCII file, unchecked the "Create XY Plots" and "Create Spectra Plots" buttons in the wizard, continued to the last page and hit "Finish". Is that the way you meant?
Comment 2 Grégoire Verlut 2011-07-15 09:02:13 UTC
this is exactly what I mean
Comment 3 Netterfield 2011-08-23 16:35:02 UTC
SVN commit 1249079 by netterfield:

CCBUG: 277740
Fix crash cases for a number of dialogs related to invalid input.
However, I can not confirm 277740, though I this may have fixed it.



 M  +2 -1      libkstapp/csddialog.h  
 M  +17 -1     libkstapp/curvedialog.cpp  
 M  +3 -1      libkstapp/curvedialog.h  
 M  +3 -2      libkstapp/datadialog.cpp  
 M  +1 -0      libkstapp/datadialog.h  
 M  +7 -1      libkstapp/equationdialog.cpp  
 M  +2 -0      libkstapp/equationdialog.h  
 M  +6 -1      libkstapp/histogramdialog.cpp  
 M  +3 -0      libkstapp/histogramdialog.h  
 M  +2 -0      libkstapp/imagedialog.h  
 M  +7 -1      libkstapp/legenditem.cpp  
 M  +7 -1      libkstapp/powerspectrumdialog.cpp  
 M  +2 -0      libkstapp/powerspectrumdialog.h  
 M  +9 -1      libkstapp/viewitem.cpp  
 M  +4 -0      widgets/vectorselector.cpp  
 M  +1 -0      widgets/vectorselector.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1249079
Comment 4 Nicolas Brisset 2011-08-23 16:47:11 UTC
Peter, could you test this as it seems to happen only under Windows?
Comment 5 Peter Kümmel 2012-04-25 18:04:49 UTC
Also fixed on Windows.