Bug#847995: Acknowledgement (gnuplot: segfault on plot, with wxt, and "Warning: Mismatch between the program and library build versions")
Jaggz H
jaggz.h at gmail.com
Mon Dec 12 23:34:44 UTC 2016
More information:
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.
Steps to reproduce:
1. ssh with port forwarding to system on which to run gnuplot in terminal
2. Extract attached datafile (called simply "g", from the attached "g.bz2")
4. plot [0:3000] "g" every ::70000::73000
5. Resize window
6. Before window finishes redrawing (takes maybe 10s over my slow wifi),
issue same plot command again
Run output follows:
$ gdb gnuplot
...
(gdb) run
Starting program: /usr/bin/gnuplot
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
G N U P L O T
Version 5.0 patchlevel 5 last modified 2016-10-02
...
immediate help: type "help" (plot window: hit 'h')
Terminal type set to 'wxt'
gnuplot> plot [0:3000] "g" every ::70000::73000
03:16:22 PM: Warning: Mismatch between the program and library build
versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx
containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1010,wx
containers,compatible with 2.8).
[New Thread 0x7fffec609700 (LWP 24624)]
gnuplot> plot [0:3000] "g" every ::70000::73000
Thread 1 "gnuplot" received signal SIGSEGV, Segmentation fault.
wxtPanel::wxt_cairo_create_bitmap (this=this at entry=0x7fffe409f000)
at ../../../src/wxterminal/wxt_gui.cpp:3585
3585 ../../../src/wxterminal/wxt_gui.cpp: No such file or directory.
(gdb) bt
#0 wxtPanel::wxt_cairo_create_bitmap (this=this at entry=0x7fffe409f000)
at ../../../src/wxterminal/wxt_gui.cpp:3585
#1 0x0000000000517cac in wxtPanel::wxt_cairo_refresh (this=0x7fffe409f000)
at ../../../src/wxterminal/wxt_gui.cpp:2865
#2 0x0000000000518ddd in wxt_text ()
at ../../../src/wxterminal/wxt_gui.cpp:2077
#3 0x00000000004f3479 in term_end_plot () at ../../../src/term.c:556
#4 0x00000000004f9745 in term_end_plot () at ../../../src/term.c:548
#5 0x0000000000454555 in do_plot (plots=0x818130, pcount=pcount at entry=1)
at ../../../src/graphics.c:928
#6 0x000000000047a02e in eval_plots () at ../../../src/plot2d.c:3388
#7 0x0000000000428247 in command () at ../../../src/command.c:625
#8 do_line () at ../../../src/command.c:420
#9 0x00000000004283ab in com_line () at ../../../src/command.c:322
#10 0x000000000041791c in main (argc=0, argv=0x7fffffffdd48)
at ../../../src/plot.c:660
(gdb)
Another run using the same or a similar window-resize -> impatient repeated
plot command yielded this segfault and backtrace:
Thread 1 "gnuplot" received signal SIGSEGV, Segmentation fault.
0x00000000009cf800 in ?? ()
(gdb) bt
#0 0x00000000009cf800 in ?? ()
#1 0x0000000000517cac in wxtPanel::wxt_cairo_refresh (this=0x7fffe409f000)
at ../../../src/wxterminal/wxt_gui.cpp:2865
#2 0x0000000000518ddd in wxt_text () at
../../../src/wxterminal/wxt_gui.cpp:2077
#3 0x00000000004f3479 in term_end_plot () at ../../../src/term.c:556
#4 0x00000000004f9745 in term_end_plot () at ../../../src/term.c:548
#5 0x0000000000454555 in do_plot (plots=0x81ac40, pcount=pcount at entry=1)
at ../../../src/graphics.c:928
#6 0x000000000047a02e in eval_plots () at ../../../src/plot2d.c:3388
#7 0x0000000000428247 in command () at ../../../src/command.c:625
#8 do_line () at ../../../src/command.c:420
#9 0x00000000004283ab in com_line () at ../../../src/command.c:322
#10 0x000000000041791c in main (argc=0, argv=0x7fffffffdd48) at
../../../src/plot.c:660
On Mon, Dec 12, 2016 at 2:57 PM, Debian Bug Tracking System <
owner at bugs.debian.org> wrote:
> Thank you for filing a new Bug report with Debian.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> As you requested using X-Debbugs-CC, your message was also forwarded to
> jaggz.h at gmail.com
> (after having been given a Bug report number, if it did not have one).
>
> Your message has been sent to the package maintainer(s):
> Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
>
> If you wish to submit further information on this problem, please
> send it to 847995 at bugs.debian.org.
>
> Please do not send mail to owner at bugs.debian.org unless you wish
> to report a problem with the Bug-tracking system.
>
> --
> 847995: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847995
> Debian Bug Tracking System
> Contact owner at bugs.debian.org with problems
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20161212/72e9a064/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: g.bz2
Type: application/x-bzip2
Size: 84568 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20161212/72e9a064/attachment-0001.bin>
More information about the debian-science-maintainers
mailing list