[GRASS-dev] Re: [GRASS GIS] #1262: r.proj broken in all dev versions

GRASS GIS trac at osgeo.org
Sat Jan 22 00:04:59 EST 2011


#1262: r.proj broken in all dev versions
----------------------------------+-----------------------------------------
 Reporter:  cmbarton              |       Owner:  grass-dev@…              
     Type:  defect                |      Status:  new                      
 Priority:  blocker               |   Milestone:  6.4.1                    
Component:  Raster                |     Version:  unspecified              
 Keywords:  r.proj, reprojection  |    Platform:  MacOSX                   
      Cpu:  OSX/Intel             |  
----------------------------------+-----------------------------------------

Comment(by cmbarton):

 Here is the gdb results for r.proj


 {{{
 GRASS 6.4.1svn (nc_ll):~ > gdb `which r.proj`
 GNU gdb 6.3.50-20050815 (Apple version gdb-1510) (Wed Sep 22 02:45:02 UTC
 2010)
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you
 are
 welcome to change it and/or distribute copies of it under certain
 conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for
 details.
 This GDB was configured as "x86_64-apple-darwin"...Reading symbols for
 shared libraries ......
 warning: Could not find object file
 "/Users/Shared/src/gdal/gdal-1.7.1/frmts/o/.libs/wktrasterdataset.o" - no
 debug information available for "wktrasterdataset.cpp".


 warning: Could not find object file
 "/Users/Shared/src/gdal/gdal-1.7.1/frmts/o/.libs/wktrasterrasterband.o" -
 no debug information available for "wktrasterrasterband.cpp".


 warning: Could not find object file
 "/Users/Shared/src/gdal/gdal-1.7.1/frmts/o/.libs/wktrasterwrapper.o" - no
 debug information available for "wktrasterwrapper.cpp".

 .. done

 (gdb) run input=aspect location=nc_spm_07 mapset=PERMANENT
 Starting program:
 /Users/Shared/grass_dev/grass64_rb/macosx/dist/GRASS-6.4.app/Contents/MacOS/bin/r.proj
 input=aspect location=nc_spm_07 mapset=PERMANENT
 Reading symbols for shared libraries
 .+++++++.....................................................................................................
 done
 Input Projection Parameters:  +proj=lcc +lat_1=36.16666666666666
 +lat_2=34.33333333333334 +lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0
 +no_defs +a=6378137 +rf=298.257222101 +towgs84=0.000,0.000,0.000
 Input Unit Factor: 1
 Output Projection Parameters:  +proj=longlat +a=6378137 +rf=298.257223563
 +no_defs
 Output Unit Factor: 1

 Program received signal EXC_BAD_ACCESS, Could not access memory.
 Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
 0x00007fff80f94f2f in __vfprintf ()
 (gdb) bt full
 #0  0x00007fff80f94f2f in __vfprintf ()
 No symbol table info available.
 #1  0x00007fff80fc9b17 in vsnprintf ()
 No symbol table info available.
 #2  0x00007fff8100a4da in __vsprintf_chk ()
 No symbol table info available.
 #3  0x0000000100020f7d in print_error [inlined] () at
 /Users/Shared/grass_dev/grass64_rb/lib/gis/error.c:61
         buffer = "\020\035?\001\001\000\000\000@?
 p?\000\000?¿_?\000\000&\022???\000\000\000\000\000\000l??\000\000\000\000\000\000\000?¿_?\000\000 at u???\000\000\000Ŀ_?\000\000\000Ŀ_?\000\000\000Ŀ_?\000\000\000Ŀ_?\000\000?Ŀ_?\000\000@?
 p?\000\000?Ŀ_?\000\000?U\037p?\000\000?Ŀ_?\000\000h?\003\000\001\000\000\000?$?HZ\f?????=\032??ā???\000\000\000\000\000\000\000\000??\bN???,??0j\037p?\000\000??\036O??P?"...
 #4  0x0000000100020f7d in vfprint_error (type=0, template=<value
 temporarily unavailable, due to optimizations>, ap=<value temporarily
 unavailable, due to optimizations>) at error.c:64
         format = 1606392479
         type = Cannot access memory at address 0x0

 (gdb) l
 67          {p_nearest, "nearest", "nearest neighbor"},
 68          {p_bilinear, "bilinear", "bilinear"},
 69          {p_cubic, "cubic", "cubic convolution"},
 70          {NULL, NULL, NULL}
 71      };
 72
 73      static char *make_ipol_list(void);
 74
 75      int main(int argc, char **argv)
 76      {
 (gdb) frame 2
 #2  0x00007fff8100a4da in __vsprintf_chk ()
 (gdb) l
 77          char *mapname,              /* ptr to name of output layer  */
 78           *setname,                  /* ptr to name of input mapset  */
 79           *ipolname;                 /* name of interpolation method */
 80
 81          int fdi,                    /* input map file descriptor    */
 82            fdo,                      /* output map file descriptor   */
 83            method,                   /* position of method in table  */
 84            permissions,              /* mapset permissions           */
 85            cell_type,                /* output celltype              */
 86            cell_size,                /* size of a cell in bytes      */
 (gdb)

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1262#comment:7>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list