[GRASS5] d.legend crash (R_*() related?)
Markus Neteler
neteler at itc.it
Mon Aug 22 10:38:20 EDT 2005
Hi,
some recent change must have introduced a new bug:
GRASS 6.1.cvs (pat):/eden0/ssi/scripts > echo $OUT
evi_regress_4_6_2001.slope
GRASS 6.1.cvs (pat):/eden0/ssi/scripts > d.font.freetype font=/usr/X11R6/lib/X11/fonts/TTF/luxirr.ttf
GRASS 6.1.cvs (pat):/eden0/ssi/scripts > d.rast $OUT
100%
GRASS 6.1.cvs (pat):/eden0/ssi/scripts > d.legend $OUT
*** glibc detected *** double free or corruption (out): 0x00000000005679d0 ***
ERROR eof from graphics driver.
########## gdb
GRASS 6.1.cvs (pat):/eden0/ssi/scripts > d.mon x0
using default visual which is TrueColor
ncolors: 16777216
Graphics driver [x0] started
GRASS 6.1.cvs (pat):/eden0/ssi/scripts > d.font.freetype font=/usr/X11R6/lib/X11/fonts/TTF/luxirr.ttf
GRASS 6.1.cvs (pat):/eden0/ssi/scripts > gdb `which d.legend`
GNU gdb Red Hat Linux (6.3.0.0-0.31rh)
...
This GDB was configured as "x86_64-redhat-linux-gnu"...Using host libthread_db library "/lib64/tls/libthread_db.so.1".
(gdb) r evi_regress_4_6_2001.slope
Starting program: /hardmnt/eden0/ssi/software/cvsgrass61/dist.x86_64-unknown-linux-gnu/bin/d.legend evi_regress_4_6_2001.slope
ERROR eof from graphics driver.
Program exited with code 01.
(gdb) bt full
No stack.
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
More information about the grass-dev
mailing list