From: Ethan A Merritt <email@example.com> - 2006-01-11 22:22:04
I keep binaries of gnuplot 3.7 and 4.0 around for testing
backward compatibilities. Up until now I haven't had any
problem with them, other than making sure that I have copies
of the relevant older shared libraries as well.
However, I recently upgraded my linux systems to Mandriva 2006.
Now I am getting very strange error messages from 4.0
gnuplot> set term x11 font "arial"
Terminal type set to 'x11'
Options are '0 font "arial"'
gnuplot> plot x
gnuplot> *** glibc detected *** free(): invalid pointer: 0xb7f9561c ***
This seems to be coming from gnuplot_x11, which immediately dies.
Yes, it's the 4.0 version of gnuplot_x11.
The same binary runs fine if I boot into the previous version
of the operating system.
Ethan A Merritt
Biomolecular Structure Center
University of Washington, Seattle 98195-7742
Ethan A Merritt wrote:
> Now I am getting very strange error messages from 4.0
It's not really any stranger than equivalent messages that have trickled
down to us from Fedora Core users and Debianers recently. These modern
Linuxes come with some kind of default self-defense mechanism against
buggy programs. I.e. they're now picky enough to detect a dormant bug
in that old 4.0 binary.
> gnuplot> set term x11 font "arial"
> Terminal type set to 'x11'
> Options are '0 font "arial"'
> gnuplot> plot x
> gnuplot> *** glibc detected *** free(): invalid pointer: 0xb7f9561c ***
Does that also happen if you leave out the font spec? Does this binary
have access to a font named 'arial'?