[GRASS5] d.legend crash (R_*() related?)

Markus Neteler neteler at itc.it
Tue Aug 23 11:56:01 EDT 2005


On Tue, Aug 23, 2005 at 11:09:52AM +0200, Markus Neteler wrote:
> On Mon, Aug 22, 2005 at 08:21:58PM -0700, Brad Douglas wrote:
> > On Mon, 2005-08-22 at 21:43 +0200, Markus Neteler wrote:
> > > On Mon, Aug 22, 2005 at 11:59:54AM -0700, Brad Douglas wrote:
> > > > On Mon, 2005-08-22 at 16:38 +0200, Markus Neteler wrote:
> > > > > 
> > > > > The d.legend/d.rast.leg worked last week - may it be related to recent R_() changes?
> > > > > 
> > > > > d.legend works fine if I don't use d.font.freetype.
> > > > > 
> > > > > Actually I don't know how to debug this as d.legend apparently crashes in the
> > > > > very first line.
> > > > 
> > > > Markus,
> > > > 
> > > > Could this be a 64bit issue?  I just updated my i686 machine and I'm
> > > > unable to replicate the problem.
> > >
> > > maybe yes. But I used it successfully on the same machine last week.
> > > I'll try again tomorrow (at home now). Maybe Huidae has an idea as well.
> > 
> > I had made some very minor changes over the weekend, but I temporarily
> > backed most of them out and recompiled with no success.
> > 
> 
> I have sort of located the problem:
> 
> I did:
> 
> d.mon x0
> d.font.freetype font=/usr/X11R6/lib/X11/fonts/TTF/luxirr.ttf
> d.legend evi_regress_4_6_2001.slope
> *** glibc detected *** double free or corruption (out): 0x00000000005460f0 ***
> ERROR eof from graphics driver.
> 

It also crashed with d.text which still worked last Friday:

GRASS 6.1.cvs (latlong):~ > d.mon x0
using default visual which is TrueColor
ncolors: 16777216
Graphics driver [x0] started
GRASS 6.1.cvs (latlong):~ > d.font.freetype font=/usr/X11R6/lib/X11/fonts/TTF/luximb.ttf
GRASS 6.1.cvs (latlong):~ > echo "TBE cases 1970-2005"| d.text col=black size=3 line=1
*** glibc detected *** double free or corruption (out): 0x00000000005448c0 ***
ERROR eof from graphics driver.

Markus




More information about the grass-dev mailing list