==20794== Memcheck, a memory error detector ==20794== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==20794== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info ==20794== Command: ./testapi ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C73C: quicksort (rt_api.c:139) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039340 is 0 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C743: quicksort (rt_api.c:141) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb04cbb0 is 79,984 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C75E: quicksort (rt_api.c:140) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb042f78 is 39,992 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C7D1: quicksort (rt_api.c:163) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039340 is 0 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C7D5: quicksort (rt_api.c:163) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb04cbb0 is 79,984 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C7E4: quicksort (rt_api.c:164) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039348 is 8 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C7FC: quicksort (rt_api.c:165) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb04cba8 is 79,976 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid write of size 8 ==20794== at 0x40C828: quicksort (rt_api.c:168) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb0394c8 is 392 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid write of size 8 ==20794== at 0x40C830: quicksort (rt_api.c:168) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb042c58 is 39,192 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C73C: quicksort (rt_api.c:139) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039340 is 0 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C743: quicksort (rt_api.c:141) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb03bb08 is 10,184 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C75E: quicksort (rt_api.c:140) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb03a720 is 5,088 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C7D1: quicksort (rt_api.c:163) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039340 is 0 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C7D5: quicksort (rt_api.c:163) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb03bb08 is 10,184 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C7E4: quicksort (rt_api.c:164) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039348 is 8 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C7FC: quicksort (rt_api.c:165) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb03bb00 is 10,176 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid write of size 8 ==20794== at 0x40C828: quicksort (rt_api.c:168) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb0393a0 is 96 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid write of size 8 ==20794== at 0x40C830: quicksort (rt_api.c:168) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb03b8b8 is 9,592 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C73C: quicksort (rt_api.c:139) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039340 is 0 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C743: quicksort (rt_api.c:141) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039608 is 712 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C75E: quicksort (rt_api.c:140) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb0394a0 is 352 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C7D1: quicksort (rt_api.c:163) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039340 is 0 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C7D5: quicksort (rt_api.c:163) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039608 is 712 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C7E4: quicksort (rt_api.c:164) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039348 is 8 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid write of size 8 ==20794== at 0x40C828: quicksort (rt_api.c:168) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039378 is 56 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid write of size 8 ==20794== at 0x40C830: quicksort (rt_api.c:168) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039608 is 712 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C7FC: quicksort (rt_api.c:165) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb0395c8 is 648 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C73C: quicksort (rt_api.c:139) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039340 is 0 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C743: quicksort (rt_api.c:141) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039450 is 272 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C75E: quicksort (rt_api.c:140) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb0393c8 is 136 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C7D1: quicksort (rt_api.c:163) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039340 is 0 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C7D5: quicksort (rt_api.c:163) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039450 is 272 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C7E4: quicksort (rt_api.c:164) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039348 is 8 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C7FC: quicksort (rt_api.c:165) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039448 is 264 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid write of size 8 ==20794== at 0x40C828: quicksort (rt_api.c:168) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039360 is 32 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid write of size 8 ==20794== at 0x40C830: quicksort (rt_api.c:168) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039408 is 200 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C84C: quicksort (rt_api.c:154) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039348 is 8 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C86B: quicksort (rt_api.c:154) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039360 is 32 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C84C: quicksort (rt_api.c:154) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb0395b0 is 624 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C86B: quicksort (rt_api.c:154) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb0395b8 is 632 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C84C: quicksort (rt_api.c:154) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb03b988 is 9,800 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40C86B: quicksort (rt_api.c:154) ==20794== by 0x40C81C: quicksort (rt_api.c:183) ==20794== by 0x40F232: rt_band_get_quantiles (rt_api.c:2180) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb03b990 is 9,808 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40F178: rt_band_get_quantiles (rt_api.c:2201) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039340 is 0 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40F106: rt_band_get_quantiles (rt_api.c:2198) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb03e158 is 19,992 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40F10C: rt_band_get_quantiles (rt_api.c:2198) ==20794== by 0x407144: testBandStats (testapi.c:1056) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb03e160 is 20,000 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40F5C8: rt_band_get_histogram (rt_api.c:2026) ==20794== by 0x407176: testBandStats (testapi.c:1060) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039340 is 0 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40F5C8: rt_band_get_histogram (rt_api.c:2026) ==20794== by 0x4071AB: testBandStats (testapi.c:1064) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039340 is 0 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40F5C8: rt_band_get_histogram (rt_api.c:2026) ==20794== by 0x4071E3: testBandStats (testapi.c:1068) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039340 is 0 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid free() / delete / delete[] ==20794== at 0x4C270BD: free (vg_replace_malloc.c:366) ==20794== by 0x407202: testBandStats (testapi.c:1072) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== Address 0xb039340 is 0 bytes inside a block of size 80,000 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x410BC0: rt_band_get_summary_stats (rt_api.c:1773) ==20794== by 0x4070FD: testBandStats (testapi.c:1051) ==20794== by 0x40BC8F: main (testapi.c:1866) ==20794== ==20794== Invalid read of size 8 ==20794== at 0x40BD60: main (testapi.c:1281) ==20794== Address 0xb597838 is 8 bytes inside a block of size 3,008 free'd ==20794== at 0x4C275A2: realloc (vg_replace_malloc.c:525) ==20794== by 0x40E164: rt_raster_gdal_drivers (rt_api.c:5385) ==20794== by 0x40BD46: main (testapi.c:1275) ==20794== ==20794== Invalid free() / delete / delete[] ==20794== at 0x4C270BD: free (vg_replace_malloc.c:366) ==20794== by 0x5741037: VSIFree (cpl_vsisimple.cpp:515) ==20794== by 0x5761C3C: GDALDestroyWarpOptions (gdalwarper.cpp:872) ==20794== by 0x41426B: rt_raster_transform (rt_api.c:5997) ==20794== by 0x4082F5: testTransform (testapi.c:1482) ==20794== by 0x40BE7C: main (testapi.c:1894) ==20794== Address 0xb09ed10 is 0 bytes inside a block of size 8 free'd ==20794== at 0x4C270BD: free (vg_replace_malloc.c:366) ==20794== by 0x5741037: VSIFree (cpl_vsisimple.cpp:515) ==20794== by 0x5761C3C: GDALDestroyWarpOptions (gdalwarper.cpp:872) ==20794== by 0x56AB291: GDALAutoCreateWarpedVRT (vrtwarped.cpp:177) ==20794== by 0x414260: rt_raster_transform (rt_api.c:5991) ==20794== by 0x4082F5: testTransform (testapi.c:1482) ==20794== by 0x40BE7C: main (testapi.c:1894) ==20794== ==20794== Invalid free() / delete / delete[] ==20794== at 0x4C270BD: free (vg_replace_malloc.c:366) ==20794== by 0x5741037: VSIFree (cpl_vsisimple.cpp:515) ==20794== by 0x5761C4C: GDALDestroyWarpOptions (gdalwarper.cpp:873) ==20794== by 0x41426B: rt_raster_transform (rt_api.c:5997) ==20794== by 0x4082F5: testTransform (testapi.c:1482) ==20794== by 0x40BE7C: main (testapi.c:1894) ==20794== Address 0xb09f270 is 0 bytes inside a block of size 8 free'd ==20794== at 0x4C270BD: free (vg_replace_malloc.c:366) ==20794== by 0x5741037: VSIFree (cpl_vsisimple.cpp:515) ==20794== by 0x5761C4C: GDALDestroyWarpOptions (gdalwarper.cpp:873) ==20794== by 0x56AB291: GDALAutoCreateWarpedVRT (vrtwarped.cpp:177) ==20794== by 0x414260: rt_raster_transform (rt_api.c:5991) ==20794== by 0x4082F5: testTransform (testapi.c:1482) ==20794== by 0x40BE7C: main (testapi.c:1894) ==20794== ==20794== Invalid free() / delete / delete[] ==20794== at 0x4C270BD: free (vg_replace_malloc.c:366) ==20794== by 0x5741037: VSIFree (cpl_vsisimple.cpp:515) ==20794== by 0x5761C5C: GDALDestroyWarpOptions (gdalwarper.cpp:874) ==20794== by 0x41426B: rt_raster_transform (rt_api.c:5997) ==20794== by 0x4082F5: testTransform (testapi.c:1482) ==20794== by 0x40BE7C: main (testapi.c:1894) ==20794== Address 0xb0a16f0 is 0 bytes inside a block of size 8 free'd ==20794== at 0x4C270BD: free (vg_replace_malloc.c:366) ==20794== by 0x5741037: VSIFree (cpl_vsisimple.cpp:515) ==20794== by 0x5761C5C: GDALDestroyWarpOptions (gdalwarper.cpp:874) ==20794== by 0x56AB291: GDALAutoCreateWarpedVRT (vrtwarped.cpp:177) ==20794== by 0x414260: rt_raster_transform (rt_api.c:5991) ==20794== by 0x4082F5: testTransform (testapi.c:1482) ==20794== by 0x40BE7C: main (testapi.c:1894) ==20794== ==20794== Invalid free() / delete / delete[] ==20794== at 0x4C270BD: free (vg_replace_malloc.c:366) ==20794== by 0x5741037: VSIFree (cpl_vsisimple.cpp:515) ==20794== by 0x5761C6C: GDALDestroyWarpOptions (gdalwarper.cpp:875) ==20794== by 0x41426B: rt_raster_transform (rt_api.c:5997) ==20794== by 0x4082F5: testTransform (testapi.c:1482) ==20794== by 0x40BE7C: main (testapi.c:1894) ==20794== Address 0xb0a4490 is 0 bytes inside a block of size 8 free'd ==20794== at 0x4C270BD: free (vg_replace_malloc.c:366) ==20794== by 0x5741037: VSIFree (cpl_vsisimple.cpp:515) ==20794== by 0x5761C6C: GDALDestroyWarpOptions (gdalwarper.cpp:875) ==20794== by 0x56AB291: GDALAutoCreateWarpedVRT (vrtwarped.cpp:177) ==20794== by 0x414260: rt_raster_transform (rt_api.c:5991) ==20794== by 0x4082F5: testTransform (testapi.c:1482) ==20794== by 0x40BE7C: main (testapi.c:1894) ==20794== ==20794== ==20794== HEAP SUMMARY: ==20794== in use at exit: 156,065 bytes in 662 blocks ==20794== total heap usage: 46,354 allocs, 45,697 frees, 1,641,682,591 bytes allocated ==20794== ==20794== LEAK SUMMARY: ==20794== definitely lost: 122,800 bytes in 27 blocks ==20794== indirectly lost: 30,202 bytes in 616 blocks ==20794== possibly lost: 1,100 bytes in 2 blocks ==20794== still reachable: 1,963 bytes in 17 blocks ==20794== suppressed: 0 bytes in 0 blocks ==20794== Rerun with --leak-check=full to see details of leaked memory ==20794== ==20794== For counts of detected and suppressed errors, rerun with: -v ==20794== ERROR SUMMARY: 166406 errors from 54 contexts (suppressed: 12 from 6)