segfault

folkert <[email protected]> Thu, 27 Dec 2018 22:27:36 +0100
Newsgroups gmane.comp.graphics.gnuplot.bugs
Organization www.vanheusden.com
Message-ID <[email protected]>
Hi,

I can reproducible let gnuplot gnuplot-5.0.5+dfsg1 (from debian repo)
crash with:
- this script: https://keetweej.vanheusden.com/gnuplot/scatter_plot.scr
- which uses: https://keetweej.vanheusden.com/gnuplot/scatter_plot.dat

The backtrace it gives is:

#0  0x00007f31b7cba85b in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007f31b7ca5535 in __GI_abort () at abort.c:79
#2  0x00007f31b7cfc718 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f31b7e0729a "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007f31b7d02e3a in malloc_printerr (str=str@entry=0x7f31b7e0543b "free(): invalid pointer") at malloc.c:5382
#4  0x00007f31b7d06d4e in free_check (mem=<optimized out>, caller=<optimized out>) at hooks.c:254
#5  0x00005650da572403 in do_plot (plots=0x5650db234d20, pcount=pcount@entry=1) at .././../../src/graphics.c:609
#6  0x00005650da592e46 in eval_plots () at .././../../src/plot2d.c:3388
#7  0x00005650da5464b9 in command () at .././../../src/command.c:625
#8  0x00005650da5464b9 in do_line () at .././../../src/command.c:420
#9  0x00005650da54662d in com_line () at .././../../src/command.c:322
#10 0x00005650da536adc in main (argc=0, argv=0x7ffc30bb9188) at .././../../src/plot.c:660

It did not complete writing the svg:
https://keetweej.vanheusden.com/gnuplot/scatter_plot.svg


Folkert van Heusden

-- 


_______________________________________________
gnuplot-bugs mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-bugs