[postgis-devel] [PostGIS] #465: st_makevalid segfault
PostGIS
trac at osgeo.org
Tue Mar 30 15:16:41 PDT 2010
#465: st_makevalid segfault
----------------------+-----------------------------------------------------
Reporter: pramsey | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Resolution: | Keywords: osx, opensuse
----------------------+-----------------------------------------------------
Comment (by robe):
strk,
And for your info. Evidentally Paul is running 8.3 too if you look at his
gdb output up there he is running 8.3.8. What's odd now is that mine is
not crashing after I recompiled GEOS and PostGIS with CFLAGS="-g -O0".
But I am getting 2 regression failures now
One on measures and one on clean.
{{{
*** clean_expected Fri Mar 19 06:39:05 2010
--- /tmp/pgis_reg_15331/test_50_out Tue Mar 30 16:09:35 2010
***************
*** 1,3 ****
--- 1,5 ----
+ NOTICE: Vertices lost in LWGEOM_GEOS_makeValid
+ NOTICE: Vertices lost in LWGEOM_GEOS_makeValid
RT|1|t|t|f
RT|2|t|t|f
RT|3|t|t|f
***************
*** 23,29 ****
RT|17.1|t|t|f
PG|1|t|t|f
PG|2|t|t|f
! PG|3|t|t|f
SRID1|3
SRID2|3
SRID3|3
--- 25,31 ----
}}}
I first installed the clean.sql in my postgis db and then ran that single
command Paul had above
{{{
echo "select st_astext(st_makevalid(orig)) from clean_cases where caseno =
3;" | valgrind --leak-check=yes --log-file=valgrind.log
/opt/PostgreSQL/8.3/bin/postgres --single -D /opt/PostgreSQL/8.3/data -p
5433 postgis
}}}
Doesn't crash -- but valgrind gives
See next attached file. Its all greek to me.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/465#comment:12>
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-devel
mailing list