<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Yes. I guess I have to dig with ldd through all the libraries and see which one is linking to the old proj version. There is more self-compiled stuff on my system.</p>
<p>Anyway - I will find the culprit with ldd and valgrind.</p>
<p>Thanks for your help!</p>
<p>Andreas</p>
<p id="reply-intro">On 2021-09-03 16:51, Even Rouault wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<div>
<p>The Valgrind output is actually interesting:</p>
<p>see</p>
<p><span style="font-family: monospace;">==49441==    by 0x150193E6: ??? (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br /></span></p>
<p><span style="font-family: monospace;">[...]<br /></span></p>
<p><span style="font-family: monospace;"><span style="font-family: monospace;">==49441==    by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0) <br /></span></span></p>
<p><span style="font-family: monospace;"><span style="font-family: monospace;">So you're linking to 2 PROJ versions. That would have been my first bet, but you didn't mention a custom PROJ version :-)<br /></span></span></p>
<p><span style="font-family: monospace;"><span style="font-family: monospace;">So the custom GDAL links to the custom PROJ. You'll have now to check which of QGIS and/or Spatialite links to the system PROJ instead of the custom one.<br /></span></span></p>
<p><span style="font-family: monospace;"><span style="font-family: monospace;"> </span></span></p>
<div class="v1moz-cite-prefix">Le 03/09/2021 à 16:30, Andreas Neumann a écrit :</div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<p>Hi Even,</p>
<p>Thank you for your reply.</p>
<p>I checked with the ldd about gdal/geos/proj - and they all seem to link to the self-compiled versions in /usr/local/lib</p>
<p>gdal:</p>
<p><span style="font-family: monospace;"><span style="font-weight: bold; color: #54ff54; background-color: #ffffff;"></span><span style="font-weight: bold; color: #54ff54; background-color: #ffffff;">xxx@t480</span><span style="color: #000000; background-color: #ffffff;">:</span><span style="font-weight: bold; color: #5454ff; background-color: #ffffff;">~/dev/QGIS/build</span><span style="color: #000000; background-color: #ffffff;">$ ldd /usr/local/lib/libgdal.so.29 </span><br />       linux-vdso.so.1 (0x00007fffb930d000) <br />       libcrypto.so.1.1 => /lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f2509600000) <br />       libjson-c.so.4 => /lib/x86_64-linux-gnu/libjson-c.so.4 (0x00007f25095ee000) <br />       libfreexl.so.1 => /lib/x86_64-linux-gnu/libfreexl.so.1 (0x00007f25095e3000) <br />       <strong>libgeos_c.so.1 => /usr/local/lib/libgeos_c.so.1 (0x00007f25095a5000)</strong> <br />       libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f2509577000) <br />       libxerces-c-3.2.so => /lib/x86_64-linux-gnu/libxerces-c-3.2.so (0x00007f25091e4000) <br />       libpq.so.5 => /usr/local/pgsql/lib/libpq.so.5 (0x00007f2509193000) <br />       libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f25090ea000) <br />       libproj.so.22 => /usr/local/lib/libproj.so.22 (0x00007f2508d40000) <br />       libsqlite3.so.0 => /lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f2508c17000) <br />       libjpeg.so.8 => /lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f2508b92000) <br />       libdeflate.so.0 => /lib/x86_64-linux-gnu/libdeflate.so.0 (0x00007f2508b74000) <br />       libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f2508b56000) <br />       libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f2508b33000) <br />       libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f2508b2d000) <br />       libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f2508aba000) <br />       libcurl.so.4 => /lib/x86_64-linux-gnu/libcurl.so.4 (0x00007f2508a29000) <br />       libxml2.so.2 => /lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f250886f000) <br />       libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f250868b000) <br />       libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f250853c000) <br />       libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f250834a000) <br />       /lib64/ld-linux-x86-64.so.2 (0x00007f250afe7000) <br />       libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f250832f000) <br />       <strong>libgeos-3.9.1.so => /usr/local/lib/libgeos-3.9.1.so (0x00007f250811b000)</strong> <br />       libcurl-gnutls.so.4 => /lib/x86_64-linux-gnu/libcurl-gnutls.so.4 (0x00007f250808c000) <br />       libicuuc.so.66 => /lib/x86_64-linux-gnu/libicuuc.so.66 (0x00007f2507ea4000) <br />       libssl.so.1.1 => /lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f2507e11000) <br />       libtiff.so.5 => /lib/x86_64-linux-gnu/libtiff.so.5 (0x00007f2507d90000) <br />       libnghttp2.so.14 => /lib/x86_64-linux-gnu/libnghttp2.so.14 (0x00007f2507d67000) <br />       libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0 (0x00007f2507d46000) <br />       librtmp.so.1 => /lib/x86_64-linux-gnu/librtmp.so.1 (0x00007f2507d24000) <br />       libssh.so.4 => /lib/x86_64-linux-gnu/libssh.so.4 (0x00007f2507cb6000) <br />       libpsl.so.5 => /lib/x86_64-linux-gnu/libpsl.so.5 (0x00007f2507ca3000) <br />       libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f2507c56000) <br />       libldap_r-2.4.so.2 => /lib/x86_64-linux-gnu/libldap_r-2.4.so.2 (0x00007f2507c00000) <br />       liblber-2.4.so.2 => /lib/x86_64-linux-gnu/liblber-2.4.so.2 (0x00007f2507bef000) <br />       libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007f2507bdf000) <br />       liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f2507bb6000) <br />       libnettle.so.7 => /lib/x86_64-linux-gnu/libnettle.so.7 (0x00007f2507b7c000) <br />       libgnutls.so.30 => /lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007f25079a6000) <br />       libicudata.so.66 => /lib/x86_64-linux-gnu/libicudata.so.66 (0x00007f2505ee5000) <br />       libwebp.so.6 => /lib/x86_64-linux-gnu/libwebp.so.6 (0x00007f2505e79000) <br />       libjbig.so.0 => /lib/x86_64-linux-gnu/libjbig.so.0 (0x00007f2505c6b000) <br />       libunistring.so.2 => /lib/x86_64-linux-gnu/libunistring.so.2 (0x00007f2505ae9000) <br />       libhogweed.so.5 => /lib/x86_64-linux-gnu/libhogweed.so.5 (0x00007f2505ab2000) <br />       libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f2505a2e000) <br />       libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f250594f000) <br />       libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f250591e000) <br />       libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f2505917000) <br />       libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f2505908000) <br />       libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f25058ec000) <br />       libsasl2.so.2 => /lib/x86_64-linux-gnu/libsasl2.so.2 (0x00007f25058cf000) <br />       libgssapi.so.3 => /lib/x86_64-linux-gnu/libgssapi.so.3 (0x00007f2505888000) <br />       libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007f2505865000) <br />       libp11-kit.so.0 => /lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f250572f000) <br />       libtasn1.so.6 => /lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007f2505719000) <br />       libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f2505712000) <br />       libheimntlm.so.0 => /lib/x86_64-linux-gnu/libheimntlm.so.0 (0x00007f2505704000) <br />       libkrb5.so.26 => /lib/x86_64-linux-gnu/libkrb5.so.26 (0x00007f2505671000) <br />       libasn1.so.8 => /lib/x86_64-linux-gnu/libasn1.so.8 (0x00007f25055ca000) <br />       libhcrypto.so.4 => /lib/x86_64-linux-gnu/libhcrypto.so.4 (0x00007f2505592000) <br />       libroken.so.18 => /lib/x86_64-linux-gnu/libroken.so.18 (0x00007f2505579000) <br />       libffi.so.7 => /lib/x86_64-linux-gnu/libffi.so.7 (0x00007f250556d000) <br />       libwind.so.0 => /lib/x86_64-linux-gnu/libwind.so.0 (0x00007f2505541000) <br />       libheimbase.so.1 => /lib/x86_64-linux-gnu/libheimbase.so.1 (0x00007f250552f000) <br />       libhx509.so.5 => /lib/x86_64-linux-gnu/libhx509.so.5 (0x00007f25054e1000) <br />       libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007f25054a6000)<br /><br /><br /></span></p>
<p><span style="font-family: monospace;">geos:</span></p>
<p><span style="font-family: monospace;"><a href="#NOP"><span style="font-weight: bold; color: #54ff54; background-color: #ffffff;">xxx@t480</span></a><span style="color: #000000; background-color: #ffffff;">:</span><span style="font-weight: bold; color: #5454ff; background-color: #ffffff;">~/dev/QGIS/build</span><span style="color: #000000; background-color: #ffffff;">$ ldd /usr/local/lib/libgeos-3.9.1.so  </span><br />       linux-vdso.so.1 (0x00007fff313c5000) <br />       libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fbbea26f000) <br />       libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fbbea120000) <br />       libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbbe9f2e000) <br />       libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fbbe9f13000) <br />       /lib64/ld-linux-x86-64.so.2 (0x00007fbbea688000)<br /><br /></span></p>
<p><span style="font-family: monospace;">proj:</span></p>
<p><span style="font-family: monospace;"><span style="font-weight: bold; color: #54ff54; background-color: #ffffff;">xxx@t480</span><span style="color: #000000; background-color: #ffffff;">:</span><span style="font-weight: bold; color: #5454ff; background-color: #ffffff;">~/dev/QGIS/build</span><span style="color: #000000; background-color: #ffffff;">$ ldd /usr/local/lib/libproj.so.22 </span><br />       linux-vdso.so.1 (0x00007ffd8a9e9000) <br />       libsqlite3.so.0 => /lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f91d7530000) <br />       libtiff.so.5 => /lib/x86_64-linux-gnu/libtiff.so.5 (0x00007f91d74af000) <br />       libcurl.so.4 => /lib/x86_64-linux-gnu/libcurl.so.4 (0x00007f91d741e000) <br />       libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f91d73fb000) <br />       libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f91d73f5000) <br />       libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f91d7213000) <br />       libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f91d70c2000) <br />       libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f91d6ed0000) <br />       libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f91d6eb5000) <br />       libwebp.so.6 => /lib/x86_64-linux-gnu/libwebp.so.6 (0x00007f91d6e4b000) <br />       libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f91d6da2000) <br />       liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f91d6d79000) <br />       libjbig.so.0 => /lib/x86_64-linux-gnu/libjbig.so.0 (0x00007f91d6b69000) <br />       libjpeg.so.8 => /lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f91d6ae4000) <br />       libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f91d6ac8000) <br />       libnghttp2.so.14 => /lib/x86_64-linux-gnu/libnghttp2.so.14 (0x00007f91d6a9f000) <br />       libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0 (0x00007f91d6a7e000) <br />       librtmp.so.1 => /lib/x86_64-linux-gnu/librtmp.so.1 (0x00007f91d6a5e000) <br />       libssh.so.4 => /lib/x86_64-linux-gnu/libssh.so.4 (0x00007f91d69ee000) <br />       libpsl.so.5 => /lib/x86_64-linux-gnu/libpsl.so.5 (0x00007f91d69db000) <br />       libssl.so.1.1 => /lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f91d6948000) <br />       libcrypto.so.1.1 => /lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f91d6672000) <br />       libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f91d6625000) <br />       libldap_r-2.4.so.2 => /lib/x86_64-linux-gnu/libldap_r-2.4.so.2 (0x00007f91d65cf000) <br />       liblber-2.4.so.2 => /lib/x86_64-linux-gnu/liblber-2.4.so.2 (0x00007f91d65bc000) <br />       libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007f91d65ae000) <br />       /lib64/ld-linux-x86-64.so.2 (0x00007f91d7a26000) <br />       libunistring.so.2 => /lib/x86_64-linux-gnu/libunistring.so.2 (0x00007f91d642c000) <br />       libgnutls.so.30 => /lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007f91d6256000) <br />       libhogweed.so.5 => /lib/x86_64-linux-gnu/libhogweed.so.5 (0x00007f91d621f000) <br />       libnettle.so.7 => /lib/x86_64-linux-gnu/libnettle.so.7 (0x00007f91d61e3000) <br />       libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f91d615f000) <br />       libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f91d6082000) <br />       libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f91d6051000) <br />       libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f91d604a000) <br />       libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f91d6039000) <br />       libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f91d601d000) <br />       libsasl2.so.2 => /lib/x86_64-linux-gnu/libsasl2.so.2 (0x00007f91d6000000) <br />       libgssapi.so.3 => /lib/x86_64-linux-gnu/libgssapi.so.3 (0x00007f91d5fbb000) <br />       libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007f91d5f98000) <br />       libp11-kit.so.0 => /lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f91d5e62000) <br />       libtasn1.so.6 => /lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007f91d5e4a000) <br />       libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f91d5e43000) <br />       libheimntlm.so.0 => /lib/x86_64-linux-gnu/libheimntlm.so.0 (0x00007f91d5e37000) <br />       libkrb5.so.26 => /lib/x86_64-linux-gnu/libkrb5.so.26 (0x00007f91d5da4000) <br />       libasn1.so.8 => /lib/x86_64-linux-gnu/libasn1.so.8 (0x00007f91d5cfd000) <br />       libhcrypto.so.4 => /lib/x86_64-linux-gnu/libhcrypto.so.4 (0x00007f91d5cc3000) <br />       libroken.so.18 => /lib/x86_64-linux-gnu/libroken.so.18 (0x00007f91d5caa000) <br />       libffi.so.7 => /lib/x86_64-linux-gnu/libffi.so.7 (0x00007f91d5c9e000) <br />       libwind.so.0 => /lib/x86_64-linux-gnu/libwind.so.0 (0x00007f91d5c74000) <br />       libheimbase.so.1 => /lib/x86_64-linux-gnu/libheimbase.so.1 (0x00007f91d5c62000) <br />       libhx509.so.5 => /lib/x86_64-linux-gnu/libhx509.so.5 (0x00007f91d5c12000) <br />       libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007f91d5bd7000)<br /><br /></span></p>
<p>-------------------</p>
<p>Here is the valgrind output from crssync - do you see anything suspicious in here? proj is being mentioned - so maybe an issue with proj?</p>
<p><span style="font-family: monospace;"><a href="#NOP"><span style="font-weight: bold; color: #54ff54; background-color: #ffffff;">xxx@t480</span></a><span style="color: #000000; background-color: #ffffff;">:</span><span style="font-weight: bold; color: #5454ff; background-color: #ffffff;">~/dev/QGIS/build</span><span style="color: #000000; background-color: #ffffff;">$ valgrind output/bin/crssync  </span><br />==49441== Memcheck, a memory error detector <br />==49441== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. <br />==49441== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info <br />==49441== Command: output/bin/crssync <br />==49441==  <br />==49441== Invalid free() / delete / delete[] / realloc() <br />==49441==    at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x150193E6: ??? (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Address 0x1637ff40 is 0 bytes inside a block of size 17 free'd <br />==49441==    at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Block was alloc'd at <br />==49441==    at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x9C3BAAF: _M_construct<char const*> (basic_string.tcc:219) <br />==49441==    by 0x9C3BAAF: _M_construct_aux<char const*> (basic_string.h:247) <br />==49441==    by 0x9C3BAAF: _M_construct<char const*> (basic_string.h:266) <br />==49441==    by 0x9C3BAAF: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) [clone .isra.0] (basic_string.h:527) <br />==49441==    by 0x9C3ECF5: __static_initialization_and_destruction_0(int, int) [clone .constprop.0] (static.cpp:666) <br />==49441==    by 0x4011B89: call_init.part.0 (dl-init.c:72) <br />==49441==    by 0x4011C90: call_init (dl-init.c:30) <br />==49441==    by 0x4011C90: _dl_init (dl-init.c:119) <br />==49441==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so) <br />==49441==  <br />==49441== Invalid read of size 4 <br />==49441==    at 0x150198C4: ??? (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x150193E6: ??? (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Address 0x1637f898 is 8 bytes inside a block of size 24 free'd <br />==49441==    at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Block was alloc'd at <br />==49441==    at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x9C5DB98: __shared_count<osgeo::proj::crs::GeographicCRS*> (shared_ptr_base.h:625) <br />==49441==    by 0x9C5DB98: __shared_count<osgeo::proj::crs::GeographicCRS*> (shared_ptr_base.h:636) <br />==49441==    by 0x9C5DB98: __shared_ptr<osgeo::proj::crs::GeographicCRS> (shared_ptr_base.h:1125) <br />==49441==    by 0x9C5DB98: shared_ptr<osgeo::proj::crs::GeographicCRS> (shared_ptr.h:139) <br />==49441==    by 0x9C5DB98: nn_make_shared<osgeo::proj::crs::GeographicCRS, 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::Ellipsoida<br />lCS> >&> (crs.hpp:436) <br />==49441==    by 0x9C5DB98: 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<os<br />geo::proj::cs::EllipsoidalCS> > const&) (crs.cpp:2558) <br />==49441==    by 0x9C5DDEA: 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<br />&) (crs.cpp:2533) <br />==49441==    by 0x9C5E3B8: osgeo::proj::crs::GeographicCRS::createEPSG_4979() (crs.cpp:2714) <br />==49441==    by 0x9C3ECC9: __static_initialization_and_destruction_0(int, int) [clone .constprop.0] (static.cpp:657) <br />==49441==    by 0x4011B89: call_init.part.0 (dl-init.c:72) <br />==49441==    by 0x4011C90: call_init (dl-init.c:30) <br />==49441==    by 0x4011C90: _dl_init (dl-init.c:119) <br />==49441==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so) <br />==49441==  <br />==49441== Invalid read of size 4 <br />==49441==    at 0x15019A44: ??? (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x150193E6: ??? (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Address 0x16368108 is 8 bytes inside a block of size 24 free'd <br />==49441==    at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Block was alloc'd at <br />==49441==    at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x9C5D7E8: __shared_count<osgeo::proj::crs::GeodeticCRS*> (shared_ptr_base.h:625) <br />==49441==    by 0x9C5D7E8: __shared_count<osgeo::proj::crs::GeodeticCRS*> (shared_ptr_base.h:636) <br />==49441==    by 0x9C5D7E8: __shared_ptr<osgeo::proj::crs::GeodeticCRS> (shared_ptr_base.h:1125) <br />==49441==    by 0x9C5D7E8: shared_ptr<osgeo::proj::crs::GeodeticCRS> (shared_ptr.h:139) <br />==49441==    by 0x9C5D7E8: nn_make_shared<osgeo::proj::crs::GeodeticCRS, 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><br />>&> (crs.hpp:348) <br />==49441==    by 0x9C5D7E8: 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<osge<br />o::proj::cs::CartesianCS> > const&) (crs.cpp:1641) <br />==49441==    by 0x9C5D97A: 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&) (<br />crs.cpp:1618) <br />==49441==    by 0x9C5DA81: osgeo::proj::crs::GeodeticCRS::createEPSG_4978() (crs.cpp:2064) <br />==49441==    by 0x9C3EBEB: __static_initialization_and_destruction_0(int, int) [clone .constprop.0] (static.cpp:631) <br />==49441==    by 0x4011B89: call_init.part.0 (dl-init.c:72) <br />==49441==    by 0x4011C90: call_init (dl-init.c:30) <br />==49441==    by 0x4011C90: _dl_init (dl-init.c:119) <br />==49441==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so) <br />==49441==  <br />==49441== Invalid read of size 4 <br />==49441==    at 0x15019984: ??? (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x150193E6: ??? (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Address 0x16364038 is 8 bytes inside a block of size 24 free'd <br />==49441==    at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Block was alloc'd at <br />==49441==    at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x9C85B55: __shared_count<osgeo::proj::datum::GeodeticReferenceFrame*> (shared_ptr_base.h:625) <br />==49441==    by 0x9C85B55: __shared_count<osgeo::proj::datum::GeodeticReferenceFrame*> (shared_ptr_base.h:636) <br />==49441==    by 0x9C85B55: __shared_ptr<osgeo::proj::datum::GeodeticReferenceFrame> (shared_ptr_base.h:1125) <br />==49441==    by 0x9C85B55: shared_ptr<osgeo::proj::datum::GeodeticReferenceFrame> (shared_ptr.h:139) <br />==49441==    by 0x9C85B55: nn_make_shared<osgeo::proj::datum::GeodeticReferenceFrame, const dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::datum::Ellipsoid> >&, const dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::datum::PrimeMeridian> >&> (datum.hpp:446) <br />==49441==    by 0x9C85B55: 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<br /><char>, std::allocator<char> > > const&, dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::datum::PrimeMeridian> > const&) (datum.cpp:1184) <br />==49441==    by 0x9C85DF2: osgeo::proj::datum::GeodeticReferenceFrame::createEPSG_6326() (datum.cpp:1211) <br />==49441==    by 0x9C3EB9E: __static_initialization_and_destruction_0(int, int) [clone .constprop.0] (static.cpp:619) <br />==49441==    by 0x4011B89: call_init.part.0 (dl-init.c:72) <br />==49441==    by 0x4011C90: call_init (dl-init.c:30) <br />==49441==    by 0x4011C90: _dl_init (dl-init.c:119) <br />==49441==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so) <br />==49441==  <br />==49441== Invalid read of size 4 <br />==49441==    at 0x15019744: ??? (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x150193E6: ??? (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Address 0x1635fe98 is 8 bytes inside a block of size 24 free'd <br />==49441==    at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Block was alloc'd at <br />==49441==    at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x9C8C6E2: __shared_count<osgeo::proj::datum::Ellipsoid*> (shared_ptr_base.h:625) <br />==49441==    by 0x9C8C6E2: __shared_count<osgeo::proj::datum::Ellipsoid*> (shared_ptr_base.h:636) <br />==49441==    by 0x9C8C6E2: __shared_ptr<osgeo::proj::datum::Ellipsoid> (shared_ptr_base.h:1125) <br />==49441==    by 0x9C8C6E2: shared_ptr<osgeo::proj::datum::Ellipsoid> (shared_ptr.h:139) <br />==49441==    by 0x9C8C6E2: nn_make_shared<osgeo::proj::datum::Ellipsoid, const osgeo::proj::common::Length&, const osgeo::proj::common::Scale&, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&> (datum.hpp:365) <br />==49441==    by 0x9C8C6E2: 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> > c<br />onst&) (datum.cpp:744) <br />==49441==    by 0x9C8CBCC: osgeo::proj::datum::Ellipsoid::createGRS1980() (datum.cpp:791) <br />==49441==    by 0x9C3EB2F: __static_initialization_and_destruction_0(int, int) [clone .constprop.0] (static.cpp:606) <br />==49441==    by 0x4011B89: call_init.part.0 (dl-init.c:72) <br />==49441==    by 0x4011C90: call_init (dl-init.c:30) <br />==49441==    by 0x4011C90: _dl_init (dl-init.c:119) <br />==49441==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so) <br />==49441==  <br />==49441== Invalid read of size 4 <br />==49441==    at 0x15019684: ??? (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x150193E6: ??? (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Address 0x1635a4f8 is 8 bytes inside a block of size 24 free'd <br />==49441==    at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Block was alloc'd at <br />==49441==    at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x9C8AEF9: __shared_count<osgeo::proj::datum::PrimeMeridian*> (shared_ptr_base.h:625) <br />==49441==    by 0x9C8AEF9: __shared_count<osgeo::proj::datum::PrimeMeridian*> (shared_ptr_base.h:636) <br />==49441==    by 0x9C8AEF9: __shared_ptr<osgeo::proj::datum::PrimeMeridian> (shared_ptr_base.h:1125) <br />==49441==    by 0x9C8AEF9: shared_ptr<osgeo::proj::datum::PrimeMeridian> (shared_ptr.h:139) <br />==49441==    by 0x9C8AEF9: nn_make_shared<osgeo::proj::datum::PrimeMeridian, const osgeo::proj::common::Angle&> (datum.hpp:237) <br />==49441==    by 0x9C8AEF9: osgeo::proj::datum::PrimeMeridian::create(osgeo::proj::util::PropertyMap const&, osgeo::proj::common::Angle const&) (datum.cpp:316) <br />==49441==    by 0x9C8B132: osgeo::proj::datum::PrimeMeridian::createPARIS() (datum.cpp:339) <br />==49441==    by 0x9C3EA98: __static_initialization_and_destruction_0(int, int) [clone .constprop.0] (static.cpp:592) <br />==49441==    by 0x4011B89: call_init.part.0 (dl-init.c:72) <br />==49441==    by 0x4011C90: call_init (dl-init.c:30) <br />==49441==    by 0x4011C90: _dl_init (dl-init.c:119) <br />==49441==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so) <br />==49441==  <br />==49441== Invalid read of size 8 <br />==49441==    at 0x15023BE5: osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x150193E6: ??? (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Address 0x16354590 is 80 bytes inside a block of size 112 free'd <br />==49441==    at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x9C4A69C: operator() (unique_ptr.h:81) <br />==49441==    by 0x9C4A69C: ~unique_ptr (unique_ptr.h:292) <br />==49441==    by 0x9C4A69C: osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (common.hpp:60) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Block was alloc'd at <br />==49441==    at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x9C4E144: make_unique<osgeo::proj::common::UnitOfMeasure::Private, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, double&, osgeo::proj::common::UnitOfMeasure::Type&, const std::__cxx11::basic_string<char, std::cha<br />r_traits<char>, std::allocator<char> >&, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&> (internal.hpp:100) <br />==49441==    by 0x9C4E144: 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>,<br />std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (common.cpp:95) <br />==49441==    by 0x9C3D8E1: __static_initialization_and_destruction_0(int, int) [clone .constprop.0] (static.cpp:381) <br />==49441==    by 0x4011B89: call_init.part.0 (dl-init.c:72) <br />==49441==    by 0x4011C90: call_init (dl-init.c:30) <br />==49441==    by 0x4011C90: _dl_init (dl-init.c:119) <br />==49441==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so) <br />==49441==  <br />==49441== Invalid read of size 8 <br />==49441==    at 0x15023BF9: osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x150193E6: ??? (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Address 0x16354570 is 48 bytes inside a block of size 112 free'd <br />==49441==    at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x9C4A69C: operator() (unique_ptr.h:81) <br />==49441==    by 0x9C4A69C: ~unique_ptr (unique_ptr.h:292) <br />==49441==    by 0x9C4A69C: osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (common.hpp:60) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Block was alloc'd at <br />==49441==    at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x9C4E144: make_unique<osgeo::proj::common::UnitOfMeasure::Private, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, double&, osgeo::proj::common::UnitOfMeasure::Type&, const std::__cxx11::basic_string<char, std::cha<br />r_traits<char>, std::allocator<char> >&, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&> (internal.hpp:100) <br />==49441==    by 0x9C4E144: 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>,<br />std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (common.cpp:95) <br />==49441==    by 0x9C3D8E1: __static_initialization_and_destruction_0(int, int) [clone .constprop.0] (static.cpp:381) <br />==49441==    by 0x4011B89: call_init.part.0 (dl-init.c:72) <br />==49441==    by 0x4011C90: call_init (dl-init.c:30) <br />==49441==    by 0x4011C90: _dl_init (dl-init.c:119) <br />==49441==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so) <br />==49441==  <br />==49441== Invalid read of size 8 <br />==49441==    at 0x15023C0D: osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x150193E6: ??? (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Address 0x16354540 is 0 bytes inside a block of size 112 free'd <br />==49441==    at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x9C4A69C: operator() (unique_ptr.h:81) <br />==49441==    by 0x9C4A69C: ~unique_ptr (unique_ptr.h:292) <br />==49441==    by 0x9C4A69C: osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (common.hpp:60) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Block was alloc'd at <br />==49441==    at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x9C4E144: make_unique<osgeo::proj::common::UnitOfMeasure::Private, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, double&, osgeo::proj::common::UnitOfMeasure::Type&, const std::__cxx11::basic_string<char, std::cha<br />r_traits<char>, std::allocator<char> >&, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&> (internal.hpp:100) <br />==49441==    by 0x9C4E144: 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>,<br />std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (common.cpp:95) <br />==49441==    by 0x9C3D8E1: __static_initialization_and_destruction_0(int, int) [clone .constprop.0] (static.cpp:381) <br />==49441==    by 0x4011B89: call_init.part.0 (dl-init.c:72) <br />==49441==    by 0x4011C90: call_init (dl-init.c:30) <br />==49441==    by 0x4011C90: _dl_init (dl-init.c:119) <br />==49441==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so) <br />==49441==  <br />==49441== Invalid free() / delete / delete[] / realloc() <br />==49441==    at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x15023C1F: osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x150193E6: ??? (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Address 0x163545f0 is 0 bytes inside a block of size 27 free'd <br />==49441==    at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x9C4A68F: deallocate (new_allocator.h:128) <br />==49441==    by 0x9C4A68F: deallocate (alloc_traits.h:470) <br />==49441==    by 0x9C4A68F: _M_destroy (basic_string.h:237) <br />==49441==    by 0x9C4A68F: _M_dispose (basic_string.h:232) <br />==49441==    by 0x9C4A68F: ~basic_string (basic_string.h:658) <br />==49441==    by 0x9C4A68F: ~Private (common.cpp:72) <br />==49441==    by 0x9C4A68F: operator() (unique_ptr.h:81) <br />==49441==    by 0x9C4A68F: ~unique_ptr (unique_ptr.h:292) <br />==49441==    by 0x9C4A68F: osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (common.hpp:60) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Block was alloc'd at <br />==49441==    at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x586DDCA: void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) (in /home/bjsvwneu/dev/QGIS/build/output/lib/libqgis_core.so.3.21.0) <br />==49441==    by 0x9C4E163: _M_construct_aux<char*> (basic_string.h:247) <br />==49441==    by 0x9C4E163: _M_construct<char*> (basic_string.h:266) <br />==49441==    by 0x9C4E163: basic_string (basic_string.h:451) <br />==49441==    by 0x9C4E163: Private (common.cpp:83) <br />==49441==    by 0x9C4E163: make_unique<osgeo::proj::common::UnitOfMeasure::Private, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, double&, osgeo::proj::common::UnitOfMeasure::Type&, const std::__cxx11::basic_string<char, std::cha<br />r_traits<char>, std::allocator<char> >&, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&> (internal.hpp:100) <br />==49441==    by 0x9C4E163: 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>,<br />std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (common.cpp:95) <br />==49441==    by 0x9C3D8E1: __static_initialization_and_destruction_0(int, int) [clone .constprop.0] (static.cpp:381) <br />==49441==    by 0x4011B89: call_init.part.0 (dl-init.c:72) <br />==49441==    by 0x4011C90: call_init (dl-init.c:30) <br />==49441==    by 0x4011C90: _dl_init (dl-init.c:119) <br />==49441==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so) <br />==49441==  <br />==49441== Invalid free() / delete / delete[] / realloc() <br />==49441==    at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x15023C2C: osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x150193E6: ??? (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Address 0x16354540 is 0 bytes inside a block of size 112 free'd <br />==49441==    at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x9C4A69C: operator() (unique_ptr.h:81) <br />==49441==    by 0x9C4A69C: ~unique_ptr (unique_ptr.h:292) <br />==49441==    by 0x9C4A69C: osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (common.hpp:60) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Block was alloc'd at <br />==49441==    at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x9C4E144: make_unique<osgeo::proj::common::UnitOfMeasure::Private, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, double&, osgeo::proj::common::UnitOfMeasure::Type&, const std::__cxx11::basic_string<char, std::cha<br />r_traits<char>, std::allocator<char> >&, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&> (internal.hpp:100) <br />==49441==    by 0x9C4E144: 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>,<br />std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (common.cpp:95) <br />==49441==    by 0x9C3D8E1: __static_initialization_and_destruction_0(int, int) [clone .constprop.0] (static.cpp:381) <br />==49441==    by 0x4011B89: call_init.part.0 (dl-init.c:72) <br />==49441==    by 0x4011C90: call_init (dl-init.c:30) <br />==49441==    by 0x4011C90: _dl_init (dl-init.c:119) <br />==49441==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so) <br />==49441==  <br />==49441== Invalid read of size 8 <br />==49441==    at 0x15019EEC: osgeo::proj::util::BaseObject::~BaseObject() (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x150193E6: ??? (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Address 0x163544f8 is 8 bytes inside a block of size 16 free'd <br />==49441==    at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Block was alloc'd at <br />==49441==    at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x9C40A4F: make_unique<osgeo::proj::util::BaseObject::Private> (internal.hpp:100) <br />==49441==    by 0x9C40A4F: osgeo::proj::util::BaseObject::BaseObject() (util.cpp:70) <br />==49441==    by 0x9C4E12B: 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>,<br />std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (common.cpp:95) <br />==49441==    by 0x9C3D8E1: __static_initialization_and_destruction_0(int, int) [clone .constprop.0] (static.cpp:381) <br />==49441==    by 0x4011B89: call_init.part.0 (dl-init.c:72) <br />==49441==    by 0x4011C90: call_init (dl-init.c:30) <br />==49441==    by 0x4011C90: _dl_init (dl-init.c:119) <br />==49441==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so) <br />==49441==  <br />==49441== Invalid free() / delete / delete[] / realloc() <br />==49441==    at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x150193E6: ??? (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Address 0x163544f0 is 0 bytes inside a block of size 16 free'd <br />==49441==    at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Block was alloc'd at <br />==49441==    at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x9C40A4F: make_unique<osgeo::proj::util::BaseObject::Private> (internal.hpp:100) <br />==49441==    by 0x9C40A4F: osgeo::proj::util::BaseObject::BaseObject() (util.cpp:70) <br />==49441==    by 0x9C4E12B: 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>,<br />std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (common.cpp:95) <br />==49441==    by 0x9C3D8E1: __static_initialization_and_destruction_0(int, int) [clone .constprop.0] (static.cpp:381) <br />==49441==    by 0x4011B89: call_init.part.0 (dl-init.c:72) <br />==49441==    by 0x4011C90: call_init (dl-init.c:30) <br />==49441==    by 0x4011C90: _dl_init (dl-init.c:119) <br />==49441==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so) <br />==49441==  <br />==49441== Invalid read of size 4 <br />==49441==    at 0x15019804: ??? (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x150193E6: ??? (in /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Address 0x1634fdd8 is 8 bytes inside a block of size 24 free'd <br />==49441==    at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x955015D: __cxa_finalize (cxa_finalize.c:83) <br />==49441==    by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0) <br />==49441==    by 0x4011F5A: _dl_fini (dl-fini.c:138) <br />==49441==    by 0x954FA26: __run_exit_handlers (exit.c:108) <br />==49441==    by 0x954FBDF: exit (exit.c:139) <br />==49441==    by 0x952D0B9: (below main) (libc-start.c:342) <br />==49441==  Block was alloc'd at <br />==49441==    at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) <br />==49441==    by 0x9C473C1: __shared_count<osgeo::proj::metadata::Extent*> (shared_ptr_base.h:625) <br />==49441==    by 0x9C473C1: __shared_count<osgeo::proj::metadata::Extent*> (shared_ptr_base.h:636) <br />==49441==    by 0x9C473C1: __shared_ptr<osgeo::proj::metadata::Extent> (shared_ptr_base.h:1125) <br />==49441==    by 0x9C473C1: shared_ptr<osgeo::proj::metadata::Extent> (shared_ptr.h:139) <br />==49441==    by 0x9C473C1: nn_make_shared<osgeo::proj::metadata::Extent> (metadata.hpp:347) <br />==49441==    by 0x9C473C1: 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><br />>, 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::metadat<br />a::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&) (metadata.cpp:703) <br />==49441==    by 0x9C475F4: 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&) (metadata.cpp:735) <br />==49441==    by 0x9C3BE29: __static_initialization_and_destruction_0(int, int) [clone .constprop.0] (static.cpp:179) <br />==49441==    by 0x4011B89: call_init.part.0 (dl-init.c:72) <br />==49441==    by 0x4011C90: call_init (dl-init.c:30) <br />==49441==    by 0x4011C90: _dl_init (dl-init.c:119) <br />==49441==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so) <br />==49441==  <br />==49441==  <br />==49441== HEAP SUMMARY: <br />==49441==     in use at exit: 165,141 bytes in 2,467 blocks <br />==49441==   total heap usage: 910,752 allocs, 908,320 frees, 75,332,685 bytes allocated <br />==49441==  <br />==49441== LEAK SUMMARY: <br />==49441==    definitely lost: 2,583 bytes in 41 blocks <br />==49441==    indirectly lost: 39,830 bytes in 735 blocks <br />==49441==      possibly lost: 1,352 bytes in 18 blocks <br />==49441==    still reachable: 121,376 bytes in 1,673 blocks <br />==49441==                       of which reachable via heuristic: <br />==49441==                         newarray           : 1,536 bytes in 16 blocks <br />==49441==         suppressed: 0 bytes in 0 blocks <br />==49441== Rerun with --leak-check=full to see details of leaked memory <br />==49441==  <br />==49441== For lists of detected and suppressed errors, rerun with: -s <br />==49441== ERROR SUMMARY: 142 errors from 14 contexts (suppressed: 0 from 0)<br /><br /></span></p>
<p><span style="font-family: monospace;">Thanks a lot,</span></p>
<p><span style="font-family: monospace;">Andreas</span></p>
<p id="v1reply-intro">On 2021-09-03 15:42, Even Rouault wrote:</p>
<blockquote style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0;">
<div id="v1replybody1">
<div>
<p>Andreas</p>
<p>Several things to check:</p>
<p>- Is your GDAL build a clean one ? That is is it from a fresh build directory, or are you rebuilding in a directory where a previous build was done. If the later, make sure to "make clean" before rebuilding</p>
<p>- Is your GDAL build using your custom GEOS one ? Otherwise QGIS might link directly to the custom one and indirectly to the system one through GDAL. Check the output of "ldd output/bin/qgis | grep geos"</p>
<p>- try "valgrind output/bin/crssync". Emitted stack traces can give interesting hints</p>
<p>Even</p>
<div class="v1v1moz-cite-prefix">Le 03/09/2021 à 15:30, Andreas Neumann a écrit :</div>
<blockquote style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0;">
<p>Hi,</p>
<p>I have troubles compiling QGIS on my Linux Ubuntu 20.04 machine.</p>
<p>I use a self-compiled GEOS and GDAL.</p>
<p>The build always hangs at "crssync" - here is the ninja build output I get. Do you have any idea what might be wrong or what I could do in order to fix this problem?</p>
<p>Thank you for your hints,</p>
<p>Andreas</p>
<p>------------------------</p>
<p><span style="font-family: monospace;"><span style="color: #000000; background-color: #ffffff;">[0/1] Re-running CMake... </span><br />-- QGIS version: 3.21.0 Master (32100) <br />-- Found OpenCL C++ headers: /usr/include <br />-- ccache found <br />-- Found Proj: /usr/local/lib/libproj.so version 8 (8.1.0) <br />-- Found GEOS: /usr/local/lib/libgeos_c.so (3.9.1) <br />-- Found GDAL: /usr/local/lib/libgdal.so (3.3.1) <br />-- Found Expat: /usr/lib/x86_64-linux-gnu/libexpat.so <br />-- Found Spatialindex: /usr/lib/x86_64-linux-gnu/libspatialindex.so <br />-- Found Qwt: /usr/lib/libqwt-qt5.so (6.1.4) <br />-- Found libzip: /usr/lib/x86_64-linux-gnu/libzip.so <br />-- Found Sqlite3: /usr/lib/x86_64-linux-gnu/libsqlite3.so <br />-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-pthread <br />-- Found zlib: /usr/lib/x86_64-linux-gnu/libz.so <br />-- Found exiv2: /usr/lib/x86_64-linux-gnu/libexiv2.so <br />-- Found PostgreSQL: /usr/local/pgsql/lib/libpq.so <br />-- Found SpatiaLite: /usr/local/lib/libspatialite.so <br />-- Qt WebKit support enabled <br />-- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so <br />-- Found laz-perf: /usr/local/include <br />-- Found PDAL: /usr/local/lib/libpdalcpp.so;/usr/local/lib/libpdal_util.so (2.0.1) <br />-- Found Qt version: 5.12.8 <br />-- Found QScintilla2: /usr/lib/libqscintilla2_qt5.so (2.11.2) <br />-- Found QtKeychain: /usr/lib/x86_64-linux-gnu/libqt5keychain.so <br />-- Found QCA: /usr/lib/x86_64-linux-gnu/libqca-qt5.so (2.2.1) <br />-- Found QCA OpenSSL plugin <br />-- Pedantic compiler settings enabled <br />-- Found GSL: -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm <br />-- Found Python executable: /usr/bin/python3.8 (version 3.8.10) <br />-- Python library: /usr/lib/x86_64-linux-gnu/libpython3.8.so <br />-- Python site-packages: /usr/lib/python3/dist-packages <br />-- Found PyQt5 version: 5.14.1 <br />-- Found SIP version: 4.19.21 <br />-- Found QScintilla2 PyQt module: 2.11.2 <br />-- Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS) (found version "") <br />-- Could NOT find NetCDF (missing: NETCDF_LIBRARY NETCDF_INCLUDE_DIR)  <br />-- Using PROJ >= 6 srs database. <br />-- Ctest Binary Directory set to: /home/bjsvwneu/dev/QGIS/build/output/bin <br />-- Configuring done <br />-- Generating done <br />-- Build files have been written to: /home/bjsvwneu/dev/QGIS/build <br />[1/6072] Generating qgsversion.h, qgsversion.inc <br />Files "/home/bjsvwneu/dev/QGIS/build/qgsversion.h.temp" to "/home/bjsvwneu/dev/QGIS/build/qgsversion.h" are different. <br />[3/6072] Generating qgsexpression_texts.cpp <br />Files "/home/bjsvwneu/dev/QGIS/build/src/core/qgsexpression_texts.cpp.temp" to "/home/bjsvwneu/dev/QGIS/build/src/core/qgsexpression_texts.cpp" are different. <br />[2905/6072] Generating gui/sip_guipart0.cpp, gui/sip_guipart1.cpp, gui/sip_guipart2.cpp, gui/sip_guipart3.cpp, gui/sip_guipart4.cpp, g...i/sip_guipart10.cpp, gui/sip_guipart11.cpp, gui/sip_guipart12.cpp, gui/sip_guipart13.cpp, gui/sip_guipart14.cpp, gui/sip_guipart15.cpp <br /><br />[4061/6072] Building CXX object src/providers/mdal/CMakeFiles/provider_mdal.dir/__/__/__/external/mdal/mdal_utils.cpp.o <br />../external/mdal/mdal_utils.cpp: In function 'int MDAL::toInt(size_t)': <br />../external/mdal/mdal_utils.cpp:143:14: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] <br /> 143 |   if ( value > std::numeric_limits<int>::max() ) <br />     |        ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <br />[4172/6072] Running crssync <br /><span style="color: #b21818; background-color: #ffffff;">FAILED: </span><span style="color: #000000; background-color: #ffffff;">src/crssync/CMakeFiles/synccrsdb  </span><br />cd /home/bjsvwneu/dev/QGIS/build/src/crssync && /home/bjsvwneu/dev/QGIS/build/output/bin/crssync <br />free(): invalid pointer <br />Aborted (core dumped) <br />[4173/6072] Building CXX object src/plugins/topology/CMakeFiles/topolplugin.dir/topolplugin_autogen/mocs_compilation.cpp.o <br />ninja: build stopped: subcommand failed.<br /></span><span style="font-family: monospace;"></span></p>
<br /><fieldset class="v1v1mimeAttachmentHeader"></fieldset>
<pre class="v1v1moz-quote-pre">_______________________________________________
QGIS-Developer mailing list
<a class="v1v1moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org" rel="noreferrer">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="v1v1moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="v1v1moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
</blockquote>
<pre class="v1v1moz-signature">-- 
<a class="v1v1moz-txt-link-freetext" href="http://www.spatialys.com" target="_blank" rel="noopener noreferrer">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</div>
</div>
</blockquote>
<p><br /></p>
</blockquote>
<pre class="v1moz-signature">-- 
<a class="v1moz-txt-link-freetext" href="http://www.spatialys.com" target="_blank" rel="noopener noreferrer">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</div>
</div>
</blockquote>
<p><br /></p>

</body></html>