Package: libpq3
Version: 7.4.7-6
Severity: important
When calling PQclear on an allocated structure, the program exits due to
segmentation fault. Below is a snippit of, particularly, libdbi, which
is the 'last point of exit':
(snip drivers/pgsql/dbd_pgsql.c:194)
int dbd_free_query(dbi_result_t *result) {
PQclear((PGresult *)result->result_handle);
return 0;
}
(/snip)
The output from GDB is as follows:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912507865552 (LWP 16091)]
0x00002aaaaaf6531b in mallopt () from /lib/libc.so.6
(gdb) bt
#0 0x00002aaaaaf6531b in mallopt () from /lib/libc.so.6
#1 0x00002aaaaaf641a2 in free () from /lib/libc.so.6
#2 0x00002aaaab6f9d21 in PQclear () from /usr/lib/libpq.so.3
#3 0x00002aaaab5e51de in dbd_free_query (result=0x5234a0) at dbd_pgsql.c:195
#4 0x00002aaaaabc7997 in _disjoin_from_conn (result=0x5234a0) at
dbi_result.c:340
#5 0x00002aaaaabc7afc in dbi_result_free (Result=0x5234a0) at dbi_result.c:376
According to GDB, all seems nominal, and the program in particular,
libdbi, libdbd-pgsql, and libpq3 all operate as expected without any
errors on a similar 32-bit platform running roughly the same versions of
software.
When I attempt to build postgresql using dpkg-buildpackage, it fails,
which I shall file a separate report for.
-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.11-callisto-amd64-k8-2
Locale: LANG=en_CA, LC_CTYPE=en_CA (charmap=UTF-8)
Versions of packages libpq3 depends on:
ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an
ii libkrb53 1.3.6-3 MIT Kerberos runtime libraries
ii libssl0.9.7 0.9.7e-3 SSL shared libraries
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]