Opened 10 years ago

Closed 6 years ago

#2773 closed defect (worksforme)

[raster] Invalid reads in rt_raster_gdal_rasterize

Reported by: strk Owned by: Bborie Park
Priority: high Milestone: PostGIS 2.2.7
Component: documentation Version: 2.0.x
Keywords: Cc:

Description

Running "make check" in 2.0 branch, with GDAL trunk (2.0.0) installed:

==18483== Invalid read of size 4
==18483==    at 0x5420C20: GDALDataset::GetShared() (gdaldataset.cpp:1112)
==18483==    by 0x542127A: GDALClose (gdaldataset.cpp:2603)
==18483==    by 0x41E4F6: rt_raster_gdal_rasterize (rt_api.c:10568)
==18483==    by 0x40AE63: testGDALRasterize (testapi.c:1894)
==18483==    by 0x4058EF: main (testapi.c:2857)
==18483==  Address 0xef10aa0 is 80 bytes inside a block of size 280 free'd
==18483==    at 0x4C2BADC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==18483==    by 0x5428CA5: GDALDriverManager::~GDALDriverManager() (gdaldrivermanager.cpp:196)
==18483==    by 0x5428E08: GDALDriverManager::~GDALDriverManager() (gdaldrivermanager.cpp:297)
==18483==    by 0x41E4EE: rt_raster_gdal_rasterize (rt_api.c:10566)
==18483==    by 0x40AE63: testGDALRasterize (testapi.c:1894)
==18483==    by 0x4058EF: main (testapi.c:2857)

Change History (6)

comment:1 by strk, 10 years ago

Resolution: invalid
Status: newclosed

I've been notfied that GDAL-2.0 is not supported by PostGIS-2.0 so this is invalid.

comment:2 by robe, 10 years ago

Component: rasterdocumentation
Resolution: invalid
Status: closedreopened
Summary: Invalid reads in rt_raster_gdal_rasterize[raster] Invalid reads in rt_raster_gdal_rasterize

I didn't know that. We should at very least amend the docs to note we don't support GDAL 2.0 in PostGIS 2.0.

I'm reopening this as a documentation bug.

Plan to put a note in docs and compatibility matrix — http://trac.osgeo.org/postgis/wiki/UsersWikiPostgreSQLPostGIS

comment:3 by pramsey, 9 years ago

Milestone: PostGIS 2.0.7PostGIS 2.0.8

comment:4 by pramsey, 7 years ago

Milestone: PostGIS 2.0.8PostGIS 2.2.6

comment:5 by pramsey, 7 years ago

Milestone: PostGIS 2.2.6PostGIS 2.2.7

comment:6 by robe, 6 years ago

Resolution: worksforme
Status: reopenedclosed
Note: See TracTickets for help on using tickets.