Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jeeGe-0000GO-FE for pgsql-general@arkaria.postgresql.org; Fri, 29 May 2020 12:37:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jeeGb-0005qm-LM for pgsql-general@arkaria.postgresql.org; Fri, 29 May 2020 12:37:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jeeGb-0005pi-DG for pgsql-general@lists.postgresql.org; Fri, 29 May 2020 12:37:41 +0000 Received: from smh-06.1blu.de ([178.254.0.206]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jeeGS-0005zw-OD for pgsql-general@lists.postgresql.org; Fri, 29 May 2020 12:37:39 +0000 Received: from [172.16.29.5] (helo=sh4-5.1blu.de) by smh-06.1blu.de with esmtp (Exim 4.86_2) (envelope-from ) id 1jeeL4-0006up-1I; Fri, 29 May 2020 14:42:18 +0200 Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.90_1) (envelope-from ) id 1jeeGP-0006iT-6J; Fri, 29 May 2020 14:37:29 +0200 Date: Fri, 29 May 2020 14:37:29 +0200 From: Matthias Apitz To: pgsql-general@lists.postgresql.org Subject: lib/libecpg.so.6.11 && valgrind Message-ID: <20200529123729.GA22253@sh4-5.1blu.de> Reply-To: Matthias Apitz MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello, We're getting to the finish line in the port of our servers to PostgreSQL 11.4. and started valgrind'ing the code, as the PostgreSQL is new in the servers. Of course we have our own homework to do, but there are also complaints of valgrind pointing to the lib/libecpg.so.6.11, for example: ==9773== 9 bytes in 1 blocks are still reachable in loss record 3 of 52 ==9773== at 0x4C2E2E3: malloc (vg_replace_malloc.c:299) ==9773== by 0x1439F749: strdup (in /lib64/libc-2.26.so) ==9773== by 0x146DF448: ecpg_strdup (in /usr/local/sisis-pap/pgsql/lib/libecpg.so.6.11) ==9773== by 0x146E048E: ECPGconnect (in /usr/local/sisis-pap/pgsql/lib/libecpg.so.6.11) ==9773== by 0xB03E846: DB_opdbP (dbcall.pgc:794) ==9773== by 0xB03DFDB: DB_opdb (dbcall.pgc:556) ==9773== by 0x5CC22F2: EC_General::OpenDatabase(_SQL_EXCL) (eC_general.C:121) ==9773== by 0x40AEB8: SlnpInitDaemon (ACQDaemon.C:644) ==9773== by 0x40A878: main (ACQDaemon.C:213) How the PostgreSQL community likes us to deal with this? matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!