BUG #1897: dmalloc memory error on PQconnectdb - Mailing list pgsql-bugs

From Wade Hampton
Subject BUG #1897: dmalloc memory error on PQconnectdb
Date
Msg-id 20050919181855.E3CFCF0B77@svr2.postgresql.org
Whole thread Raw
Responses Re: BUG #1897: dmalloc memory error on PQconnectdb  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      1897
Logged by:          Wade Hampton
Email address:      wade.hampton@nsc1.net
PostgreSQL version: 8.0.3-1
Operating system:   Fedora Core 4
Description:        dmalloc memory error on PQconnectdb
Details:

I have a multithreaded application using Postgresql and am testing for
memory leaks.  I compiled and linked with dmallocth.  My PGconnect() is now
causing a dmalloc abort.  The error appears to be a calloc of 0 elements of
40 bytes in libkrb5, called from libpq.

The connection is to:  hostaddr = 127.0.0.1 dbname = mydb

The same code with dmalloc works fine with Fedora Core 2.0, Postgresql
7.4.7-3.

There was a report of a similar problem in earlier versions:

http://www.mail-archive.com/pgsql-bugs@postgresql.org/msg08081.html

pgsql-bugs by date:

Previous
From: "Herley Gomez"
Date:
Subject: BUG #1898: Problema En Tipo de dato Real.
Next
From: "Alexander Kirpa"
Date:
Subject: BUG #1900: pgdumpall: false function description for type 'opaque'