Ticket #207
(closed task: fixed)
Remove memory leaks to make trunk production ready
| Reported by: |
mloskot |
Owned by: |
mloskot
|
|
Priority:
|
major
|
Milestone:
|
3.1.0
|
|
Component:
|
Core
|
Version:
|
svn-trunk
|
|
Severity:
|
Significant
|
Keywords:
|
memory,leak,debugging,valgrind
|
|
Cc:
|
|
|
|
There has been number of memory leaks recently observed and reported by users and developers.
This is a all-in-one task devoted to memory leaks cleanup in GEOS core, C API layer and tests:
- Goal: make GEOS trunk production-ready
- In particular, remove all memory leaks
- Not just prepared geometry, also check other use cases exercised by PostGIS (standard intersection, union, intersects, contains, within, etc.)
Everyone interested, please, report observed memory leaks as comments to this ticket. Don't forget to attach files with test geometries, test queries, test programs, all steps required to reproduce particular memory leak(s).
Attachments
-
pramsey-memory-leaks-test-case-polygon.txt
(7.3 KB) - added by mloskot
5 years ago.
-
File with EWKB of test polygon from Paul Ramsey. Test it for intersects, contains, within, touches against itself but using distinct Geometry objects. For bonus marks, move one copy of geometry 200 units to the west and try again. Try versions of prepared geometry of the same tests.
-
test_leaks.cpp
(2.6 KB) - added by mloskot
5 years ago.
-
Simple program testing geos::geom::Geometry objects and Geometry predicates on Paul's polygon loaded from EWKB stream in file pramsey-memory-leaks-test-case-polygon.txt. If built using Visual C++ and with Visual Leak Detector available, define preprocessor macro GEOS_DEBUG_MSVC_USE_VLD to enable VLD engine.
-
test_leaks_geom_pred.cpp
(3.1 KB) - added by mloskot
5 years ago.
-
Simple program testing geos::geom::prep::PreparedGeometry objects and spatial predicates on Paul's polygon loaded from EWKB stream in file pramsey-memory-leaks-test-case-polygon.txt. If built using Visual C++ and with Visual Leak Detector available, define preprocessor macro GEOS_DEBUG_MSVC_USE_VLD to enable VLD engine.
Change History