From: Matthias Apitz <guru@unixarea.de>
To: pgsql-general@lists.postgresql.org
Subject: lib/libecpg.so.6.11 && valgrind
Date: Fri, 29 May 2020 14:37:29 +0200
Message-ID: <20200529123729.GA22253@sh4-5.1blu.de> (raw)
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!
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: guru@unixarea.de
Subject: Re: lib/libecpg.so.6.11 && valgrind
In-Reply-To: <20200529123729.GA22253@sh4-5.1blu.de>
References: <20200529123729.GA22253@sh4-5.1blu.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox