[postgis-devel] [PostGIS] #1302: AddFace getting left/right wrong

PostGIS trac at osgeo.org
Sat Nov 19 09:47:28 PST 2011


#1302: AddFace getting left/right wrong
----------------------+-----------------------------------------------------
 Reporter:  strk      |       Owner:  strk         
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.0.0
Component:  topology  |     Version:  trunk        
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by strk):

 A-ha, found something interesting thaanks to valgrind (and cunit testing):
 {{{
 ==17918== Source and destination overlap in memcpy(0x65f5ec0, 0x65f5ec0,
 16)
 ==17918==    at 0x4C28E2A: memcpy (mc_replace_strmem.c:497)
 ==17918==    by 0x4E43361: ptarray_reverse (string3.h:52)
 ==17918==    by 0x4E48474: lwpoly_force_clockwise (lwpoly.c:181)
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1302#comment:9>
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-devel mailing list