|
From: Philipp K. J. <ja...@ie...> - 2015-02-13 01:08:19
|
I seem to be encountering a problem when running
splot in a loop.
Assume this is in a file called "script.gp":
t = 0
while( 1 ) {
t = t + 0.1
splot [][][-1:1] cos(sqrt(x**2+y**2) - t)
}
Then
load "script.gp"
runs fine and can be stopped w/ Control-C.
Now, let's assume that I let it run for a few
seconds, then stop it, then "load" the script
again. After about 2 or 3 repetitions of this
cycle, gnuplot becomes unresponsive - sometimes
printing the following message:
wxt display server shutting down - no response
Gnuplot not exited using gp_exit(). Exit handlers may not work
correctly!
Sometimes not even that. It has to be killed
externally.
Is this known behavior? I have no idea how to
debug this. (The problem is not an overflow
of "t". I checked that.)
Best,
Ph.
|