[GRASS-dev] Re: [GRASS GIS] #461: v.to.db crashes on a shapefile connected with v.external

GRASS GIS trac at osgeo.org
Tue Jan 12 03:13:22 EST 2010


#461: v.to.db crashes on a shapefile connected with v.external
-----------------------+----------------------------------------------------
  Reporter:  msieczka  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect    |      Status:  new                      
  Priority:  critical  |   Milestone:  6.4.0                    
 Component:  Vector    |     Version:  svn-develbranch6         
Resolution:            |    Keywords:                           
  Platform:  Linux     |         Cpu:  x86-64                   
-----------------------+----------------------------------------------------
Comment (by neteler):

 The suggested patch looks good:

 {{{
 # NC dataset
 v.external medfacs.shp out=medfacs layer=medfacs

 # unpatched:
 GRASS 6.4.0svn (nc_spm_08):~/books/kluwerbook/data3rd/wake > v.to.db
 medfacs option=area columns=AREA
 Reading areas...
 Segmentation fault

 # patched:
 GRASS 6.4.0svn (nc_spm_08):~/books/kluwerbook/data3rd/wake > v.to.db
 medfacs option=area columns=AREA
 Reading areas...
 ERROR: Table has no columns
 }}}

 It may not be immediate to derive the problem in this particular case but
 a healthy test.
 Please submit and I'll backport.

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


More information about the grass-dev mailing list