#2134: Create a general exit-safe interface to C libraries
--------------------------------------------------+-------------------------
 Reporter:  wenzeslaus                            |       Owner:  grass-dev@…   
           
     Type:  enhancement                           |      Status:  new           
           
 Priority:  normal                                |   Milestone:  7.0.0         
           
Component:  Python ctypes                         |     Version:  svn-trunk     
           
 Keywords:  G_fatal_error, exit, multiprocessing  |    Platform:  All           
           
      Cpu:  Unspecified                           |  
--------------------------------------------------+-------------------------

Comment(by glynn):

 Replying to [comment:4 zarch]:

 > Or as already suggested by Glynn (#1646) wrap the G_add_error_handler,

 Using an error handler allows you to avoid process termination. But once a
 fatal error has occurred, you cannot safely call any GRASS function; doing
 so may well result in a segfault.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2134#comment:6>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to