[postgis-tickets] [PostGIS] #2774: Conditional jump or move depends on uninitialised value(s)

PostGIS trac at osgeo.org
Mon Jun 23 02:24:21 PDT 2014


#2774: Conditional jump or move depends on uninitialised value(s)
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey
     Type:  defect   |      Status:  new    
 Priority:  high     |   Milestone:         
Component:  postgis  |     Version:  trunk  
 Keywords:           |  
---------------------+------------------------------------------------------
 According to valgrind, test_lwgeom_distance_sphere shows uninitialized
 values errors:
 {{{
 ==7337== Conditional jump or move depends on uninitialised value(s)
 ==7337==    at 0x4E65C04: gbox_merge (g_box.c:231)
 ==7337==    by 0x4E6BE8E: ptarray_calculate_gbox_geodetic
 (lwgeodetic.c:2521)
 ==7337==    by 0x4E6C009: lwgeom_calculate_gbox_geodetic
 (lwgeodetic.c:2553)
 ==7337==    by 0x4E6DCDE: lwgeom_distance_spheroid (lwgeodetic.c:2115)
 ==7337==    by 0x40DB32: test_lwgeom_distance_sphere (cu_geodetic.c:1234)
 ==7337==    by 0x509BBAA: ??? (in /usr/lib/libcunit.so.1.0.1)
 ==7337==    by 0x509BE85: ??? (in /usr/lib/libcunit.so.1.0.1)
 ==7337==    by 0x509C19F: CU_run_all_tests (in /usr/lib/libcunit.so.1.0.1)
 ==7337==    by 0x4050EF: main (cu_tester.c:136)
 ==7337==
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2774>
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