[postgis-tickets] [PostGIS] #4331: ST_3DMakeBox crashes on POINT EMPTY

PostGIS trac at osgeo.org
Sun Feb 24 20:32:00 PST 2019


#4331: ST_3DMakeBox crashes on POINT EMPTY
---------------------+---------------------------
 Reporter:  robe     |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  blocker  |  Milestone:  PostGIS 3.0.0
Component:  postgis  |    Version:  2.4.x
 Keywords:           |
---------------------+---------------------------
 Tested on


 {{{
 POSTGIS="3.0.0dev r17279" [EXTENSION] PGSQL="120" GEOS="3.8.0dev-
 CAPI-1.11.0 a47cf0f5" SFCGAL="1.3.2" PROJ="Rel. 5.2.0, September 15th,
 2018" GDAL="GDAL 2.3.1, released 2018/06/22" LIBXML="2.7.8"
 LIBPROTOBUF="1.2.1" RASTER PostgreSQL 12develslicing on
 x86_64-w64-mingw32, compiled by gcc.exe (x86_64-posix-seh-rev0, Built by
 MinGW-W64 project) 8.1.0, 64-bit
 }}}

 and

 {{{
 POSTGIS="3.0.0dev r17265" [EXTENSION] PGSQL="110" GEOS="3.8.0dev-
 CAPI-1.11.0 a47cf0f5" PROJ="Rel. 5.2.0, September 15th, 2018"
 LIBXML="2.7.8" LIBPROTOBUF="1.2.1" PostgreSQL 11.0 on x86_64-w64-mingw32,
 compiled by gcc.exe (x86_64-posix-seh-rev0, Built by MinGW-W64 project)
 8.1.0, 64-bit
 }}}


 {{{
  SELECT ST_3DMakeBox(ST_GeomFromText('POINT EMPTY',4326),
 ST_GeomFromText('POINT EMPTY',4326))
 }}}

 I couldn't get a back trace for some reason. Just gives:


 {{{
 [Thread 9816.0x99c exited with code 0]
 [Thread 9816.0x3090 exited with code 3]
 [Thread 9816.0xd1c exited with code 3]
 [Inferior 1 (process 9816) exited with code 03]

 }}}



 PostGIS 2.5.1 is fine and gives:


 {{{
 BOX3D(0 2.61511713111389e-317 5.59388634019276e-317,5.59390215029343e-317
 3.47323850655278e-317 5.59386657756693e-317)
 }}}


 I think i had run garden tests earlier in 3.0 cycle so this might be a
 relatively new issue in 3.0.  Last time I tried running the tests I think
 a month or so it would hange becasue of thge GEOS 3.8 issue I was having
 under mingw64.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4331>
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