[postgis-tickets] [PostGIS] #4218: Memory leak in lwline_clip_to_ordinate_range
PostGIS
trac at osgeo.org
Mon Oct 29 07:01:02 PDT 2018
#4218: Memory leak in lwline_clip_to_ordinate_range
------------------------+---------------------------
Reporter: Algunenano | Owner: pramsey
Type: defect | Status: new
Priority: high | Milestone: PostGIS 3.0.0
Component: postgis | Version: trunk
Keywords: |
------------------------+---------------------------
Detected when running unit tests (`test_lwmline_clip`):
{{{
Direct leak of 16 byte(s) in 2 object(s) allocated from:
#0 0x556b12c5f1d9 in __interceptor_malloc
(/home/raul/dev/public/postgis/liblwgeom/cunit/.libs/lt-cu_tester+0xf81d9)
#1 0x7fa0b14dff89 in lwcollection_construct_empty
/home/raul/dev/public/postgis/liblwgeom/lwcollection.c:106:15
#2 0x7fa0b152b96a in lwline_clip_to_ordinate_range
/home/raul/dev/public/postgis/liblwgeom/lwlinearreferencing.c:581:15
#3 0x7fa0b152b96a in lwgeom_clip_to_ordinate_range
/home/raul/dev/public/postgis/liblwgeom/lwlinearreferencing.c:886
#4 0x7fa0b152b015 in lwcollection_clip_to_ordinate_range
/home/raul/dev/public/postgis/liblwgeom/lwlinearreferencing.c:858:10
#5 0x7fa0b152b015 in lwgeom_clip_to_ordinate_range
/home/raul/dev/public/postgis/liblwgeom/lwlinearreferencing.c:904
#6 0x556b12c9fa3a in test_lwmline_clip
/home/raul/dev/public/postgis/liblwgeom/cunit/cu_algorithm.c:774:6
#7 0x7fa0b11ec117 (/usr/lib/libcunit.so.1+0x4117)
Direct leak of 16 byte(s) in 2 object(s) allocated from:
#0 0x556b12c5f1d9 in __interceptor_malloc
(/home/raul/dev/public/postgis/liblwgeom/cunit/.libs/lt-cu_tester+0xf81d9)
#1 0x7fa0b14dff89 in lwcollection_construct_empty
/home/raul/dev/public/postgis/liblwgeom/lwcollection.c:106:15
#2 0x7fa0b152b96a in lwline_clip_to_ordinate_range
/home/raul/dev/public/postgis/liblwgeom/lwlinearreferencing.c:581:15
#3 0x7fa0b152b96a in lwgeom_clip_to_ordinate_range
/home/raul/dev/public/postgis/liblwgeom/lwlinearreferencing.c:886
#4 0x7fa0b152b015 in lwcollection_clip_to_ordinate_range
/home/raul/dev/public/postgis/liblwgeom/lwlinearreferencing.c:858:10
#5 0x7fa0b152b015 in lwgeom_clip_to_ordinate_range
/home/raul/dev/public/postgis/liblwgeom/lwlinearreferencing.c:904
#6 0x556b12c9f993 in test_lwmline_clip
/home/raul/dev/public/postgis/liblwgeom/cunit/cu_algorithm.c:758:6
#7 0x7fa0b11ec117 (/usr/lib/libcunit.so.1+0x4117)
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4218>
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