Dear gnuplot developers,
the following bug was originally reported in Debian [1].
[1] https://bugs.debian.org/827351
============================
Dear Maintainer(s),
trying to resize a gnuplot x window terminates the program.
Using as example a file "gpex.dat" with content
set xdata time
set timefmt "%d.%m.%Y"
set format x"%d.%m.%Y"
plot '-' using 1:2 with lines ; pause -1 "Hit return to continue"
15.01.2011 1507
15.02.2011 1786
15.03.2011 2036
15.04.2011 2278
16.05.2011 2520
and commanding
$ gnuplot gpex.dat
opens a new window. With version 4, this window could be resized but now,
trying to do that terminates gnuplot.
Regards,
jvp.
==============================
Thank you
Resizing in general is not broken. It seems to be the specific combination of in-line data + replot.
Current CVS does not suffer from this. I have found only one point of difference between 5.0 and current CVS that seems relevant. Copying the 5.1 code into 5.0 fixes the reported test case, so let's go with that. This is a one-liner if someone wants to pick up the fix immediately rather than wait for relase of 5.0.4
Thanks, Ethan, it really solves the problem. I have applied the patch in Debian.