Firstly, download the latest version (5.4) of gnuplot from https://sourceforge.net/projects/gnuplot/files/gnuplot/5.4.0/.
Secondly, build gnuplot.
Thirdly, run gnuplot with the following command gnuplot < poc
, where poc is the attach file.
Stack trace:
#0 __strncpy_ssse3 () at ../sysdeps/x86_64/multiarch/strcpy-ssse3.S:2745 #1 0x00005555559455fd in strncpy (__len=0xffffffffffffffff, __src=<optimized out>, __dest=0x555555bfb600 "//)//?////////Q") at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106 #2 enhanced_recursion (p=0x555555bf8546 "//)//?////////Q", p@entry=0x555555bf8540 "s\377\354{/\"//)//?////////Q", brace=brace@entry=0x1, fontname=fontname@entry=0x5555559ac2f7 "", fontsize=1, base=<optimized out>, base@entry=0, widthflag=widthflag@entry=0x1, showflag=showflag@entry=0x1, overprint=<optimized out>, overprint@entry=0x0) at term.c:2257 #3 0x000055555594a642 in ENHest_put_text (x=0x0, y=0x0, str=0x555555bf8540 "s\377\354{/\"//)//?////////Q") at ../term/estimate.trm:150 #4 0x000055555594acaa in estimate_strlen (text=<optimized out>) at term.c:2503 #5 0x00005555555939da in find_maxl_keys (plots=plots@entry=0x555555bfbac0, count=count@entry=0x1, kcnt=kcnt@entry=0x555555be82e0 <ptitl_cnt>) at boundary.c:1142 #6 0x0000555555597c89 in boundary (plots=plots@entry=0x555555bfbac0, count=count@entry=0x1) at boundary.c:422 #7 0x00005555556bfad4 in do_plot (plots=0x555555bfbac0, pcount=pcount@entry=0x1) at graphics.c:701 #8 0x000055555576f1f3 in eval_plots () at plot2d.c:3525 #9 0x00005555555a9297 in plot_command () at command.c:1888 #10 0x00005555555b126a in command () at command.c:659 #11 do_line () at command.c:429 #12 0x00005555555b239a in com_line () at command.c:331 #13 0x00005555555693a5 in main (argc_orig=argc_orig@entry=0x1, argv=argv@entry=0x7fffffffe418) at plot.c:694 #14 0x00007ffff7463b97 in __libc_start_main (main=0x555555567d80 <main>, argc=0x1, argv=0x7fffffffe418, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe408) at ../csu/libc-start.c:310 #15 0x0000555555569a9a in _start ()
Missing attachment. Please either attach the script file or copy it into the text window.
Edit:
Never mind. I can create a reproducer from the stack trace.
Last edit: Ethan Merritt 2020-09-02
Fixed for both 5.4 and 5.5