<div dir="ltr">More information:<div>It appears the segfault occurs if the plot window is resized and a subsequent plot command is issued before the window redraws.  Not as severe, but still a segfault.<br><div><br></div><div>Steps to reproduce:<div>1. ssh with port forwarding to system on which to run gnuplot in terminal<br><div>2. Extract attached datafile (called simply "g", from the attached "g.bz2")<br></div></div><div>4. plot [0:3000] "g" every ::70000::73000</div><div>5. Resize window</div><div>6. Before window finishes redrawing (takes maybe 10s over my slow wifi), issue same plot command again</div><div><br></div><div>Run output follows:</div><div><br></div><div>$ gdb gnuplot<br></div><div>...</div><div>(gdb) run<br></div><div><div>Starting program: /usr/bin/gnuplot</div><div>[Thread debugging using libthread_db enabled]</div><div>Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".</div><div><br></div><div>        G N U P L O T</div><div>        Version 5.0 patchlevel 5    last modified 2016-10-02</div><div>...</div><div>        immediate help:   type "help"  (plot window: hit 'h')</div><div><br></div><div>Terminal type set to 'wxt'</div><div>gnuplot> plot [0:3000] "g" every ::70000::73000</div><div>03:16:22 PM: Warning: Mismatch between the program and library build versions detected.</div><div>The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8),</div><div>and your program used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8).</div><div>[New Thread 0x7fffec609700 (LWP 24624)]</div><div>gnuplot> plot [0:3000] "g" every ::70000::73000</div><div><br></div><div>Thread 1 "gnuplot" received signal SIGSEGV, Segmentation fault.</div><div>wxtPanel::wxt_cairo_create_bitmap (this=this@entry=0x7fffe409f000)</div><div>    at ../../../src/wxterminal/wxt_gui.cpp:3585</div><div>3585    ../../../src/wxterminal/wxt_gui.cpp: No such file or directory.</div><div>(gdb) bt</div><div>#0  wxtPanel::wxt_cairo_create_bitmap (this=this@entry=0x7fffe409f000)</div><div>    at ../../../src/wxterminal/wxt_gui.cpp:3585</div><div>#1  0x0000000000517cac in wxtPanel::wxt_cairo_refresh (this=0x7fffe409f000)</div><div>    at ../../../src/wxterminal/wxt_gui.cpp:2865</div><div>#2  0x0000000000518ddd in wxt_text ()</div><div>    at ../../../src/wxterminal/wxt_gui.cpp:2077</div><div>#3  0x00000000004f3479 in term_end_plot () at ../../../src/term.c:556</div><div>#4  0x00000000004f9745 in term_end_plot () at ../../../src/term.c:548</div><div>#5  0x0000000000454555 in do_plot (plots=0x818130, pcount=pcount@entry=1)</div><div>    at ../../../src/graphics.c:928</div><div>#6  0x000000000047a02e in eval_plots () at ../../../src/plot2d.c:3388</div><div>#7  0x0000000000428247 in command () at ../../../src/command.c:625</div><div>#8  do_line () at ../../../src/command.c:420</div><div>#9  0x00000000004283ab in com_line () at ../../../src/command.c:322</div><div>#10 0x000000000041791c in main (argc=0, argv=0x7fffffffdd48)</div><div>    at ../../../src/plot.c:660</div><div>(gdb)</div></div><div><br></div></div></div><div>Another run using the same or a similar window-resize -> impatient repeated plot command yielded this segfault and backtrace:</div><div><div>Thread 1 "gnuplot" received signal SIGSEGV, Segmentation fault.</div><div>0x00000000009cf800 in ?? ()</div><div>(gdb) bt</div><div>#0  0x00000000009cf800 in ?? ()</div><div>#1  0x0000000000517cac in wxtPanel::wxt_cairo_refresh (this=0x7fffe409f000)</div><div>    at ../../../src/wxterminal/wxt_gui.cpp:2865</div><div>#2  0x0000000000518ddd in wxt_text () at ../../../src/wxterminal/wxt_gui.cpp:2077</div><div>#3  0x00000000004f3479 in term_end_plot () at ../../../src/term.c:556</div><div>#4  0x00000000004f9745 in term_end_plot () at ../../../src/term.c:548</div><div>#5  0x0000000000454555 in do_plot (plots=0x81ac40, pcount=pcount@entry=1)</div><div>    at ../../../src/graphics.c:928</div><div>#6  0x000000000047a02e in eval_plots () at ../../../src/plot2d.c:3388</div><div>#7  0x0000000000428247 in command () at ../../../src/command.c:625</div><div>#8  do_line () at ../../../src/command.c:420</div><div>#9  0x00000000004283ab in com_line () at ../../../src/command.c:322</div><div>#10 0x000000000041791c in main (argc=0, argv=0x7fffffffdd48) at ../../../src/plot.c:660</div></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 12, 2016 at 2:57 PM, Debian Bug Tracking System <span dir="ltr"><<a href="mailto:owner@bugs.debian.org" target="_blank">owner@bugs.debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you for filing a new Bug report with Debian.<br>
<br>
This is an automatically generated reply to let you know your message<br>
has been received.<br>
<br>
Your message is being forwarded to the package maintainers and other<br>
interested parties for their attention; they will reply in due course.<br>
<br>
As you requested using X-Debbugs-CC, your message was also forwarded to<br>
  <a href="mailto:jaggz.h@gmail.com">jaggz.h@gmail.com</a><br>
(after having been given a Bug report number, if it did not have one).<br>
<br>
Your message has been sent to the package maintainer(s):<br>
 Debian Science Team <<a href="mailto:debian-science-maintainers@lists.alioth.debian.org">debian-science-maintainers@<wbr>lists.alioth.debian.org</a>><br>
<br>
If you wish to submit further information on this problem, please<br>
send it to <a href="mailto:847995@bugs.debian.org">847995@bugs.debian.org</a>.<br>
<br>
Please do not send mail to <a href="mailto:owner@bugs.debian.org">owner@bugs.debian.org</a> unless you wish<br>
to report a problem with the Bug-tracking system.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
847995: <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847995" rel="noreferrer" target="_blank">http://bugs.debian.org/cgi-<wbr>bin/bugreport.cgi?bug=847995</a><br>
Debian Bug Tracking System<br>
Contact <a href="mailto:owner@bugs.debian.org">owner@bugs.debian.org</a> with problems<br>
</font></span></blockquote></div><br></div>