[postgis-devel] [PostGIS] #466: test_rect_tree_contains_point segfaults

PostGIS trac at osgeo.org
Tue Mar 16 14:24:02 PDT 2010


#466: test_rect_tree_contains_point segfaults
----------------------+-----------------------------------------------------
  Reporter:  strk     |       Owner:  pramsey      
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  PostGIS 1.5.2
 Component:  postgis  |     Version:  1.5.X        
Resolution:           |    Keywords:               
----------------------+-----------------------------------------------------
Comment (by strk):

 Valgrind log:
 {{{
 ==32102== Use of uninitialised value of size 8
 ==32102==    at 0x40A217: test_rect_tree_contains_point
 (cu_measures.c:130)
 ==32102==    by 0x50B3459: (within /usr/lib/libcunit.so.1.0.1)
 ==32102==    by 0x50B3876: CU_run_test (in /usr/lib/libcunit.so.1.0.1)
 ==32102==    by 0x40E2E3: main (cu_tester.c:118)
 ==32102==
 ==32102== Invalid read of size 8
 ==32102==    at 0x40A217: test_rect_tree_contains_point
 (cu_measures.c:130)
 ==32102==    by 0x50B3459: (within /usr/lib/libcunit.so.1.0.1)
 ==32102==    by 0x50B3876: CU_run_test (in /usr/lib/libcunit.so.1.0.1)
 ==32102==    by 0x40E2E3: main (cu_tester.c:118)
 ==32102==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
 ==32102==
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/466#comment:1>
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