#1332 gnuplot crashes if csv file end each line with semicolon

closed-duplicate
nobody
None
5
2015-03-23
2014-01-31
Anonymous
No

I used gnuplot 4.6.0 under win7 and tried to switch to some newer version, eg. gp464-win32-rc1.zip or even gp470-20140118-win32-mingw.exe. I recognized the following bug that was not present under 4.6.0

The commands

set datafile separator ';'
plot "file/example.csv" using 1:2

with the file example.csv

  1;28.82;
  2;123;

lead to the error message "out of memory for expanding curve points" or gnuplot even crashes. If the csv file does not end each line with a semicolon:

 1;28.82
 2;123

everything works as expected.

Discussion

  • Ethan Merritt
    Ethan Merritt
    2014-01-31

    I can't reproduce this on linux using and version 4.6.* or current 4.7.

    Any other Windows users seeing this problem?

     
    • status: open --> pending-works-for-me
     
  • I can't reproduce this bug here using the gp464-win32-setup-rc1.exe and gp470-20140126-bug1323-win32-mingw.exe packages. These packages, as well as the 4.6.0 release, have all been built on different machines and using different compilers and libraries. So please make sure that the DLLs are installed along with the gnuplot executable. If in doubt, uninstall before reinstalling.

    Could you please provide some more information on which terminal you are using, how you installed gnuplot and how exactly you executed the above commands?

     
  • Ethan Merritt
    Ethan Merritt
    2014-02-01

    • status: pending-works-for-me --> closed-duplicate