Bug#665432: gnuplot: using stdin makes gnuplot crash

Agustin Martin agmartin at debian.org
Mon Mar 26 16:10:02 UTC 2012


On Sat, Mar 24, 2012 at 04:07:12AM +0100, Vincent Lefevre wrote:
> Package: gnuplot
> Version: 4.6.0-1
> Severity: important
> 
> Using stdin (whether the command makes sense or not), which is the
> common way to call gnuplot from a script, makes gnuplot crash. For
> instance:
> 
> $ echo "foo" | gnuplot -
> Segmentation fault (core dumped)

Hi, Vincent

In i386

$ echo "foo" | gnuplot

gnuplot> foo
         ^
         line 0: invalid command

while as you write

$ echo "foo" | gnuplot -
Segmentation fault

which is indeed a bug, if '-' is supported should work, otherwise should
fail gracefully.

> Architecture: amd64 (x86_64)

By the way, just noticed about 

#665832 gnuplot: Crashes with "Segmentation fault" on every command

happening in x86_64 (this may make things different from i386, where
things mostly work).

Regards,

-- 
Agustin





More information about the debian-science-maintainers mailing list