[GRASS-user] r.proj..."has stopped working"

Hamish hamish_b at yahoo.com
Wed Jun 17 06:09:44 EDT 2009


Richard Feldman wrote:
> (Tue Jun 16 11:09:28 2009) 
> r.proj in=elevation.dem location=spearfish60 mapset=PERMANENT out=elevation.dem
> (Tue Jun 16 11:09:31 2009) Command finished (3 sec)


I tried using the latest 6.4.0rc5 wingrass installer and that worked
fine for me on XP.

First I had to run g.region rast/vect= and v.in.region in the source
mapset, then exit & restart to the target mapset and run v.proj to pull
in the region box, 'g.region vect=region_box', then 'g.region res= -p'
to slightly improve on the original resolution (I just 1"), then finally
pull in raster map with r.proj.


I also discovered that concurrent GRASS sessions in WinGrass is a major
don't-go.


valgrind found memory allocation bugs, output copied below. probably this
is another bug which UNIX doesn't mind but Windows chokes on, like r.los
and r.sim.water.

==5480== ERROR SUMMARY: 521 errors from 6 contexts (suppressed: 107 from 1)



(this should go into a bug report)

Hamish


G65> CMD="r.proj in=elevation.dem loc=spearfish60 map=PERMANENT"
G65> valgrind --tool=memcheck --leak-check=yes --show-reachable=yes  $CMD --o
==5480== Memcheck, a memory error detector.
==5480== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==5480== Using LibVEX rev 1658, a library for dynamic binary translation.
==5480== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==5480== Using valgrind-3.2.1-Debian, a dynamic binary instrumentation framework.
==5480== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==5480== For more details, rerun with: -v
==5480== 
Input Projection Parameters:  +proj=utm +zone=13 +a=6378206.4 +rf=294.9786982 +no_defs +nadgrids=/usr/local/src/grass/svn/grass65/dist.i686-pc-linux-gnu/etc/nad/conus
Input Unit Factor: 1
Output Projection Parameters:  +proj=longlat +no_defs +a=6378137 +rf=298.257223563 +towgs84=0.000,0.000,0.000
Output Unit Factor: 1

Input:
Cols: 633 (633)
Rows: 466 (466)
North: 4928000.000000 (4928000.000000)
South: 4914020.000000 (4914020.000000)
West: 590010.000000 (590010.000000)
East: 609000.000000 (609000.000000)
EW-res: 30.000000
NS-res: 30.000000

Output:
Cols: 868 (901)
Rows: 452 (452)
North: 44.500278 (44.500278)
South: 44.374722 (44.374722)
West: -103.870556 (-103.875556)
East: -103.629444 (-103.625278)
EW-res: 0.000278
NS-res: 0.000278

Allocating memory and reading input map...
==5480== Syscall param write(buf) points to uninitialised byte(s)
==5480==    at 0x4000792: (within /lib/ld-2.3.6.so)
==5480==    by 0x804BF58: main (main.c:391)
==5480==  Address 0x6366A0C is 2,532 bytes inside a block of size 163,840 alloc'd
==5480==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==5480==    by 0x4037B8D: G__malloc (alloc.c:41)
==5480==    by 0x804C7D7: readcell (readcell.c:68)
==5480==    by 0x804BF58: main (main.c:391)
 100%
Projecting...
 100%
==5480== 
==5480== Invalid read of size 4
==5480==    at 0x4010DE9: (within /lib/ld-2.3.6.so)
==5480==    by 0x4004B78: (within /lib/ld-2.3.6.so)
==5480==    by 0x4006792: (within /lib/ld-2.3.6.so)
==5480==    by 0x479246F: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==5480==    by 0x4791EDE: _dl_open (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x47946FC: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==5480==    by 0x479475D: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x476E7CF: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x476E8BF: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x47704E5: __nss_passwd_lookup (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==  Address 0x6364354 is 36 bytes inside a block of size 38 alloc'd
==5480==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==5480==    by 0x4006B83: (within /lib/ld-2.3.6.so)
==5480==    by 0x479246F: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==5480==    by 0x4791EDE: _dl_open (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x47946FC: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==5480==    by 0x479475D: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x476E7CF: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x476E8BF: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x47704E5: __nss_passwd_lookup (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x471EB6E: getpwuid_r (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480== 
==5480== Conditional jump or move depends on uninitialised value(s)
==5480==    at 0x4008ED5: (within /lib/ld-2.3.6.so)
==5480==    by 0x47928C4: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==5480==    by 0x4791EDE: _dl_open (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x47946FC: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==5480==    by 0x479475D: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x476E7CF: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x476E8BF: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x47704E5: __nss_passwd_lookup (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x471EB6E: getpwuid_r (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x471E499: getpwuid (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480== 
==5480== Conditional jump or move depends on uninitialised value(s)
==5480==    at 0x4008B2E: (within /lib/ld-2.3.6.so)
==5480==    by 0x47928C4: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==5480==    by 0x4791EDE: _dl_open (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x47946FC: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==5480==    by 0x479475D: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x476E7CF: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x476E8BF: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x47704E5: __nss_passwd_lookup (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x471EB6E: getpwuid_r (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x471E499: getpwuid (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480== 
==5480== Invalid read of size 4
==5480==    at 0x4010DD3: (within /lib/ld-2.3.6.so)
==5480==    by 0x4004B78: (within /lib/ld-2.3.6.so)
==5480==    by 0x4006792: (within /lib/ld-2.3.6.so)
==5480==    by 0x479246F: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==5480==    by 0x4791EDE: _dl_open (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x47946FC: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==5480==    by 0x479475D: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x476E7CF: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x6468169: (within /lib/tls/i686/cmov/libnss_compat-2.3.6.so)
==5480==    by 0x646928C: _nss_compat_getpwuid_r (in /lib/tls/i686/cmov/libnss_compat-2.3.6.so)
==5480==  Address 0x6392BC8 is 32 bytes inside a block of size 35 alloc'd
==5480==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==5480==    by 0x4006B83: (within /lib/ld-2.3.6.so)
==5480==    by 0x479246F: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==5480==    by 0x4791EDE: _dl_open (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x47946FC: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==5480==    by 0x479475D: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x476E7CF: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x6468169: (within /lib/tls/i686/cmov/libnss_compat-2.3.6.so)
==5480==    by 0x646928C: _nss_compat_getpwuid_r (in /lib/tls/i686/cmov/libnss_compat-2.3.6.so)
==5480==    by 0x471EA94: getpwuid_r (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480== 
==5480== Invalid read of size 4
==5480==    at 0x4010DE9: (within /lib/ld-2.3.6.so)
==5480==    by 0x4004B78: (within /lib/ld-2.3.6.so)
==5480==    by 0x4006792: (within /lib/ld-2.3.6.so)
==5480==    by 0x400A1F6: (within /lib/ld-2.3.6.so)
==5480==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==5480==    by 0x400A3CA: (within /lib/ld-2.3.6.so)
==5480==    by 0x47924D4: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==5480==    by 0x4791EDE: _dl_open (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x47946FC: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==5480==    by 0x479475D: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==  Address 0x63647E4 is 36 bytes inside a block of size 37 alloc'd
==5480==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==5480==    by 0x4006B83: (within /lib/ld-2.3.6.so)
==5480==    by 0x400A1F6: (within /lib/ld-2.3.6.so)
==5480==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==5480==    by 0x400A3CA: (within /lib/ld-2.3.6.so)
==5480==    by 0x47924D4: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==5480==    by 0x4791EDE: _dl_open (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x47946FC: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==5480==    by 0x479475D: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x476E7CF: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.3.6.so)
r.proj complete.
==5480== 
==5480== ERROR SUMMARY: 521 errors from 6 contexts (suppressed: 107 from 1)
==5480== malloc/free: in use at exit: 897,369 bytes in 219 blocks.
==5480== malloc/free: 1,889 allocs, 1,670 frees, 1,199,242 bytes allocated.
==5480== For counts of detected errors, rerun with: -v
==5480== searching for pointers to 219 not-freed blocks.
==5480== checked 2,934,068 bytes.
==5480== 
==5480== 
==5480== 1 bytes in 1 blocks are still reachable in loss record 1 of 20
==5480==    at 0x401DB31: operator new(unsigned) (vg_replace_malloc.c:163)
==5480==    by 0x565226F: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x56A1F04: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x5617938: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x400B7F4: (within /lib/ld-2.3.6.so)
==5480==    by 0x400B920: (within /lib/ld-2.3.6.so)
==5480==    by 0x40007EE: (within /lib/ld-2.3.6.so)
==5480== 
==5480== 
==5480== 1 bytes in 1 blocks are still reachable in loss record 2 of 20
==5480==    at 0x401DB31: operator new(unsigned) (vg_replace_malloc.c:163)
==5480==    by 0x56721DF: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x56A1F04: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x5617938: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x400B7F4: (within /lib/ld-2.3.6.so)
==5480==    by 0x400B920: (within /lib/ld-2.3.6.so)
==5480==    by 0x40007EE: (within /lib/ld-2.3.6.so)
==5480== 
==5480== 
==5480== 8 bytes in 1 blocks are still reachable in loss record 3 of 20
==5480==    at 0x401DB31: operator new(unsigned) (vg_replace_malloc.c:163)
==5480==    by 0x5686C5D: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x56A1F04: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x5617938: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x400B7F4: (within /lib/ld-2.3.6.so)
==5480==    by 0x400B920: (within /lib/ld-2.3.6.so)
==5480==    by 0x40007EE: (within /lib/ld-2.3.6.so)
==5480== 
==5480== 
==5480== 16 bytes in 1 blocks are still reachable in loss record 4 of 20
==5480==    at 0x401DB31: operator new(unsigned) (vg_replace_malloc.c:163)
==5480==    by 0x5629523: geos::GeometryFactory::GeometryFactory() (in /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x562425A: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x56A1F04: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x5617938: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x400B7F4: (within /lib/ld-2.3.6.so)
==5480==    by 0x400B920: (within /lib/ld-2.3.6.so)
==5480==    by 0x40007EE: (within /lib/ld-2.3.6.so)
==5480== 
==5480== 
==5480== 16 bytes in 1 blocks are still reachable in loss record 5 of 20
==5480==    at 0x401DB31: operator new(unsigned) (vg_replace_malloc.c:163)
==5480==    by 0x5624250: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x56A1F04: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x5617938: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x400B7F4: (within /lib/ld-2.3.6.so)
==5480==    by 0x400B920: (within /lib/ld-2.3.6.so)
==5480==    by 0x40007EE: (within /lib/ld-2.3.6.so)
==5480== 
==5480== 
==5480== 24 bytes in 1 blocks are still reachable in loss record 6 of 20
==5480==    at 0x401DB31: operator new(unsigned) (vg_replace_malloc.c:163)
==5480==    by 0x56A0DEF: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x56A1F04: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x5617938: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x400B7F4: (within /lib/ld-2.3.6.so)
==5480==    by 0x400B920: (within /lib/ld-2.3.6.so)
==5480==    by 0x40007EE: (within /lib/ld-2.3.6.so)
==5480== 
==5480== 
==5480== 28 bytes in 1 blocks are still reachable in loss record 7 of 20
==5480==    at 0x401DB31: operator new(unsigned) (vg_replace_malloc.c:163)
==5480==    by 0x566001F: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x56A1F04: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x5617938: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x400B7F4: (within /lib/ld-2.3.6.so)
==5480==    by 0x400B920: (within /lib/ld-2.3.6.so)
==5480==    by 0x40007EE: (within /lib/ld-2.3.6.so)
==5480== 
==5480== 
==5480== 40 bytes in 5 blocks are indirectly lost in loss record 8 of 20
==5480==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==5480==    by 0x476E5CD: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x6468187: ???
==5480==    by 0x646928C: ???
==5480==    by 0x471EA94: getpwuid_r (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x471E499: getpwuid (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x4072C5C: G_whoami (whoami.c:70)
==5480==    by 0x4050B78: G_short_history (history.c:207)
==5480==    by 0x403D48C: close_new (closecell.c:311)
==5480==    by 0x403CBD7: G_close_cell (closecell.c:81)
==5480==    by 0x804C2BF: main (main.c:448)
==5480== 
==5480== 
==5480== 80 bytes in 5 blocks are indirectly lost in loss record 9 of 20
==5480==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==5480==    by 0x475B84B: tsearch (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x476E58E: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x6468169: ???
==5480==    by 0x646928C: ???
==5480==    by 0x471EA94: getpwuid_r (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x471E499: getpwuid (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x4072C5C: G_whoami (whoami.c:70)
==5480==    by 0x4050B78: G_short_history (history.c:207)
==5480==    by 0x403D48C: close_new (closecell.c:311)
==5480==    by 0x403CBD7: G_close_cell (closecell.c:81)
==5480==    by 0x804C2BF: main (main.c:448)
==5480== 
==5480== 
==5480== 140 bytes in 2 blocks are still reachable in loss record 10 of 20
==5480==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==5480==    by 0x46FD17F: strdup (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x40E322C: pj_gridinfo_init (in /usr/lib/libproj.so.0.5.4)
==5480==    by 0x40E431A: (within /usr/lib/libproj.so.0.5.4)
==5480==    by 0x40E44D4: pj_gridlist_from_nadgrids (in /usr/lib/libproj.so.0.5.4)
==5480==    by 0x40E07B4: pj_apply_gridshift (in /usr/lib/libproj.so.0.5.4)
==5480==    by 0x40E1B35: pj_datum_transform (in /usr/lib/libproj.so.0.5.4)
==5480==    by 0x40E1E1C: pj_transform (in /usr/lib/libproj.so.0.5.4)
==5480==    by 0x4024146: pj_do_proj (do_proj.c:84)
==5480==    by 0x804A055: bordwalk (bordwalk.c:56)
==5480==    by 0x804BB8C: main (main.c:309)
==5480== 
==5480== 
==5480== 156 (36 direct, 120 indirect) bytes in 1 blocks are definitely lost in loss record 11 of 20
==5480==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==5480==    by 0x476EA09: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x476F0F6: __nss_database_lookup (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x6468149: ???
==5480==    by 0x646928C: ???
==5480==    by 0x471EA94: getpwuid_r (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x471E499: getpwuid (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x4072C5C: G_whoami (whoami.c:70)
==5480==    by 0x4050B78: G_short_history (history.c:207)
==5480==    by 0x403D48C: close_new (closecell.c:311)
==5480==    by 0x403CBD7: G_close_cell (closecell.c:81)
==5480==    by 0x804C2BF: main (main.c:448)
==5480== 
==5480== 
==5480== 179 bytes in 3 blocks are definitely lost in loss record 12 of 20
==5480==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==5480==    by 0x46EECDA: vasprintf (in /lib/tls/i686/cmov/libc-2.3.6.so)
==5480==    by 0x4039A92: G_vasprintf (asprintf.c:61)
==5480==    by 0x4039AC9: G_asprintf (asprintf.c:122)
==5480==    by 0x4026A89: GPJ_get_datum_transform_by_name (datum.c:400)
==5480==    by 0x402612A: GPJ_get_default_datum_params_by_name (datum.c:90)
==5480==    by 0x402368A: pj_get_kv (get_proj.c:204)
==5480==    by 0x804B82D: main (main.c:234)
==5480== 
==5480== 
==5480== 256 bytes in 1 blocks are still reachable in loss record 13 of 20
==5480==    at 0x401DB31: operator new(unsigned) (vg_replace_malloc.c:163)
==5480==    by 0x56721F3: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x56A1F04: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x5617938: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x400B7F4: (within /lib/ld-2.3.6.so)
==5480==    by 0x400B920: (within /lib/ld-2.3.6.so)
==5480==    by 0x40007EE: (within /lib/ld-2.3.6.so)
==5480== 
==5480== 
==5480== 256 bytes in 1 blocks are still reachable in loss record 14 of 20
==5480==    at 0x401DB31: operator new(unsigned) (vg_replace_malloc.c:163)
==5480==    by 0x5686C3F: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x56A1F04: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x5617938: (within /usr/lib/libgeos.so.2.2.3)
==5480==    by 0x400B7F4: (within /lib/ld-2.3.6.so)
==5480==    by 0x400B920: (within /lib/ld-2.3.6.so)
==5480==    by 0x40007EE: (within /lib/ld-2.3.6.so)
==5480== 
==5480== 
==5480== 847 bytes in 79 blocks are definitely lost in loss record 15 of 20
==5480==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==5480==    by 0x4037B8D: G__malloc (alloc.c:41)
==5480==    by 0x405416E: G__location_path (location.c:80)
==5480==    by 0x405407E: G_location_path (location.c:41)
==5480==    by 0x404F7C4: G__gisinit (gisinit.c:58)
==5480==    by 0x804B443: main (main.c:134)
==5480== 
==5480== 
==5480== 6,656 bytes in 5 blocks are still reachable in loss record 16 of 20
==5480==    at 0x401C6CA: calloc (vg_replace_malloc.c:279)
==5480==    by 0x4037C00: G__calloc (alloc.c:74)
==5480==    by 0x405A4B0: G_parser (parser.c:762)
==5480==    by 0x804B638: main (main.c:202)
==5480== 
==5480== 
==5480== 11,776 bytes in 1 blocks are still reachable in loss record 17 of 20
==5480==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==5480==    by 0x4037C6C: G__realloc (alloc.c:109)
==5480==    by 0x4057644: new_fileinfo (opencell.c:42)
==5480==    by 0x4057AEE: G__open_cell_old (opencell.c:274)
==5480==    by 0x4057704: G_open_cell_old (opencell.c:104)
==5480==    by 0x804BF26: main (main.c:389)
==5480== 
==5480== 
==5480== 20,191 bytes in 7 blocks are still reachable in loss record 18 of 20
==5480==    at 0x401D487: realloc (vg_replace_malloc.c:306)
==5480==    by 0x4037C83: G__realloc (alloc.c:111)
==5480==    by 0x4046108: set_env (env.c:156)
==5480==    by 0x404681A: G__setenv (env.c:391)
==5480==    by 0x4059501: G_check_overwrite (overwrite.c:65)
==5480==    by 0x804B621: main (main.c:200)
==5480== 
==5480== 
==5480== 265,380 bytes in 19 blocks are still reachable in loss record 19 of 20
==5480==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==5480==    by 0x40DE25D: pj_malloc (in /usr/lib/libproj.so.0.5.4)
==5480==    by 0x40DEECF: pj_mkparam (in /usr/lib/libproj.so.0.5.4)
==5480==    by 0x40DD441: pj_init (in /usr/lib/libproj.so.0.5.4)
==5480==    by 0x402373F: pj_get_kv (get_proj.c:228)
==5480==    by 0x804B82D: main (main.c:234)
==5480== 
==5480== 
==5480== 591,438 bytes in 83 blocks are still reachable in loss record 20 of 20
==5480==    at 0x401D38B: malloc (vg_replace_malloc.c:149)
==5480==    by 0x4037B8D: G__malloc (alloc.c:41)
==5480==    by 0x406E0D4: G_store (store.c:36)
==5480==    by 0x4062CD0: G_set_program_name (progrm_nme.c:52)
==5480==    by 0x404F77C: G__gisinit (gisinit.c:51)
==5480==    by 0x804B443: main (main.c:134)
==5480== 
==5480== LEAK SUMMARY:
==5480==    definitely lost: 1,062 bytes in 83 blocks.
==5480==    indirectly lost: 120 bytes in 10 blocks.
==5480==      possibly lost: 0 bytes in 0 blocks.
==5480==    still reachable: 896,187 bytes in 126 blocks.
==5480==         suppressed: 0 bytes in 0 blocks.






      



More information about the grass-user mailing list