[postgis-devel] lwg wkt parser kills postgres
Carl Anderson
carl.anderson at vadose.org
Mon Jun 7 16:39:45 PDT 2004
On 06/07/2004 07:15:46 PM, David Blasby wrote:
> Carl Anderson wrote:
>
>> On 06/07/2004 05:28:01 PM, David Blasby wrote:
>>
>>> strk wrote:
>>>
>>>> bison-1.33 and bison-1.32
>>>> Both keep killing the backend.
>>>>
>>>> test=# select 'POINT()'::lwgeom::geometry;
>>>> server closed the connection unexpectedly
>>>>
>>>> What about flex Dave ?
>>>
>>>
>>> $ flex --version
>>> flex version 2.5.4
>>
>>
>> this patch will give a hint
>> with it all regression tests complete correctly for me.
>
>
> Looks like your lex/yacc were giving you an extra error() function
> that was being incorrectly called instead of the "real" one.
>
>
Excuse my ignorance but grepping for "error\(" shows only the instance
in lwgparse.c
../../../src/Makefile.global
another hint
edit
../../../src/Makefile.global
set CFLAGS to not have -O2
ie from
CFLAGS = -O2 -fno-strict-aliasing
to
CFLAGS = -fno-strict-aliasing
and use EXACTLY what is in CVS
> dave
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>
More information about the postgis-devel
mailing list