logo       

Re: Encounter Segmentation Fault with GEOS 2.2.2: msg#00105

gis.geos.devel

Subject: Re: Encounter Segmentation Fault with GEOS 2.2.2

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;


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise