#461: v.to.db crashes on a shapefile connected with v.external
-----------------------+----------------------------------------------------
  Reporter:  msieczka  |       Owner:  [email protected]
      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>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to