[gdal-dev] ubuntu installation issue: free(): invalid pointer, Aborted (core dumped)

Even Rouault even.rouault at spatialys.com
Sat May 8 08:11:17 PDT 2021


ok, so your GDAL is linking against 2 PROJ versions libproj.so.15 and 
libproj.so.19. Make sure your libspatialite and libgeotiff versions are 
from the ubuntugis PPA, so they link gainst libproj.so.19 and no .so.15

Le 08/05/2021 à 16:42, Bryan Keith a écrit :
> Yes, I'm using the ubuntugis ppa with 3.2.1+dfsg-1~focal0
> but I have no specific need to use that.  Should I use a different 
> version?
>
> Now I'll paste the results of the two commands you requested.
>
> ldd `which ogrinfo`
>
> linux-vdso.so.1 (0x00007ffd7e5b4000)
>     libgdal.so.28 => /usr/lib/libgdal.so.28 (0x00007f2f66e29000)
>     libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
> (0x00007f2f66c48000)
>     libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
> (0x00007f2f66c2d000)
>     libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2f66a3b000)
>     libheif.so.1 => /usr/lib/x86_64-linux-gnu/libheif.so.1 
> (0x00007f2f669bb000)
>     libarmadillo.so.9 => /usr/lib/libarmadillo.so.9 (0x00007f2f669a8000)
>     libpoppler.so.97 => /usr/lib/x86_64-linux-gnu/libpoppler.so.97 
> (0x00007f2f66661000)
>     libjson-c.so.4 => /usr/lib/x86_64-linux-gnu/libjson-c.so.4 
> (0x00007f2f6664f000)
>     libfreexl.so.1 => /usr/lib/x86_64-linux-gnu/libfreexl.so.1 
> (0x00007f2f66644000)
>     libqhull.so.7 => /usr/lib/x86_64-linux-gnu/libqhull.so.7 
> (0x00007f2f663ea000)
>     libgeos_c.so.1 => /usr/lib/x86_64-linux-gnu/libgeos_c.so.1 
> (0x00007f2f663a7000)
>     libwebp.so.6 => /usr/lib/x86_64-linux-gnu/libwebp.so.6 
> (0x00007f2f6613e000)
>     libepsilon.so.1 => /usr/lib/x86_64-linux-gnu/libepsilon.so.1 
> (0x00007f2f66122000)
>     libodbc.so.2 => /usr/lib/x86_64-linux-gnu/libodbc.so.2 
> (0x00007f2f660b0000)
>     libodbcinst.so.2 => /usr/lib/x86_64-linux-gnu/libodbcinst.so.2 
> (0x00007f2f66098000)
>     libkmlbase.so.1 => /usr/lib/x86_64-linux-gnu/libkmlbase.so.1 
> (0x00007f2f6607b000)
>     libkmldom.so.1 => /usr/lib/x86_64-linux-gnu/libkmldom.so.1 
> (0x00007f2f65fda000)
>     libkmlengine.so.1 => /usr/lib/x86_64-linux-gnu/libkmlengine.so.1 
> (0x00007f2f65fa0000)
>     libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 
> (0x00007f2f65f70000)
>     libxerces-c-3.2.so => /usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so 
> (0x00007f2f65bdd000)
>     libopenjp2.so.7 => /usr/lib/x86_64-linux-gnu/libopenjp2.so.7 
> (0x00007f2f65b87000)
>     libnetcdf.so.15 => /usr/lib/x86_64-linux-gnu/libnetcdf.so.15 
> (0x00007f2f65a62000)
>     libhdf5_serial.so.103 => 
> /usr/lib/x86_64-linux-gnu/libhdf5_serial.so.103 (0x00007f2f656e5000)
>     libmfhdfalt.so.0 => /usr/lib/libmfhdfalt.so.0 (0x00007f2f656bb000)
>     libdfalt.so.0 => /usr/lib/libdfalt.so.0 (0x00007f2f65614000)
>     libogdi.so.4.1 => /usr/lib/libogdi.so.4.1 (0x00007f2f655f8000)
>     libgif.so.7 => /usr/lib/x86_64-linux-gnu/libgif.so.7 
> (0x00007f2f655ed000)
>     libCharLS.so.2 => /usr/lib/x86_64-linux-gnu/libCharLS.so.2 
> (0x00007f2f6559e000)
>     libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 
> (0x00007f2f65519000)
>     libgeotiff.so.5 => /usr/lib/x86_64-linux-gnu/libgeotiff.so.5 
> (0x00007f2f654e4000)
>     libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 
> (0x00007f2f654aa000)
>     libcfitsio.so.8 => /usr/lib/x86_64-linux-gnu/libcfitsio.so.8 
> (0x00007f2f651ab000)
>     libpq.so.5 => /usr/lib/x86_64-linux-gnu/libpq.so.5 
> (0x00007f2f6515b000)
>     libproj.so.19 => /usr/lib/x86_64-linux-gnu/libproj.so.19 
> (0x00007f2f64dea000)
>     libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 
> (0x00007f2f64cc1000)
>     libtiff.so.5 => /usr/lib/x86_64-linux-gnu/libtiff.so.5 
> (0x00007f2f64c40000)
>     libdeflate.so.0 => /usr/lib/x86_64-linux-gnu/libdeflate.so.0 
> (0x00007f2f64c20000)
>     libspatialite.so.7 => /usr/lib/x86_64-linux-gnu/libspatialite.so.7 
> (0x00007f2f64691000)
>     libdapclient.so.6 => /usr/lib/x86_64-linux-gnu/libdapclient.so.6 
> (0x00007f2f64649000)
>     libdap.so.25 => /usr/lib/x86_64-linux-gnu/libdap.so.25 
> (0x00007f2f644ab000)
>     libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 
> (0x00007f2f64438000)
>     libcurl-gnutls.so.4 => 
> /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4 (0x00007f2f643a9000)
>     libfyba.so.0 => /usr/lib/x86_64-linux-gnu/libfyba.so.0 
> (0x00007f2f6434f000)
>     libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 
> (0x00007f2f64195000)
>     libmysqlclient.so.21 => 
> /usr/lib/x86_64-linux-gnu/libmysqlclient.so.21 (0x00007f2f63a9f000)
>     libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
> (0x00007f2f63a7c000)
>     libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f2f63a60000)
>     libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 
> (0x00007f2f6378a000)
>     libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f2f63782000)
>     libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f2f63633000)
>     /lib64/ld-linux-x86-64.so.2 (0x00007f2f68428000)
>     libde265.so.0 => /usr/lib/x86_64-linux-gnu/libde265.so.0 
> (0x00007f2f6358f000)
>     libx265.so.179 => /usr/lib/x86_64-linux-gnu/libx265.so.179 
> (0x00007f2f62621000)
>     libblas.so.3 => /usr/lib/x86_64-linux-gnu/libblas.so.3 
> (0x00007f2f625b4000)
>     liblapack.so.3 => /usr/lib/x86_64-linux-gnu/liblapack.so.3 
> (0x00007f2f61f0e000)
>     libarpack.so.2 => /usr/lib/x86_64-linux-gnu/libarpack.so.2 
> (0x00007f2f61ec6000)
>     libsuperlu.so.5 => /usr/lib/x86_64-linux-gnu/libsuperlu.so.5 
> (0x00007f2f61e56000)
>     libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 
> (0x00007f2f61d97000)
>     libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 
> (0x00007f2f61d50000)
>     liblcms2.so.2 => /usr/lib/x86_64-linux-gnu/liblcms2.so.2 
> (0x00007f2f61cf5000)
>     libnss3.so => /usr/lib/x86_64-linux-gnu/libnss3.so 
> (0x00007f2f61ba4000)
>     libsmime3.so => /usr/lib/x86_64-linux-gnu/libsmime3.so 
> (0x00007f2f61b74000)
>     libnspr4.so => /usr/lib/x86_64-linux-gnu/libnspr4.so 
> (0x00007f2f61b34000)
>     libgeos-3.8.0.so => /usr/lib/x86_64-linux-gnu/libgeos-3.8.0.so 
> (0x00007f2f6196b000)
>     libltdl.so.7 => /usr/lib/x86_64-linux-gnu/libltdl.so.7 
> (0x00007f2f61960000)
>     libminizip.so.1 => /usr/lib/x86_64-linux-gnu/libminizip.so.1 
> (0x00007f2f61753000)
>     liburiparser.so.1 => /usr/lib/x86_64-linux-gnu/liburiparser.so.1 
> (0x00007f2f61734000)
>     libicuuc.so.66 => /usr/lib/x86_64-linux-gnu/libicuuc.so.66 
> (0x00007f2f6154e000)
>     libhdf5_serial_hl.so.100 => 
> /usr/lib/x86_64-linux-gnu/libhdf5_serial_hl.so.100 (0x00007f2f61527000)
>     libsz.so.2 => /usr/lib/x86_64-linux-gnu/libsz.so.2 
> (0x00007f2f61522000)
>     libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 
> (0x00007f2f6150d000)
>     libssl.so.1.1 => /usr/lib/x86_64-linux-gnu/libssl.so.1.1 
> (0x00007f2f6147a000)
>     libgssapi_krb5.so.2 => 
> /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f2f6142d000)
>     libldap_r-2.4.so.2 => /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2 
> (0x00007f2f613d7000)
>     libzstd.so.1 => /usr/lib/x86_64-linux-gnu/libzstd.so.1 
> (0x00007f2f6132e000)
>     liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 
> (0x00007f2f61303000)
>     libjbig.so.0 => /usr/lib/x86_64-linux-gnu/libjbig.so.0 
> (0x00007f2f610f5000)
>     libproj.so.15 => /usr/lib/x86_64-linux-gnu/libproj.so.15 
> (0x00007f2f60e06000)
>     libnghttp2.so.14 => /usr/lib/x86_64-linux-gnu/libnghttp2.so.14 
> (0x00007f2f60ddd000)
>     libidn2.so.0 => /usr/lib/x86_64-linux-gnu/libidn2.so.0 
> (0x00007f2f60dbc000)
>     librtmp.so.1 => /usr/lib/x86_64-linux-gnu/librtmp.so.1 
> (0x00007f2f60d9a000)
>     libssh.so.4 => /usr/lib/x86_64-linux-gnu/libssh.so.4 
> (0x00007f2f60d2c000)
>     libpsl.so.5 => /usr/lib/x86_64-linux-gnu/libpsl.so.5 
> (0x00007f2f60d19000)
>     libnettle.so.7 => /usr/lib/x86_64-linux-gnu/libnettle.so.7 
> (0x00007f2f60cdf000)
>     libgnutls.so.30 => /usr/lib/x86_64-linux-gnu/libgnutls.so.30 
> (0x00007f2f60b09000)
>     liblber-2.4.so.2 => /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2 
> (0x00007f2f60af8000)
>     libbrotlidec.so.1 => /usr/lib/x86_64-linux-gnu/libbrotlidec.so.1 
> (0x00007f2f60ae8000)
>     libfyut.so.0 => /usr/lib/x86_64-linux-gnu/libfyut.so.0 
> (0x00007f2f60adc000)
>     libfygm.so.0 => /usr/lib/x86_64-linux-gnu/libfygm.so.0 
> (0x00007f2f60ad3000)
>     libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 
> (0x00007f2f60ab7000)
>     libnuma.so.1 => /usr/lib/x86_64-linux-gnu/libnuma.so.1 
> (0x00007f2f60aaa000)
>     libgfortran.so.5 => /usr/lib/x86_64-linux-gnu/libgfortran.so.5 
> (0x00007f2f607e0000)
>     libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 
> (0x00007f2f607d7000)
>     libnssutil3.so => /usr/lib/x86_64-linux-gnu/libnssutil3.so 
> (0x00007f2f607a4000)
>     libplc4.so => /usr/lib/x86_64-linux-gnu/libplc4.so 
> (0x00007f2f6079d000)
>     libplds4.so => /usr/lib/x86_64-linux-gnu/libplds4.so 
> (0x00007f2f60798000)
>     libicudata.so.66 => /usr/lib/x86_64-linux-gnu/libicudata.so.66 
> (0x00007f2f5ecd5000)
>     libaec.so.0 => /usr/lib/x86_64-linux-gnu/libaec.so.0 
> (0x00007f2f5eccc000)
>     libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 
> (0x00007f2f5ebef000)
>     libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3 
> (0x00007f2f5ebbe000)
>     libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 
> (0x00007f2f5ebb7000)
>     libkrb5support.so.0 => 
> /usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f2f5eba6000)
>     libsasl2.so.2 => /usr/lib/x86_64-linux-gnu/libsasl2.so.2 
> (0x00007f2f5eb89000)
>     libgssapi.so.3 => /usr/lib/x86_64-linux-gnu/libgssapi.so.3 
> (0x00007f2f5eb44000)
>     libunistring.so.2 => /usr/lib/x86_64-linux-gnu/libunistring.so.2 
> (0x00007f2f5e9c2000)
>     libhogweed.so.5 => /usr/lib/x86_64-linux-gnu/libhogweed.so.5 
> (0x00007f2f5e98b000)
>     libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 
> (0x00007f2f5e907000)
>     libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0 
> (0x00007f2f5e7cf000)
>     libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6 
> (0x00007f2f5e7b9000)
>     libbrotlicommon.so.1 => 
> /usr/lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007f2f5e796000)
>     libquadmath.so.0 => /usr/lib/x86_64-linux-gnu/libquadmath.so.0 
> (0x00007f2f5e74c000)
>     libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 
> (0x00007f2f5e745000)
>     libheimntlm.so.0 => /usr/lib/x86_64-linux-gnu/libheimntlm.so.0 
> (0x00007f2f5e737000)
>     libkrb5.so.26 => /usr/lib/x86_64-linux-gnu/libkrb5.so.26 
> (0x00007f2f5e6a4000)
>     libasn1.so.8 => /usr/lib/x86_64-linux-gnu/libasn1.so.8 
> (0x00007f2f5e5fd000)
>     libhcrypto.so.4 => /usr/lib/x86_64-linux-gnu/libhcrypto.so.4 
> (0x00007f2f5e5c5000)
>     libroken.so.18 => /usr/lib/x86_64-linux-gnu/libroken.so.18 
> (0x00007f2f5e5ac000)
>     libffi.so.7 => /usr/lib/x86_64-linux-gnu/libffi.so.7 
> (0x00007f2f5e5a0000)
>     libwind.so.0 => /usr/lib/x86_64-linux-gnu/libwind.so.0 
> (0x00007f2f5e574000)
>     libheimbase.so.1 => /usr/lib/x86_64-linux-gnu/libheimbase.so.1 
> (0x00007f2f5e562000)
>     libhx509.so.5 => /usr/lib/x86_64-linux-gnu/libhx509.so.5 
> (0x00007f2f5e514000)
>     libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 
> (0x00007f2f5e4d9000)
>
> valgrind ogrinfo --version
>
> ==9770== Memcheck, a memory error detector
> ==9770== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
> ==9770== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright 
> info
> ==9770== Command: ogrinfo --version
> ==9770==
> GDAL 3.2.1, released 2020/12/29
> ==9770== Invalid free() / delete / delete[] / realloc()
> ==9770==    at 0x483CFBF: operator delete(void*) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0xBC143E6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Address 0xe8a80d0 is 0 bytes inside a block of size 17 free'd
> ==9770==    at 0x483CFBF: operator delete(void*) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0x7BC5AB6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Block was alloc'd at
> ==9770==    at 0x483BE63: operator new(unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x7BC18BF: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BC4A15: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==9770==    by 0x4011C90: call_init (dl-init.c:30)
> ==9770==    by 0x4011C90: _dl_init (dl-init.c:119)
> ==9770==    by 0x4001139: ??? (in /lib/x86_64-linux-gnu/ld-2.31.so)
> ==9770==    by 0x1: ???
> ==9770==    by 0x1FFF000192: ???
> ==9770==    by 0x1FFF00019A: ???
> ==9770==
> ==9770== Invalid read of size 4
> ==9770==    at 0xBC148C4: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0xBC143E6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Address 0xe8a7a28 is 8 bytes inside a block of size 24 free'd
> ==9770==    at 0x483D1CF: operator delete(void*, unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0x7BC5AB6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Block was alloc'd at
> ==9770==    at 0x483BE63: operator new(unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x7BE2EC8: 
> osgeo::proj::crs::GeographicCRS::create(osgeo::proj::util::PropertyMap 
> const&, std::shared_ptr<osgeo::proj::datum::GeodeticReferenceFrame> 
> const&, std::shared_ptr<osgeo::proj::datum::DatumEnsemble> const&, 
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::cs::EllipsoidalCS> > 
> const&) (in /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BE311A: 
> osgeo::proj::crs::GeographicCRS::create(osgeo::proj::util::PropertyMap 
> const&, 
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::datum::GeodeticReferenceFrame> 
> > const&, 
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::cs::EllipsoidalCS> > 
> const&) (in /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BE36E8: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BC49E9: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==9770==    by 0x4011C90: call_init (dl-init.c:30)
> ==9770==    by 0x4011C90: _dl_init (dl-init.c:119)
> ==9770==    by 0x4001139: ??? (in /lib/x86_64-linux-gnu/ld-2.31.so)
> ==9770==    by 0x1: ???
> ==9770==    by 0x1FFF000192: ???
> ==9770==    by 0x1FFF00019A: ???
> ==9770==
> ==9770== Invalid read of size 4
> ==9770==    at 0xBC14A44: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0xBC143E6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Address 0xe890298 is 8 bytes inside a block of size 24 free'd
> ==9770==    at 0x483D1CF: operator delete(void*, unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0x7BC5AB6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Block was alloc'd at
> ==9770==    at 0x483BE63: operator new(unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x7BE2B18: 
> osgeo::proj::crs::GeodeticCRS::create(osgeo::proj::util::PropertyMap 
> const&, std::shared_ptr<osgeo::proj::datum::GeodeticReferenceFrame> 
> const&, std::shared_ptr<osgeo::proj::datum::DatumEnsemble> const&, 
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::cs::CartesianCS> > 
> const&) (in /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BE2CAA: 
> osgeo::proj::crs::GeodeticCRS::create(osgeo::proj::util::PropertyMap 
> const&, 
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::datum::GeodeticReferenceFrame> 
> > const&, 
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::cs::CartesianCS> > 
> const&) (in /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BE2DB1: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BC490B: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==9770==    by 0x4011C90: call_init (dl-init.c:30)
> ==9770==    by 0x4011C90: _dl_init (dl-init.c:119)
> ==9770==    by 0x4001139: ??? (in /lib/x86_64-linux-gnu/ld-2.31.so)
> ==9770==    by 0x1: ???
> ==9770==    by 0x1FFF000192: ???
> ==9770==    by 0x1FFF00019A: ???
> ==9770==
> ==9770== Invalid read of size 4
> ==9770==    at 0xBC14984: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0xBC143E6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Address 0xe88c1c8 is 8 bytes inside a block of size 24 free'd
> ==9770==    at 0x483D1CF: operator delete(void*, unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0x7BC5AB6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Block was alloc'd at
> ==9770==    at 0x483BE63: operator new(unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x7C0A775: 
> osgeo::proj::datum::GeodeticReferenceFrame::create(osgeo::proj::util::PropertyMap 
> const&, 
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::datum::Ellipsoid> > 
> const&, osgeo::proj::util::optional<std::__cxx11::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > > const&, 
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::datum::PrimeMeridian> 
> > const&) (in /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7C0AA12: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BC48BE: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==9770==    by 0x4011C90: call_init (dl-init.c:30)
> ==9770==    by 0x4011C90: _dl_init (dl-init.c:119)
> ==9770==    by 0x4001139: ??? (in /lib/x86_64-linux-gnu/ld-2.31.so)
> ==9770==    by 0x1: ???
> ==9770==    by 0x1FFF000192: ???
> ==9770==    by 0x1FFF00019A: ???
> ==9770==
> ==9770== Invalid read of size 4
> ==9770==    at 0xBC14744: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0xBC143E6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Address 0xe888028 is 8 bytes inside a block of size 24 free'd
> ==9770==    at 0x483D1CF: operator delete(void*, unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0x7BC5AB6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Block was alloc'd at
> ==9770==    at 0x483BE63: operator new(unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x7C112E2: 
> osgeo::proj::datum::Ellipsoid::createFlattenedSphere(osgeo::proj::util::PropertyMap 
> const&, osgeo::proj::common::Length const&, osgeo::proj::common::Scale 
> const&, std::__cxx11::basic_string<char, std::char_traits<char>, 
> std::allocator<char> > const&) (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7C117CC: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BC484F: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==9770==    by 0x4011C90: call_init (dl-init.c:30)
> ==9770==    by 0x4011C90: _dl_init (dl-init.c:119)
> ==9770==    by 0x4001139: ??? (in /lib/x86_64-linux-gnu/ld-2.31.so)
> ==9770==    by 0x1: ???
> ==9770==    by 0x1FFF000192: ???
> ==9770==    by 0x1FFF00019A: ???
> ==9770==
> ==9770== Invalid read of size 4
> ==9770==    at 0xBC14684: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0xBC143E6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Address 0xe882688 is 8 bytes inside a block of size 24 free'd
> ==9770==    at 0x483D1CF: operator delete(void*, unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0x7BC5AB6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Block was alloc'd at
> ==9770==    at 0x483BE63: operator new(unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x7C0FAF9: 
> osgeo::proj::datum::PrimeMeridian::create(osgeo::proj::util::PropertyMap 
> const&, osgeo::proj::common::Angle const&) (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7C0FD32: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BC47B8: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==9770==    by 0x4011C90: call_init (dl-init.c:30)
> ==9770==    by 0x4011C90: _dl_init (dl-init.c:119)
> ==9770==    by 0x4001139: ??? (in /lib/x86_64-linux-gnu/ld-2.31.so)
> ==9770==    by 0x1: ???
> ==9770==    by 0x1FFF000192: ???
> ==9770==    by 0x1FFF00019A: ???
> ==9770==
> ==9770== Invalid read of size 8
> ==9770==    at 0xBC1EBE5: 
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0xBC143E6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Address 0xe87c720 is 80 bytes inside a block of size 112 free'd
> ==9770==    at 0x483D1CF: operator delete(void*, unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x7BD02FC: 
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0x7BC5AB6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Block was alloc'd at
> ==9770==    at 0x483BE63: operator new(unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x7BD3B34: 
> osgeo::proj::common::UnitOfMeasure::UnitOfMeasure(std::__cxx11::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > const&, double, 
> osgeo::proj::common::UnitOfMeasure::Type, 
> std::__cxx11::basic_string<char, std::char_traits<char>, 
> std::allocator<char> > const&, std::__cxx11::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > const&) (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BC3601: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==9770==    by 0x4011C90: call_init (dl-init.c:30)
> ==9770==    by 0x4011C90: _dl_init (dl-init.c:119)
> ==9770==    by 0x4001139: ??? (in /lib/x86_64-linux-gnu/ld-2.31.so)
> ==9770==    by 0x1: ???
> ==9770==    by 0x1FFF000192: ???
> ==9770==    by 0x1FFF00019A: ???
> ==9770==
> ==9770== Invalid read of size 8
> ==9770==    at 0xBC1EBF9: 
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0xBC143E6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Address 0xe87c700 is 48 bytes inside a block of size 112 free'd
> ==9770==    at 0x483D1CF: operator delete(void*, unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x7BD02FC: 
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0x7BC5AB6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Block was alloc'd at
> ==9770==    at 0x483BE63: operator new(unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x7BD3B34: 
> osgeo::proj::common::UnitOfMeasure::UnitOfMeasure(std::__cxx11::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > const&, double, 
> osgeo::proj::common::UnitOfMeasure::Type, 
> std::__cxx11::basic_string<char, std::char_traits<char>, 
> std::allocator<char> > const&, std::__cxx11::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > const&) (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BC3601: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==9770==    by 0x4011C90: call_init (dl-init.c:30)
> ==9770==    by 0x4011C90: _dl_init (dl-init.c:119)
> ==9770==    by 0x4001139: ??? (in /lib/x86_64-linux-gnu/ld-2.31.so)
> ==9770==    by 0x1: ???
> ==9770==    by 0x1FFF000192: ???
> ==9770==    by 0x1FFF00019A: ???
> ==9770==
> ==9770== Invalid read of size 8
> ==9770==    at 0xBC1EC0D: 
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0xBC143E6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Address 0xe87c6d0 is 0 bytes inside a block of size 112 free'd
> ==9770==    at 0x483D1CF: operator delete(void*, unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x7BD02FC: 
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0x7BC5AB6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Block was alloc'd at
> ==9770==    at 0x483BE63: operator new(unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x7BD3B34: 
> osgeo::proj::common::UnitOfMeasure::UnitOfMeasure(std::__cxx11::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > const&, double, 
> osgeo::proj::common::UnitOfMeasure::Type, 
> std::__cxx11::basic_string<char, std::char_traits<char>, 
> std::allocator<char> > const&, std::__cxx11::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > const&) (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BC3601: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==9770==    by 0x4011C90: call_init (dl-init.c:30)
> ==9770==    by 0x4011C90: _dl_init (dl-init.c:119)
> ==9770==    by 0x4001139: ??? (in /lib/x86_64-linux-gnu/ld-2.31.so)
> ==9770==    by 0x1: ???
> ==9770==    by 0x1FFF000192: ???
> ==9770==    by 0x1FFF00019A: ???
> ==9770==
> ==9770== Invalid free() / delete / delete[] / realloc()
> ==9770==    at 0x483CFBF: operator delete(void*) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0xBC1EC1F: 
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0xBC143E6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Address 0xe87c780 is 0 bytes inside a block of size 27 free'd
> ==9770==    at 0x483CFBF: operator delete(void*) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x7BD02EF: 
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0x7BC5AB6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Block was alloc'd at
> ==9770==    at 0x483BE63: operator new(unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x7BCA38C: void std::__cxx11::basic_string<char, 
> std::char_traits<char>, std::allocator<char> 
> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BD3B53: 
> osgeo::proj::common::UnitOfMeasure::UnitOfMeasure(std::__cxx11::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > const&, double, 
> osgeo::proj::common::UnitOfMeasure::Type, 
> std::__cxx11::basic_string<char, std::char_traits<char>, 
> std::allocator<char> > const&, std::__cxx11::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > const&) (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BC3601: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==9770==    by 0x4011C90: call_init (dl-init.c:30)
> ==9770==    by 0x4011C90: _dl_init (dl-init.c:119)
> ==9770==    by 0x4001139: ??? (in /lib/x86_64-linux-gnu/ld-2.31.so)
> ==9770==    by 0x1: ???
> ==9770==    by 0x1FFF000192: ???
> ==9770==    by 0x1FFF00019A: ???
> ==9770==
> ==9770== Invalid free() / delete / delete[] / realloc()
> ==9770==    at 0x483D1CF: operator delete(void*, unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0xBC1EC2C: 
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0xBC143E6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Address 0xe87c6d0 is 0 bytes inside a block of size 112 free'd
> ==9770==    at 0x483D1CF: operator delete(void*, unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x7BD02FC: 
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0x7BC5AB6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Block was alloc'd at
> ==9770==    at 0x483BE63: operator new(unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x7BD3B34: 
> osgeo::proj::common::UnitOfMeasure::UnitOfMeasure(std::__cxx11::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > const&, double, 
> osgeo::proj::common::UnitOfMeasure::Type, 
> std::__cxx11::basic_string<char, std::char_traits<char>, 
> std::allocator<char> > const&, std::__cxx11::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > const&) (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BC3601: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==9770==    by 0x4011C90: call_init (dl-init.c:30)
> ==9770==    by 0x4011C90: _dl_init (dl-init.c:119)
> ==9770==    by 0x4001139: ??? (in /lib/x86_64-linux-gnu/ld-2.31.so)
> ==9770==    by 0x1: ???
> ==9770==    by 0x1FFF000192: ???
> ==9770==    by 0x1FFF00019A: ???
> ==9770==
> ==9770== Invalid read of size 8
> ==9770==    at 0xBC14EEC: osgeo::proj::util::BaseObject::~BaseObject() 
> (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0xBC143E6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Address 0xe87c688 is 8 bytes inside a block of size 16 free'd
> ==9770==    at 0x483D1CF: operator delete(void*, unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0x7BC5AB6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Block was alloc'd at
> ==9770==    at 0x483BE63: operator new(unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x7BC673F: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BD3B1B: 
> osgeo::proj::common::UnitOfMeasure::UnitOfMeasure(std::__cxx11::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > const&, double, 
> osgeo::proj::common::UnitOfMeasure::Type, 
> std::__cxx11::basic_string<char, std::char_traits<char>, 
> std::allocator<char> > const&, std::__cxx11::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > const&) (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BC3601: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==9770==    by 0x4011C90: call_init (dl-init.c:30)
> ==9770==    by 0x4011C90: _dl_init (dl-init.c:119)
> ==9770==    by 0x4001139: ??? (in /lib/x86_64-linux-gnu/ld-2.31.so)
> ==9770==    by 0x1: ???
> ==9770==    by 0x1FFF000192: ???
> ==9770==    by 0x1FFF00019A: ???
> ==9770==
> ==9770== Invalid free() / delete / delete[] / realloc()
> ==9770==    at 0x483D1CF: operator delete(void*, unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0xBC143E6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Address 0xe87c680 is 0 bytes inside a block of size 16 free'd
> ==9770==    at 0x483D1CF: operator delete(void*, unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0x7BC5AB6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Block was alloc'd at
> ==9770==    at 0x483BE63: operator new(unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x7BC673F: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BD3B1B: 
> osgeo::proj::common::UnitOfMeasure::UnitOfMeasure(std::__cxx11::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > const&, double, 
> osgeo::proj::common::UnitOfMeasure::Type, 
> std::__cxx11::basic_string<char, std::char_traits<char>, 
> std::allocator<char> > const&, std::__cxx11::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > const&) (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BC3601: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==9770==    by 0x4011C90: call_init (dl-init.c:30)
> ==9770==    by 0x4011C90: _dl_init (dl-init.c:119)
> ==9770==    by 0x4001139: ??? (in /lib/x86_64-linux-gnu/ld-2.31.so)
> ==9770==    by 0x1: ???
> ==9770==    by 0x1FFF000192: ???
> ==9770==    by 0x1FFF00019A: ???
> ==9770==
> ==9770== Invalid read of size 4
> ==9770==    at 0xBC14804: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0xBC143E6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Address 0xe878168 is 8 bytes inside a block of size 24 free'd
> ==9770==    at 0x483D1CF: operator delete(void*, unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x608315D: __cxa_finalize (cxa_finalize.c:83)
> ==9770==    by 0x7BC5AB6: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==9770==    by 0x6082A26: __run_exit_handlers (exit.c:108)
> ==9770==    by 0x6082BDF: exit (exit.c:139)
> ==9770==    by 0x10C0BF: ??? (in /usr/bin/ogrinfo)
> ==9770==    by 0x60600B2: (below main) (libc-start.c:308)
> ==9770==  Block was alloc'd at
> ==9770==    at 0x483BE63: operator new(unsigned long) (in 
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==9770==    by 0x7BCD021: 
> osgeo::proj::metadata::Extent::create(osgeo::proj::util::optional<std::__cxx11::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > > const&, 
> std::vector<dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::metadata::GeographicExtent> 
> >, 
> std::allocator<dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::metadata::GeographicExtent> 
> > > > const&, 
> std::vector<dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::metadata::VerticalExtent> 
> >, 
> std::allocator<dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::metadata::VerticalExtent> 
> > > > const&, 
> std::vector<dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::metadata::TemporalExtent> 
> >, 
> std::allocator<dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::metadata::TemporalExtent> 
> > > > const&) (in /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BCD254: 
> osgeo::proj::metadata::Extent::createFromBBOX(double, double, double, 
> double, osgeo::proj::util::optional<std::__cxx11::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > > const&) (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x7BC1C39: ??? (in 
> /usr/lib/x86_64-linux-gnu/libproj.so.19.2.1)
> ==9770==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==9770==    by 0x4011C90: call_init (dl-init.c:30)
> ==9770==    by 0x4011C90: _dl_init (dl-init.c:119)
> ==9770==    by 0x4001139: ??? (in /lib/x86_64-linux-gnu/ld-2.31.so)
> ==9770==    by 0x1: ???
> ==9770==    by 0x1FFF000192: ???
> ==9770==    by 0x1FFF00019A: ???
> ==9770==
> ==9770==
> ==9770== HEAP SUMMARY:
> ==9770==     in use at exit: 485,109 bytes in 4,443 blocks
> ==9770==   total heap usage: 8,799 allocs, 4,391 frees, 1,649,539 
> bytes allocated
> ==9770==
> ==9770== LEAK SUMMARY:
> ==9770==    definitely lost: 2,583 bytes in 41 blocks
> ==9770==    indirectly lost: 39,830 bytes in 735 blocks
> ==9770==      possibly lost: 0 bytes in 0 blocks
> ==9770==    still reachable: 442,696 bytes in 3,667 blocks
> ==9770==         suppressed: 0 bytes in 0 blocks
> ==9770== Rerun with --leak-check=full to see details of leaked memory
> ==9770==
> ==9770== For lists of detected and suppressed errors, rerun with: -s
> ==9770== ERROR SUMMARY: 142 errors from 14 contexts (suppressed: 0 
> from 0)
>
>
> On 5/8/21 3:53 PM, Even Rouault wrote:
>> From https://launchpad.net/ubuntu/+source/gdal , no Ubuntu version 
>> ships with 3.2.1. Perhaps you are using the ubuntugis PPA with 
>> 3.2.1+dfsg-1~focal0 ? I'd suspect some mismatch of underlying 
>> libraries, perhaps proj.
>>
>> What's the output of
>>
>> ldd `which ogrinfo`
>>
>> and also do
>>
>> sudo apt install valgrind
>>
>> and what's the output of
>>
>> valgrind ogrinfo --version
>>
>>
>> Le 08/05/2021 à 14:28, Bryan Keith a écrit :
>>> Hello,
>>>
>>> I am trying to install GDAL on Ubuntu.  When I check the 
>>> installation, I get this:
>>>
>>> ogrinfo --version
>>> GDAL 3.2.1, released 2020/12/29
>>> free(): invalid pointer
>>> Aborted (core dumped)
>>>
>>> Hmmm, what to do?
>>>
>>> I installed like this:
>>>
>>> sudo apt-get install gdal-bin
>>>
>>> My Python installations look like this:
>>>
>>> $ python -V
>>> Python 2.7.18
>>> $ python3 -V
>>> Python 3.8.5
>>>
>>> I imagine more information is required to diagnose this problem, but 
>>> I'm not sure what that would be.  Any help is appreciated. Thank you.
>>>
>>> Bryan
>>> _______________________________________________
>>> gdal-dev mailing list
>>> gdal-dev at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>
-- 
http://www.spatialys.com
My software is free, but my time generally not.



More information about the gdal-dev mailing list