Thread: error on my apache log

error on my apache log

From
Guy Deleeuw
Date:
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