Bug#665432: gnuplot: using stdin makes gnuplot crash
agmartin at debian.org
Fri Mar 30 12:21:13 UTC 2012
On Mon, Mar 26, 2012 at 11:11:47PM +0200, Vincent Lefevre wrote:
> Something more complex, as
> echo | gnuplot -
> does not crash.
> $ echo "foo" | valgrind gnuplot -
> ==11357== Memcheck, a memory error detector
> A null pointer dereference?
> So, there seems to be a problem with com_line() while interactive
> is TRUE (and I wonder what the intent is...).
Just for the records,
I have been trying to track this "the dumb way" (putting messages here and
there) and seems that the problem is in a call to gp_get_string called
from read_line called from com_line (all in command.c).
I had no time to go further and do not know when I will have it. I am
attaching a diff with a minimal fprintf set around the problem.
Hope this helps,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1054 bytes
Desc: not available
More information about the debian-science-maintainers