Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id CCFFC2E0037 for ; Fri, 23 May 2008 13:15:22 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 67270-05 for ; Fri, 23 May 2008 13:14:49 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from BRUBLUmx13.mactelecom.net (BRUBLUmx13.mactelecom.net [217.64.240.20]) by developer.postgresql.org (Postfix) with ESMTP id 433FD2E002D for ; Fri, 23 May 2008 13:14:50 -0300 (ADT) Received: by BRUBLUmx13.mactelecom.net (Postfix, from userid 505) id 20A7F21ABDF; Fri, 23 May 2008 17:52:27 +0200 (CEST) Received: from smtp.eurofer.be (217.64.254.218.mactelecom.net [217.64.254.218]) by BRUBLUmx13.mactelecom.net (Postfix) with ESMTP id 2B65FC353F for ; Fri, 23 May 2008 17:41:21 +0200 (CEST) Received: from [192.168.5.30] by smtp.eurofer.be with esmtp (Exim 4.63) (envelope-from ) id 1JzZOG-0007g4-Or for pgsql-admin@postgresql.org; Fri, 23 May 2008 17:41:21 +0200 Message-ID: <4836E591.1040001@eurofer.be> Date: Fri, 23 May 2008 17:41:05 +0200 From: Guy Deleeuw User-Agent: Thunderbird 2.0.0.14 (X11/20080502) MIME-Version: 1.0 To: pgsql-admin@postgresql.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam_score: -3.9 X-SA-Exim-Connect-IP: 192.168.5.30 X-SA-Exim-Mail-From: G.De_Leeuw@eurofer.be Subject: error on my apache log X-SA-Exim-Scanned: Yes (on smtp.eurofer.be) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200805/210 X-Sequence-Number: 29294 Hello I have a small application with apache and fastcgi I use valgrind to debug my app. see the apache log below (the app run fine, but it's very strange) This is the call of : pConn = PQconnectdb(connInfo); ==20793== Thread 3: ==20793== Invalid read of size 8 ==20793== at 0x4015B24: (within /lib/ld-2.6.1.so) ==20793== by 0x400A8F7: (within /lib/ld-2.6.1.so) ==20793== by 0x4006174: (within /lib/ld-2.6.1.so) ==20793== by 0x40085F7: (within /lib/ld-2.6.1.so) ==20793== by 0x4011C98: (within /lib/ld-2.6.1.so) ==20793== by 0x400DA05: (within /lib/ld-2.6.1.so) ==20793== by 0x401155A: (within /lib/ld-2.6.1.so) ==20793== by 0x65C64FF: (within /lib/libc-2.6.1.so) ==20793== by 0x400DA05: (within /lib/ld-2.6.1.so) ==20793== by 0x65C6666: __libc_dlopen_mode (in /lib/libc-2.6.1.so) ==20793== by 0x65A0F1C: __nss_lookup_function (in /lib/libc-2.6.1.so) ==20793== by 0x6579232: (within /lib/libc-2.6.1.so) ==20793== Address 0xD36F7A8 is 16 bytes inside a block of size 23 alloc'd ==20793== at 0x4C21C16: malloc (vg_replace_malloc.c:149) ==20793== by 0x4008AF5: (within /lib/ld-2.6.1.so) ==20793== by 0x4011C98: (within /lib/ld-2.6.1.so) ==20793== by 0x400DA05: (within /lib/ld-2.6.1.so) ==20793== by 0x401155A: (within /lib/ld-2.6.1.so) ==20793== by 0x65C64FF: (within /lib/libc-2.6.1.so) ==20793== by 0x400DA05: (within /lib/ld-2.6.1.so) ==20793== by 0x65C6666: __libc_dlopen_mode (in /lib/libc-2.6.1.so) ==20793== by 0x65A0F1C: __nss_lookup_function (in /lib/libc-2.6.1.so) ==20793== by 0x6579232: (within /lib/libc-2.6.1.so) ==20793== by 0x657A5CD: getaddrinfo (in /lib/libc-2.6.1.so) ==20793== by 0x5B18547: (within /usr/lib/libpq.so.5.1) Regards Guy