Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Apr 2010 22:10:42 +0200
From:      Philipp Ost <pj@smo.de>
To:        Andrea Venturoli <ml@netfence.it>
Cc:        glewis@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: gnuplot crashes
Message-ID:  <4BD35042.6030401@smo.de>
In-Reply-To: <4BD33A1D.3080700@netfence.it>
References:  <4BD33A1D.3080700@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms040801000907030400020005
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

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) =3D 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@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


--------------ms040801000907030400020005--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BD35042.6030401>