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

GRASS GIS trac at osgeo.org
Mon Jan 18 08:51:45 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 mmetz):

 Regarding the recent discussion about GRASS libraries and G_fatal_error()
 as well as the description of these functions, maybe rather issue a
 warning instead of an error and return -1? That would work because (at
 least) v.to.db checks the return value of db_select_int() and exits with
 an error if db_select_int() returns -1.

 Markus M

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


More information about the grass-dev mailing list