From: Lars H. <lhe...@us...> - 2004-07-21 11:05:56
|
I often use the "dumb" terminal with make check as some form of benchmark: $ time GNUTERM=dumb make check >/dev/null 2>&1 This fails with the current cvs head: ... @@@@ @@ @@ @gnuplot @@ **** @@ @@*** ***@@ @** **@ @@** **@@ @** $$$ $$$ **@ * $ $ $ $ * * $$ > $$ * * > * * > * * * > * * ** ** ** ** * ** ** * ** gnuplot ** * **** * *** *** ****** Press Return to continuemake[2]: *** [check-noninteractive] Error 139 make[2]: Leaving directory `/home/lhecking/src/cvs/gnuplot/demo' make[1]: *** [check-am] Error 2 A recompile with -g later, I get a core cump and the following backtrace: #0 0x00000000 in ?? () #1 0x00059864 in finish_filled_curve (points=4, corners=0xffbfe178, plot=0x1d6960) at graphics.c:1810 #2 0x0005d1f4 in fill_between (x1=10, yl1=280, yu1=16.733201000000001, x2=20, yl2=191, yu2=13.820275000000001, plot=0x1d6960) at graphics.c:2089 #3 0x0005b494 in plot_betweencurves (plot=0x1d6960) at graphics.c:1998 #4 0x00056ef0 in do_plot (plots=0x1d6960, pcount=3) at graphics.c:1512 #5 0x000ab114 in eval_plots () at plot2d.c:1986 #6 0x000a0b70 in plotrequest () at plot2d.c:248 #7 0x00027820 in plot_command () at command.c:1045 #8 0x00025d04 in command () at command.c:511 #9 0x000255c4 in do_line () at command.c:370 #10 0x00090fd8 in load_file (fp=0x1cab18, name=0x1d0600 "fillbetween.dem", can_do_args=0 '\0') at misc.c:269 #11 0x0002720c in load_command () at command.c:871 #12 0x00025d04 in command () at command.c:511 #13 0x000255c4 in do_line () at command.c:370 #14 0x00090fd8 in load_file (fp=0x1cab08, name=0xffbff1b0 "all.dem", can_do_args=0 '\0') at misc.c:269 #15 0x0009f448 in main (argc=1, argv=0xffbff020) at plot.c:622 It works fine with the x11 terminal. I can reproduce this on Solaris and Linux, so it's not an OS specific issue. To recreate it non-interactively: $ cd demo $ GNUPLOT_DIRVER_DIR=`pwd`/../src GNUTERM=dumb ../src/gnuplot ... Terminal type set to 'dumb' gnuplot> lo "fillbetween.dem" Segmentation Fault (core dumped) $ Btw. have we officially ditched the requirement that filenames must be 8+3 chars max? |