[postgis-tickets] [PostGIS] #2985: server crash when analyzing small tables
PostGIS
trac at osgeo.org
Thu Sep 22 22:23:38 PDT 2016
#2985: server crash when analyzing small tables
-----------------------+------------------------------------------
Reporter: nkiraly | Owner: pramsey
Type: defect | Status: reopened
Priority: critical | Milestone: PostGIS 2.2.3
Component: postgis | Version: 2.2.x
Resolution: | Keywords: analyze server crash freebsd
-----------------------+------------------------------------------
Comment (by robe):
ofca, how did you ever get PostGIS 2.2.2 installed? Did you have to hack
it.
I just tried compiling from PostGIS 2.2.2 tarball and get this:
{{{
wget http://download.osgeo.org/postgis/source/postgis-2.2.2.tar.gz
tar -xvzf postgis-2.2.2.tar.gz
cd postgis-2.2.2
./configure
make
rtpg_geometry.c:105:42: error: too many arguments to function call,
expected 2, have 3
gser = gserialized_from_lwgeom(geom, 0, &gser_size);
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/usr/local/include/liblwgeom.h:1957:1: note: 'gserialized_from_lwgeom'
declared here
extern GSERIALIZED* gserialized_from_lwgeom(LWGEOM *geom, size_t *size);
^
rtpg_geometry.c:184:42: error: too many arguments to function call,
expected 2, have 3
gser = gserialized_from_lwgeom(geom, 0, &gser_size);
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/usr/local/include/liblwgeom.h:1957:1: note: 'gserialized_from_lwgeom'
declared here
extern GSERIALIZED* gserialized_from_lwgeom(LWGEOM *geom, size_t *size);
^
rtpg_geometry.c:326:81: error: too many arguments to function call,
expected 2, have 3
gser =
gserialized_from_lwgeom(lwpoly_as_lwgeom(geomval2[call_cntr].geom), 0,
&gser_size);
~~~~~~~~~~~~~~~~~~~~~~~
^~~~~~~~~~
/usr/local/include/liblwgeom.h:1957:1: note: 'gserialized_from_lwgeom'
declared here
extern GSERIALIZED* gserialized_from_lwgeom(LWGEOM *geom, size_t *size);
^
rtpg_geometry.c:628:59: error: too many arguments to function call,
expected 2, have 3
gser = gserialized_from_lwgeom(pix2[call_cntr].geom, 0,
&gser_size);
~~~~~~~~~~~~~~~~~~~~~~~
^~~~~~~~~~
/usr/local/include/liblwgeom.h:1957:1: note: 'gserialized_from_lwgeom'
declared here
extern GSERIALIZED* gserialized_from_lwgeom(LWGEOM *geom, size_t *size);
^
4 errors generated.
gmake[3]: *** [<builtin>: rtpg_geometry.o] Error 1
gmake[3]: Leaving directory
'/usr/home/robe/sources/postgis-2.2.2/raster/rt_pg'
gmake[2]: *** [Makefile:28: pglib] Error 2
gmake[2]: Leaving directory '/usr/home/robe/sources/postgis-2.2.2/raster'
gmake[1]: *** [GNUmakefile:16: all] Error 1
gmake[1]: Leaving directory '/usr/home/robe/sources/postgis-2.2.2'
*** Error code 2
Stop.
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/2985#comment:29>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list