==11728== Memcheck, a memory error detector ==11728== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==11728== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info ==11728== Command: gdalinfo --debug on input/temperature.grb2 ==11728== ==11728== Invalid read of size 8 ==11728== at 0x5275658: unpk_g2ncep (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x52769ED: unpk_grib2 (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x5217319: ReadGrib2Record (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x5277AF6: GRIBRasterBand::ReadGribData(DataSource&, int, int, double**, grib_MetaData**) (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x5278AB7: GRIBDataset::Open(GDALOpenInfo*) (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x545FFFC: GDALOpenInternal(GDALOpenInfo&, char const* const*) (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x5460255: GDALOpenInternal(char const*, GDALAccess, char const* const*) (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x402F62: ??? (in /usr/bin/gdalinfo) ==11728== by 0xD4DCFDF: (below main) (in /usr/lib64/libc-2.20.so) ==11728== Address 0x150fd178 is 24 bytes after a block of size 176 in arena "client" ==11728== ==11728== Use of uninitialised value of size 8 ==11728== at 0x52756FE: unpk_g2ncep (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x52769ED: unpk_grib2 (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x5217319: ReadGrib2Record (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x5277AF6: GRIBRasterBand::ReadGribData(DataSource&, int, int, double**, grib_MetaData**) (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x5278AB7: GRIBDataset::Open(GDALOpenInfo*) (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x545FFFC: GDALOpenInternal(GDALOpenInfo&, char const* const*) (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x5460255: GDALOpenInternal(char const*, GDALAccess, char const* const*) (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x402F62: ??? (in /usr/bin/gdalinfo) ==11728== by 0xD4DCFDF: (below main) (in /usr/lib64/libc-2.20.so) ==11728== ==11728== Invalid read of size 8 ==11728== at 0x52756FE: unpk_g2ncep (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x52769ED: unpk_grib2 (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x5217319: ReadGrib2Record (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x5277AF6: GRIBRasterBand::ReadGribData(DataSource&, int, int, double**, grib_MetaData**) (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x5278AB7: GRIBDataset::Open(GDALOpenInfo*) (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x545FFFC: GDALOpenInternal(GDALOpenInfo&, char const* const*) (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x5460255: GDALOpenInternal(char const*, GDALAccess, char const* const*) (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x402F62: ??? (in /usr/bin/gdalinfo) ==11728== by 0xD4DCFDF: (below main) (in /usr/lib64/libc-2.20.so) ==11728== Address 0xd is not stack'd, malloc'd or (recently) free'd ==11728== ==11728== ==11728== Process terminating with default action of signal 11 (SIGSEGV) ==11728== Access not within mapped region at address 0xD ==11728== at 0x52756FE: unpk_g2ncep (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x52769ED: unpk_grib2 (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x5217319: ReadGrib2Record (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x5277AF6: GRIBRasterBand::ReadGribData(DataSource&, int, int, double**, grib_MetaData**) (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x5278AB7: GRIBDataset::Open(GDALOpenInfo*) (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x545FFFC: GDALOpenInternal(GDALOpenInfo&, char const* const*) (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x5460255: GDALOpenInternal(char const*, GDALAccess, char const* const*) (in /usr/lib64/libgdal.so.1.18.2) ==11728== by 0x402F62: ??? (in /usr/bin/gdalinfo) ==11728== by 0xD4DCFDF: (below main) (in /usr/lib64/libc-2.20.so) ==11728== If you believe this happened as a result of a stack ==11728== overflow in your program's main thread (unlikely but ==11728== possible), you can try to increase the size of the ==11728== main thread stack using the --main-stacksize= flag. ==11728== The main thread stack size used in this run was 8388608. ==11728== ==11728== HEAP SUMMARY: ==11728== in use at exit: 894,324 bytes in 1,651 blocks ==11728== total heap usage: 1,958 allocs, 307 frees, 1,488,791 bytes allocated ==11728== ==11728== LEAK SUMMARY: ==11728== definitely lost: 20 bytes in 1 blocks ==11728== indirectly lost: 0 bytes in 0 blocks ==11728== possibly lost: 5,739 bytes in 150 blocks ==11728== still reachable: 888,565 bytes in 1,500 blocks ==11728== suppressed: 0 bytes in 0 blocks ==11728== Rerun with --leak-check=full to see details of leaked memory ==11728== ==11728== For counts of detected and suppressed errors, rerun with: -v ==11728== Use --track-origins=yes to see where uninitialised values come from ==11728== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)