Craig James <craig_james@emolecules.com> writes:
> This is driving me crazy. I have some Postgres C function extensions in a shared library. They've been working
fine. I upgraded to Fedora Core 6 and gcc4, and now every time psql(1) disconnects from the server, the serverlog gets
thismessage:
> *** glibc detected *** postgres: mydb mydb [local] idle: double free or corruption! (!prev): 0x08bfcde8
Have you tried attaching to one of these processes with gdb to see where
it ends up? Have you checked to see if the processes are becoming
multi-threaded?
regards, tom lane