[GRASSLIST:8796] i.rectify Malloc crash

Nick Cahill ndcahill at facstaff.wisc.edu
Fri Oct 28 04:33:19 EDT 2005


I am trying to do a simple transformation of an image from UTM to an  
x-y coordinate system. Is i.rectify the best tool to use? All that  
has to happen is to rotate the image 28 degrees and move it; no  
complicated rubbersheeting.

I tried i.rectify under Mac OSX 10.4 using Lorenzo Moretti's  
excellent binaries. The latest cvs worked for a while and then crashed:


i.rectify group=DEM-UTM input=dem_gps_adj_bgridlevels  
extension=.bgrid order=1
Region N=2551.199104 S=135.390019 E=2929.179065 W=435.666369
Resolution EW=1.297353 NS=1.399658
Using Region: N=2551.199104 S=135.390019, E=2929.179065 W=435.666369
Rectified input file dem_gps_adj_bgridlevels will be saved as  
dem_gps_adj_bgridlevels.bgrid


i.rectify(1436) malloc: ***  Deallocation of a pointer not malloced:  
0xfc000; This could be a double free(), or free() called with the  
middle of an allocated block; Try setting environment variable  
MallocHelp to see tools to help debug
i.rectify(1436) malloc: ***  Deallocation of a pointer not malloced:  
0x411000; This could be a double free(), or free() called with the  
middle of an allocated block; Try setting environment variable  
MallocHelp to see tools to help debug
i.rectify(1436) malloc: ***  Deallocation of a pointer not malloced:  
0x445000; This could be a double free(), or free() called with the  
middle of an allocated block; Try setting environment variable  
MallocHelp to see tools to help debug
i.rectify(1436) malloc: ***  Deallocation of a pointer not malloced:  
0x435000; This could be a double free(), or free() called with the  
middle of an allocated block; Try setting environment variable  
MallocHelp to see tools to help debug
i.rectify(1436) malloc: ***  Deallocation of a pointer not malloced:  
0x425000; This could be a double free(), or free() called with the  
middle of an allocated block; Try setting environment variable  
MallocHelp to see tools to help debug
i.rectify(1436) malloc: ***  Deallocation of a pointer not malloced:  
0x415000; This could be a double free(), or free() called with the  
middle of an allocated block; Try setting environment variable  
MallocHelp to see tools to help debug
i.rectify(1436) malloc: ***  Deallocation of a pointer not malloced:  
0x40d000; This could be a double free(), or free() called with the  
middle of an allocated block; Try setting environment variable  
MallocHelp to see tools to help debug
i.rectify(1436) malloc: ***  Deallocation of a pointer not malloced:  
0x459000; This could be a double free(), or free() called with the  
middle of an allocated block; Try setting environment variable  
MallocHelp to see tools to help debug
i.rectify(1436) malloc: ***  Deallocation of a pointer not malloced:  
0x46d000; This could be a double free(), or free() called with the  
middle of an allocated block; Try setting environment variable  
MallocHelp to see tools to help debug
i.rectify(1436) malloc: ***  Deallocation of a pointer not malloced:  
0x45d000; This could be a double free(), or free() called with the  
middle of an allocated block; Try setting environment variable  
MallocHelp to see tools to help debug
i.rectify(1436) malloc: ***  Deallocation of a pointer not malloced:  
0x455000; This could be a double free(), or free() called with the  
middle of an allocated block; Try setting environment variable  
MallocHelp to see tools to help debug
i.rectify(1436) malloc: ***  Deallocation of a pointer not malloced:  
0x409000; This could be a double free(), or free() called with the  
middle of an allocated block; Try setting environment variable  
MallocHelp to see tools to help debug



GRASS 6.0 gave an odd error: it said the input file was not found in  
the imagery group, suggested I try one of the following files which  
*were* in the imagery group, among which it listed the input file. I  
tried renaming the input file, but it still gave the same error.

Any ideas ? I'd like to see i.rectify work, but I also wonder if  
there's an easier way to do the transformation.

Many thanks,

Nick Cahill




More information about the grass-user mailing list