Opened 10 years ago
Closed 10 years ago
#2774 closed defect (fixed)
Conditional jump or move depends on uninitialised value(s)
Reported by: | strk | Owned by: | pramsey |
---|---|---|---|
Priority: | blocker | Milestone: | PostGIS 2.0.7 |
Component: | liblwgeom | Version: | 2.0.x |
Keywords: | Cc: |
Description
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==
Attachments (1)
Change History (7)
comment:1 by , 10 years ago
Component: | postgis → liblwgeom |
---|---|
Milestone: | → PostGIS 2.1.4 |
Priority: | high → critical |
Version: | trunk → 2.1.x |
comment:2 by , 10 years ago
To reproduce:
cd liblwgeom/cunit && libtool --mode=execute valgrind --workaround-gcc296-bugs=yes ./cu_tester test_lwgeom_distance_sphere
comment:3 by , 10 years ago
Milestone: | PostGIS 2.1.4 → PostGIS 2.0.7 |
---|---|
Priority: | critical → blocker |
Version: | 2.1.x → 2.0.x |
2.0 branch (pre 2.0.7) is also affected
comment:5 by , 10 years ago
It does,test_lwgeom_distance_sphere runs with no memory errors applying that patch (still has some leaks, but that's a different issue)
comment:6 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
2.1 branch (pre 2.1.4) is also affected