[geos-devel] Encounter Segmentation Fault with GEOS 2.2.2

strk at refractions.net strk at refractions.net
Thu Jun 29 07:46:36 EDT 2006


On Thu, Jun 29, 2006 at 02:23:45PM +0800, Sheng Liang (SH/CBC) wrote:
>   Thank you.
> 
>   I compared your code with mine. It is my fault. I didn't
> Pass a valid notice_function and an error_function when I call 
> initGEOS().

I get warnings passing printf as well, but signature really matches...

>   Now there is no segmenation fault. But an error still happen.
> The error message is :
> TopologyException: no outgoing dirEdge found (125.331,0)
> 
>   I can't dig into the source code of GEOS, for I don't know much about
> it.
> Did you encounter this error?

That's a robustness problem. With the CVS version of GEOS
(which should be pluggable w/out code rebuild) the exception
would be handled. Give it a try.

--strk;



More information about the geos-devel mailing list