gnuplot crashes

Philipp Ost pj at smo.de
Sat Apr 24 20:10:48 UTC 2010


Andrea Venturoli wrote:
> Hello.
> I'm a long time gnuplot users; since a while, I had the following error
> when doing the first plot:
>
> Gnuplot-wxt error
> Couldn't load a PNG image - file is corrupted or not enough memory.
> (And under Details):
> [00][00][00][00]: unknown critical chunk
> Couldn't load a PNG image - file is corrupted or not enough memory.
> [00][00][00][00]: unknown critical chunk
> Couldn't load a PNG image - file is corrupted or not enough memory.
> [00][00][00][00]: unknown critical chunk
> Couldn't load a PNG image - file is corrupted or not enough memory.
> [00][00][00][00]: unknown critical chunk
> Couldn't load a PNG image - file is corrupted or not enough memory.

I've never seen that sort of message here, but I can reproduce the exact 
same behaviour you describe.
What I did:
gnuplot> set term x11
Terminal type set to 'x11'
Options are '0'
gnuplot> f(x) = sin(x)
gnuplot> plot f(x)
gnuplot> set term wxt
Terminal type set to 'wxt'
Options are '0'
gnuplot> replot
Abort(coredump)

So it seems like WX is indeed to blame.

[gdb output]

> "uname -a" gives
> FreeBSD bane.ventu 7.2-RELEASE-p7 FreeBSD 7.2-RELEASE-p7 #0: Sat Mar 20
> 19:33:34 CET 2010 root at bane.ventu:/usr/obj/usr/src/sys/BANE i386

I'm running 8.0-STABLE as of yesterday. gnuplot is at version 4.2.6.

> Should I file a PR?

I leave that up to you ;-)

Kind regards,
Philipp



More information about the freebsd-ports mailing list