From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Admin Gaston" <admin(at)intergamesclub(dot)com> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: libpq incompatibility |
Date: | 2003-07-24 13:46:03 |
Message-ID: | 17763.1059054363@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
"Admin Gaston" <admin(at)intergamesclub(dot)com> writes:
> When the program is running for a while, it finish with segmentation fault =
> (core dumped).
> #0 0x420742e2 in _int_malloc () from /lib/tls/libc.so.6
> #1 0x4207360b in malloc () from /lib/tls/libc.so.6
> #2 0x400278b3 in PQmakeEmptyPGresult () from /usr/lib/libpq.so.3
This looks like something has tromped on malloc's private data
structures --- that is, it wrote outside the boundaries of a malloc'd
data object. Check your code for buffer overruns. Also check for
something that didn't get recompiled after a change in a struct
declaration it depended on.
I doubt that it's libpq's problem per se.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Calvin | 2003-07-24 20:10:27 | When "psql -l" is invoked from prompt and not completed, no other user can create a database.. |
Previous Message | Thomas Behr | 2003-07-24 11:38:38 | Re: Small problem in contrib/dbase/dbf2pg.c |