Skip site navigation (1) Skip section navigation (2)

error on my apache log

From: Guy Deleeuw <G(dot)De_Leeuw(at)eurofer(dot)be>
To: pgsql-admin(at)postgresql(dot)org
Subject: error on my apache log
Date: 2008-05-23 15:41:05
Message-ID: 4836E591.1040001@eurofer.be (view raw or flat)
Thread:
Lists: pgsql-admin
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

pgsql-admin by date

Next:From: Chander GanesanDate: 2008-05-23 16:18:23
Subject: Re: index performance
Previous:From: Jessica RichardDate: 2008-05-23 13:20:19
Subject: index performance

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group