[postgis-tickets] [PostGIS] #3897: test_lwgeom_clip_by_rect has triggers bad memory access
PostGIS
trac at osgeo.org
Wed Oct 11 08:44:17 PDT 2017
#3897: test_lwgeom_clip_by_rect has triggers bad memory access
---------------------+---------------------------
Reporter: komzpa | Owner: pramsey
Type: defect | Status: new
Priority: high | Milestone: PostGIS 2.4.1
Component: postgis | Version: 2.4.x
Keywords: |
---------------------+---------------------------
While enabling -fsanitize=address for Travis it found an issue in existing
code:
https://travis-ci.org/postgis/postgis/builds/286570017#L4739
{{{
Test: test_lwgeom_clip_by_rect ...ASAN:SIGSEGV
=================================================================
==32713== ERROR: AddressSanitizer: SEGV on unknown address 0x00000000000c
(pc 0x2b1afafcc640 sp 0x7ffcbbe2e9b0 bp 0x7ffcbbe2e9d0 T0)
AddressSanitizer can not provide additional info.
#0 0x2b1afafcc63f
(/home/travis/build/postgis/postgis/liblwgeom/.libs/liblwgeom-2.5.so.0.0.0+0xde63f)
#1 0x2b1afafccc35
(/home/travis/build/postgis/postgis/liblwgeom/.libs/liblwgeom-2.5.so.0.0.0+0xdec35)
#2 0x2b1afafce2db
(/home/travis/build/postgis/postgis/liblwgeom/.libs/liblwgeom-2.5.so.0.0.0+0xe02db)
#3 0x4335d0 (/home/travis/build/postgis/postgis/liblwgeom/cunit/.libs
/lt-cu_tester+0x4335d0)
#4 0x2b1afb47ac99 (/usr/lib/libcunit.so.1.0.1+0x3c99)
#5 0x2b1afb47af27 (/usr/lib/libcunit.so.1.0.1+0x3f27)
#6 0x2b1afb47b2a5 (/usr/lib/libcunit.so.1.0.1+0x42a5)
#7 0x407dbb (/home/travis/build/postgis/postgis/liblwgeom/cunit/.libs
/lt-cu_tester+0x407dbb)
#8 0x2b1afb9acf44 (/lib/x86_64-linux-gnu/libc-2.19.so+0x21f44)
#9 0x407e81 (/home/travis/build/postgis/postgis/liblwgeom/cunit/.libs
/lt-cu_tester+0x407e81)
==32713== ABORTING
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3897>
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