[fdo-trac] #382: "Memory allocation failed" when attempting to get FGF text from certain features

FDO trac_fdo at osgeo.org
Fri Aug 22 10:51:47 EDT 2008


#382: "Memory allocation failed" when attempting to get FGF text from certain
features
----------------------+-----------------------------------------------------
 Reporter:  jng       |         Owner:  gregboone
     Type:  defect    |        Status:  new      
 Priority:  critical  |     Milestone:           
Component:  FDO API   |       Version:  3.2.0    
 Severity:  1         |    Resolution:           
 Keywords:            |   External_id:           
----------------------+-----------------------------------------------------
Comment (by jng):

 Additional notes by Dan Stoica:

 Did some investigations on this matter. Turns out that:

 a) the polygon in question has a ring which is not closed.
 b) the geometry factory throws an appropriate exception "Open ring"
 c) the exception is not caught by GetText()
 d) for some odd reason the exception is turned into "memory allocation
 error"

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/382#comment:2>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list